AddReviewParams
Parameters for the addReview API endpoint
interface AddReviewParams {
draft: ReviewDraft;
limit?: number;
offset?: number;
productId: string;
sort?: string | string[];
where?: string;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
draft | Required | ReviewDraft | Review information, such as author, rating, title and description |
limit | Optional | number | Pagination limit |
offset | Optional | number | Pagination offset |
productId | Required | string | ID of the parent product |
sort | Optional | string | string[] | Sorting options. You can read more here |
where | Optional | string | Custom where query |