Retrieve bottom line (total reviews and average score) for a specific product

GET | https://api-cdn.yotpo.com/products/{app_key}/{product_id}/bottomline

Example requests

curl --request GET \
     --url https://api-cdn.yotpo.com/products/{app_key}/{product_id}/bottomline\
     --header 'Content-Type: application/json' \
     --header 'accept: application/json'

Path params

ParamTypeDescription
app_key (required)StringThe store ID
product_id (required)StringThe ID of the product on your site

👍

How to use this endpoint

  • Requests for this endpoint are limited to 5,000 requests/minute, per app key.
  • Data is retrieved with a delay of 1 hour.
  • For example responses, click the relevant status code on the right.

Example responses

{
  "status": {
    "code": 200,
    "message": "OK"
  },
  "response": {
    "bottomline": {
      "average_score": 4.52,
      "total_reviews": 23
    }
  }
}
{}