Store Reviews

Get Store Rating Summary

Get aggregated rating statistics for a store.

get/v1/stores/{store_id}/ratings

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/v1/stores/{store_id}/ratings
  • Auth: none declared

Path parameters

store_idinteger required

Response

Successful Response

store_idinteger required
total_reviewsinteger required
average_ratingnumber nullable
rating_distributionobject

Distribution of ratings: {1: count, 2: count, ..., 5: count}

Changes

No recorded changes to this operation across all 2 revisions of this API.