Create review

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

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
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain