Fetch Product Reviews
GET/products/reviews
API to fetch the Product Reviews
Request
Version stringrequired
API Version
Available options
v3altId stringrequired
Location Id or Agency Id
altType stringrequired
Available options
locationlimit number
The maximum number of items to be included in a single page of results
Default value:
0offset number
The starting index of the page, indicating the position from which the results should be retrieved.
Default value:
0sortField string
The field upon which the sort should be applied
Available options
createdAtratingsortOrder string
The order of sort which should be applied for the sortField
Available options
ascdescrating number
Key to filter the ratings
startDate string
The start date for filtering reviews
endDate string
The end date for filtering reviews
productId string
Comma-separated list of product IDs
storeId string
Comma-separated list of store IDs
Successful response
- application/json
- Schema
- Example (auto)
Schema
dataarray[]required
Array of Collections
totalnumberrequired
The total count of the collections present, which is useful to calculate the pagination
{
"data": [
null
],
"total": 0
}