Product
List product reviews
Changed onReturns product reviews. Defaults to approved reviews only; pass status to override. Supports filtering by product_id, status, and rating, with page + per_page (alias limit, max 50) pagination. Mirrors the GraphQL productReviews query.
get/reviews
Request
- Base URLhttp://localhost:8000/api/shop
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
product_idinteger
Example:1
Filter by product ID
ratinginteger
Example:5
Filter by star rating (1-5)
pageinteger
Example:1
Page number (1-based)
per_pageinteger
Example:10
Items per page (alias: limit). Default 30, max 50.
Headers
X-STOREFRONT-KEYstring required
Storefront API Key for authentication. Required for all shop/storefront API requests.
X-Localestring
Example:en
Locale code for localized data (e.g. "en", "fr", "ar"). Defaults to channel's default locale.
X-Channelstring
Example:default
Channel code (e.g. "default"). Defaults to the current channel.
X-Currencystring
Example:USD
Currency code (e.g. "USD", "EUR", "INR"). Defaults to channel's base currency.
Response
List of product reviews.
Changes
- warning
deleted the
queryrequest parameterstatus
- warning