fix errors and remove outdated docs
fix api endpoint
return empty hash for product and parse pody in case of query parameter are empty