Skip to content

Project review update

Request

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
Path
reviewIdintegerrequired

review ID

Example:1
Headers
Content-Typestringrequired
Default:"application/json"
Bodyapplication/json
dataobject, non-emptyrequired
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!"
      }
    }
  }'

Responses

OK

Bodyapplication/json
dataobjectrequired
errorsArray of objects or null(Errors)required
metadataobject(Metadata)required
Response
{ "data": { "review": {} }, "errors": [ {} ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }