---
title: "Updates or cancels a review."
method: PUT
path: "/reviews/{siteid}/{reviewid}"
tags: ["reviews"]
---

# Updates or cancels a review.

`PUT /reviews/{siteid}/{reviewid}`

## Request

- Base URL: `https://api.shopperapproved.com`
- URL: `https://api.shopperapproved.com/reviews/{siteid}/{reviewid}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/shopperapproved/apis/shopper-approved-api/docs/reviews/:siteid/:reviewid/put.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint allows to change the follow-up date of a review or mark the order as cancelled which will tell our system to not send an email if it hasn't already been sent.

## Path parameters

- `siteid` integer, required
- `reviewid` string, required

## Query parameters

- `xml` boolean

## Request body `application/x-www-form-urlencoded`

- object
  - `token` string, required: Your API token.
  - `followup` string: A YYYY-MM-DD formatted date string for the date you would like the follow-up email to be sent on. Required if cancel is not passed.
  - `cancel` integer: This should be 1 if you want to cancel the review. Required if followup is not passed.

## Response `200`

Success - Your desired action was completed.

## Other responses

- `218`: Nothing to do - make sure you are passing either cancel or followup.
- `403`: Not authorized - double check your site id and token combination.

---

[API](https://skmtc.dev/shopperapproved/apis/shopper-approved-api.md) - [All operations](https://skmtc.dev/shopperapproved/apis/shopper-approved-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shopperapproved/apis/shopper-approved-api/revisions/9881d9e6a701?raw)
