v1
latestOpenAPI 3.0.12026-07-243266138.0 KBGet the total number of reviews based on a filter.
This endpoint retrieves count of reviews for a specific channel The result set can be modified using a set of filters. Query parameters can be added to the request, separated by &.
Query parameters
The list of channels for which the list of reviews will be returned.
Example: channels=chl-xxxxxxxx-yyyy-xxxx-yyyy-xxxxxxxxxxx1,chl-xxxxxxxx-yyyy-xxxx-yyyy-xxxxxxxxxxx2
submittedAfter is a timestamp in the ISO 8601 and RFC3339 compliant format yyyy-MM-dd’T’HH:mm:ss.SSSZ. Check the glossary for examples of valid datetime formats. The list of reviews will only contain reviews submitted with a later timestamp.
Example: 2018-02-01T17:10:42.733Z
submittedBefore is a timestamp in the ISO 8601 and RFC3339 compliant format yyyy-MM-dd’T’HH:mm:ss.SSSZ. Check the glossary for examples of valid datetime formats. The list of reviews will only contain reviews submitted with an earlier timestamp.
Example: 2018-02-01T17:10:42.733Z
A comma-separated list of star ratings to be retrieved. If not set, all reviews are listed.
Example: 1, 2, 5
A comma-separated list of statuses to be retrieved. If not set, all reviews are listed.
The statuses you can filter for are:
- APPROVED
- MODERATION
- REJECTED
Example: APPROVED, MODERATION
See our glossary entry for more information on review statuses.
A comma-separated list of review types to be retrieved. If not set, all reviews are listed.
The review types are:
- SERVICE_REVIEW
- PRODUCT_REVIEW
Example: PRODUCT_REVIEW
See our glossary entry for more information on review states.
Reduces the list of reviews to only match reviews that either have been replied to or not. If not set, all reviews are listed.
Example: true
Filters the list to ignore statements. Default is true.
A full-text search query that is matched against the order reference and email properties.
A comma-separated list of product's SKUs. Be aware, that this parameter does only make sense for product reviews.
Headers
An OAuth2 authorization header with an access token, see OAuth2
Response
The count of reviews for the given channel.
Example response
{
"accountId": "acc-xxxxxxxx-yyyy-xxxx-yyyy-xxxxxxxxxxxx"
}