Updates the project review. This endpoint is available only when the 'Rating' module is active. Also, the project must have store ratings enabled in the administration settings.
Security
shoptetAccessToken or shoptetPrivateApiToken
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/reviews/project/{reviewId}
- https://api.myshoptet.comhttps://api.myshoptet.com/api/reviews/project/{reviewId}
- shoptetAccessToken
- shoptetPrivateApiToken
curl -i -X PATCH \
https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/reviews/project/1 \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE' \
-d '{
"data": {
"description": "Snack was very good",
"fullName": "John Doe",
"visible": false,
"reaction": {
"reactionFullName": "John Doe",
"reactionEmail": "johndoe@email.tld",
"reactionText": "Thank you for your review!"
}
}
}'Response
{ "data": { "review": { … } }, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }