Home > @vsf-enterprise/bigcommerce-api > CreateProductReviewProps
# CreateProductReviewProps interface
Properties to add review.
Signature:
export interface CreateProductReviewProps
# Properties
Property | Type | Description |
---|---|---|
email? | string | (Optional) The email of the reviewer. Must be a valid email, or an empty string. |
name? | string | (Optional) The name of the reviewer. |
productId | number | An id of the product |
rating? | ReviewRating | (Optional) The rating of the product review. Must be one of 0, 1, 2, 3, 4, 5. |
status? | ReviewStatus | (Optional) The status of the product review. Must be one of approved , disapproved or pending . |
text? | string | (Optional) The text for the product review. |
title | string | The title for the product review. |