curl --request GET \
--url https://services.leadconnectorhq.com/products/reviews \
--header 'Authorization: Bearer <token>' \
--header 'Version: <version>'{
"data": [
"<array>"
],
"total": 123
}API to fetch the Product Reviews
curl --request GET \
--url https://services.leadconnectorhq.com/products/reviews \
--header 'Authorization: Bearer <token>' \
--header 'Version: <version>'{
"data": [
"<array>"
],
"total": 123
}Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
API Version
2021-07-28 Location Id or Agency Id
"6578278e879ad2646715ba9c"
location The maximum number of items to be included in a single page of results
20
The starting index of the page, indicating the position from which the results should be retrieved.
0
The field upon which the sort should be applied
createdAt, rating "rating"
The order of sort which should be applied for the sortField
asc, desc "desc"
Key to filter the ratings
4
The start date for filtering reviews
"2023-01-01T00:00:00Z"
The end date for filtering reviews
"2023-12-31T23:59:59Z"
Comma-separated list of product IDs
"60d21b4667d0d8992e610c88,60d21b4667d0d8992e610c89,60d21b4667d0d8992e610c8a"
Comma-separated list of store IDs
"60d21b4667d0d8992e610c85,60d21b4667d0d8992e610c86,60d21b4667d0d8992e610c87"
Was this page helpful?