Menu
Add Metadata To An Existing Review
Add metadata to an existing review
POST
/v1/apps/{app_key}/reviews/{review_id}/metadata?utoken=utokenUse it in a workflow
- Add a step and choose the Yotpo connector.
- Pick the Add Metadata To An Existing Review action (under Reviews & Ratings).
- Fill in the fields below, then reference the result from later steps as
{{addMetadataToAnExistingReview.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"customer": {
"email": "string",
"state": "string",
"country": "string",
"custom_properties": {
"name": "string",
"value": "string"
}
},
"order": {
"coupon_used": false,
"delivery_type": "string",
"custom_properties": {
"name": "string",
"value": "string"
}
},
"products": {
"color": "string",
"size": "string",
"material": "string",
"vendor": "string",
"model": "string",
"coupon_used": false,
"custom_properties": {
"name": "string",
"value": "string"
}
}
}
Response
Returns 200 with an object. Read it in later steps with {{addMetadataToAnExistingReview.response.data.<field>}}.
{
"status": {
"code": "ok",
"message": "ok"
}
}
Need more? See the Yotpo guide for connection setup and behaviour shared by every action.
Was this page helpful?