---
title: "Update a review"
method: POST
path: "/reviews/{id}"
tags: ["Reviews"]
---

# Update a review

`POST /reviews/{id}`

## Path parameters

- `id` string, required

## Request body

- object
  - `stars` integer, nullable — The number of stars the review has
  - `review_text` string, nullable — The text of the review

## Response `200`

The updated `Review` object

- Review
  - `id` string, required — The ID of the review
  - `created_at` string, required — The date and time the review was created
  - `updated_at` string, required — The date and time the review was last updated
  - `source` 'internal' | 'google' | 'yelp', required — The source of the review
  - `stars` integer, required — The number of stars the review has
  - `review_text` string, nullable, required — The text of the review
  - `customer` string, nullable, required — The ID of the customer who wrote the review
  - `business` string, required — The ID of the business that the review is about
  - `external_url` string, nullable, required — The URL of the review on the external site

---

[API](https://skmtc.dev/pocketflows/apis/pocketflows-api.md) · [All operations](https://skmtc.dev/pocketflows/apis/pocketflows-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pocketflows/pocketflows-api/revisions/26723490b96f/schema)
