Skip to main content
POST
/
reviews
/
{id}
Update a review
curl --request POST \
  --url https://api.pocketflows.com/reviews/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "stars": 123,
  "review_text": "<string>"
}'
{
  "review": {
    "id": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>",
    "source": "internal",
    "stars": 123,
    "review_text": "<string>",
    "customer": "<string>",
    "business": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the review

Body

application/json
stars
integer | null

The number of stars the review has

review_text
string | null

The text of the review

Response

200 - application/json

A dictionary with a review property that contains the updated Review object

review
object
required

The updated review