Create review

This is the asynchronous method and is recommended for general use.

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.
  • For example responses, click the relevant status code on the right.
  • Requests for this endpoint are limited to 5,000 requests/minute, per app key.
  • Data retrieved by this endpoint will be no older than 1 hour.
❗️

Important!

  • This call will create reviews only as anonymous and will send out review verification emails to all the customers you've created reviews for
  • For information on importing reviews to Yotpo, see this Help Center article
📘

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 review form 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".

Metadata fields and properties

NameDescription
Predefined Fields

Yotpo supports several predefined fields on products, orders, and customers:
-Products: Color, Size, Vendor, Material, Model, Coupon Used
-Orders: Coupon Used, Delivery type
-Customers: State, Country, Address, Phone Number

These fields are all optional.

Custom Properties

Custom properties can be included in orders and retrieved as part of reviews.

There are three types of custom fields:
-Product related
-Customer-related
-Order related

Validation & ErrorsField names are not case sensitive and can contain numbers & symbols.
Two fields cannot have the same name.
There’s a limit of 10 custom fields per type (order/customer/product).
GeneralFields are Case Sensitive everywhere they’re configured
Body Params
string
required

The store ID

string

The account domain

string
required

The unique ID of the product on your site (doesn't have to be the SKU). To create a site review, use the value: yotpo_site_reviews. 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
required

The url of the product where the reviews are displayed

string

The url of the product image

string
required

The reviewer's name

string
required

The email of the reviewer

boolean

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

string
enum

The type of incentive provided for the review

Allowed:
string
required

The content of the review

string
required

The title of the review

int32
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. Note: The time_stamp and reviewer_type parameters are mandatory when using the signature parameter.

date-time

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

date-time

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

order_metadata
object
product_metadata
object
customer_metadata
object
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

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