You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
AddReviewParams
Parameters for the addReview API endpoint
export interface AddReviewParams {
draft: ReviewDraft;
productId: string;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
draft | Required | ReviewDraft | Review information, such as author, rating, title and description |
productId | Required | string | ID of the parent product |