Create review (synchronous)

Note: This method is recommended for development only.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
👍

How to use this endpoint

  • To see example requests, click Examples in the payload on the right.
  • Requests for this endpoint are limited to 5,000 requests/minute, per app key.
  • Data is retrieved in real-time.
📘

Please note:

  • The following parameters are relevant only for customers using the Trusted Vendors feature: signature, time_stamp, submission_time_stamp, and reviewer_type.
  • If you're using this feature, please make sure you refer to our dedicated help center article before you use this endpoint. To learn more, please contact your Yotpo representative.

Custom questions

Click the Create Review + Custom Questions tab to view a sample response of a review with custom question fields. Contact your Yotpo Customer Success Manager if you need help identifying the custom_field slug.

e.g.
custom_fields": {
"--12159": ["Chilly days","Rainy mornings","Windy evenings"],
"--12014": "123"}

Note that custom fields should carry values that are in line with the type of question being asked. For example, a rating question type would carry numerical values e.g. 1-5 while a textual question type would carry values such as "good" "okay" and "poor".

Body Params
string
required

The store ID

string

The account domain

string
required

The ID of the product on your site. This parameter supports alphanumeric (a...z, A...Z, 0...9), "_" and "-" characters.

string
required

The title of the product

string

The description of the product

string

The url of the product on your ecommerce site

string

The url of the product image

string
required

The name of the reviewer

string
required

The email of the reviewer

boolean

Indicates if the review comes from an incentivized source (for example, a product sampling company)

string
required

The content of the review

string
required

The title of the review

string
required

The review score

string

Relevant only for customers using the Trusted Vendors feature. The signature is the hexadecimal representation of a computed Hash-based Message Authentication Code, using SHA256 as the cryptographic function (HMAC-SHA256). The secret for the function is the account secret.

string

Required for customers using the Trusted Vendors feature. Unix timestamp.

string

Relevant only for customers using the Trusted Vendors feature. The date the review was created (if not today). Can be up to 7 days in the past. If you want to add a creation date that is more than 7 days in the past, please contact support

string

Required for customers using the Trusted Vendors feature. Possible values: verified_buyer or verified_reviewer

string

The type of delivery designated for this purchase e.g. express, expedited, standard

string

External user id, can be used later on to retrieve reviews associated with this user

image_urls
array of strings

The URLs of images associated with the review. You can upload up to 5 images per review.

image_urls
order_metadata
object
product_metadata
object
customer_metadata
object
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json