Last update:
December 2, 2024
customerReviews query¶
This query retrieves customer reviews associated with a specific entity, such as a product or service, allowing filtering and sorting of results.
Arguments¶
Argument | Description |
---|---|
after String |
A cursor for paginating results, pointing to the position after which to fetch data. |
first Int |
The maximum number of reviews to return. |
keyword String |
A keyword to filter reviews by matching text. |
sort String |
A sorting parameter to order the reviews (e.g., by date or rating). |
storeId String! |
The Id of the store associated with the reviews. |
entityId String! |
The Id of the entity the reviews are linked to (e.g., product ID). |
entityType String! |
The type of entity the reviews are associated with (e.g., "Product"). |
filter String |
Additional filters to narrow down the reviews based on specific criteria. |
Possible Returns¶
Possible Return | Description |
---|---|
CustomerReviewConnection |
A paginated list of customer reviews matching the query criteria. |