palbaseDocs

Palbase Commerce & Promotions · API

GET/commerce/catalog/products/{product_id_or_handle}/reviews

List published product reviews with rating summary and media

List published reviews for a product with star histogram, purchased-from store attribution, signed photo/video media URLs, and filters.

Called by your app, with the publishable key; or a signed-in user of your app, with their token and the publishable key; or your server, with the project's secret key.

Path

product_id_or_handlestring · requiredPath parameter product_id_or_handle.

Query

ratinginteger · optionalFilter by exact star rating (1..5).
store_idstring · optionalFilter reviews by purchased-from store UUID or slug.
with_mediaboolean · optionalReturn only reviews with photo or video attachments.
media_kindstring · optionalFilter by media attachment type (image or video).
verified_onlyboolean · optionalReturn only verified purchase reviews.
sortstring · optionalSort order: newest, highest, lowest, or most_helpful.
limitinteger · optionalPage size (default 50, max 200).
cursorstring · optionalPagination cursor from previous response.
curl
curl -X GET "https://<your-ref>.palbase.studio/commerce/catalog/products/<product_id_or_handle>/reviews" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200Product review summary and list

defaultStandard Palbase JSON error envelope (`error` and `error_description`).

Operation StorefrontListProductReviews of commerce's contract.