createReviewAndContact( )


Deprecated

This method has been replaced with Create Review, and will be removed on February 1, 2024.

Creates a new review and a new contact.

When the review author is not a contact, use this endpoint. Include name and email, as they're required to create the contact. If these parameters are missing, a new contact and review won't be created.

When the review author is already a contact, use either this endpoint or Create Review. A new review is created but a new contact is not created. For a 3rd-party app, include name and email.

After a review is created, it may require moderation.

Permissions
Manage Reviews
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
namespacestringRequired

Namespace where the review is created.


entityIdstringRequired

ID of the entity to review.


contentReviewContentRequired

Review content.


optionsCreateReviewAndContactOptions
Returns
Return Type:Promise<CreateReviewResponse>
Errors

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

Did this help?