Menu
Create Review Synchronous
Create review (synchronous)
POST
/reviews/dynamic_createUse it in a workflow
- Add a step and choose the Yotpo connector.
- Pick the Create Review Synchronous action (under Reviews & Ratings).
- Fill in the fields below, then reference the result from later steps as
{{createReviewSynchronous.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"appkey": "string",
"sku": "string",
"product_title": "string",
"display_name": "string",
"email": "string",
"review_content": "string",
"review_title": "string",
"review_score": "string",
"domain": "string",
"product_description": "string",
"product_url": "string",
"product_image_url": "string"
}
Response
Returns 200 with an object. Read it in later steps with {{createReviewSynchronous.response.data.<field>}}.
{
"status": {
"code": 200,
"message": "OK"
},
"response": {
"reviews": [
{
"id": 2557878,
"content": "It's really good",
"title": "Great Phone",
"score": 5,
"user": {
"id": 1597310,
"display_name": "John S.",
"slug": "john-s--1103",
"social_image": "https://ddcfq0gxiontw.cloudfront.net/images/anonymous_user.png",
"is_social_connected": false,
"bio": null,
"score": 0,
"badges": [
null
]
},
"user_type": "User",
"users": [
null
],
"products": [
{
"Location_idx": [
null
],
"Product": {
"product_url": null,
"id": null,
"name": null,
"slug": null,
"shorten_url": null,
"images": null,
"social_network_links": null,
"facebook_testemonials_page_product_url": null
}
}
],
"votes_up": 0,
"votes_down": 0,
"user_vote": 0,
"created_at": "2014-12-10T15:03:16Z"
}
]
}
}
Need more? See the Yotpo guide for connection setup and behaviour shared by every action.
Was this page helpful?