createReview( )


Creates a new review using a contact ID.

This method requires a contact ID, see the Contacts API (SDK | REST).

After a review is created, it may require moderation, see the introduction for the Reviews API for more information about moderation.

If the authorName field is empty, and the review author:

  • is a site member, their member name is used.
  • isn't a site member, the field is set to null.
Permissions
Manage Reviews
Manage Stores
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
reviewReviewRequired

Review data.

Returns
Return Type:Promise<Review>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?