Tamio

Update a review

POST https://api.tamio.com/v2/reviews/update/{uuid}

Updates an existing product review identified by its UUID. All core fields (rating, text, name) are required. The image can be replaced, removed (set to null), or left unchanged (omit the field).

Path Parameters

uuid string*

UUID of the review to update.

Body Parameters

product string*

UUID of the product being reviewed.

rating integer*

Star rating (0–5).

review_text string*

Main review content.

name string*

Name of the reviewer.

image string

UUID of an image asset to attach, null to remove, or omit to leave unchanged.

customer_review boolean

Whether this is a verified customer review.

created_at string

Custom creation timestamp (ISO 8601 string or Unix timestamp as string, up to 26 characters).

external_review string

URL to an external review document or image (PDF or image URL).

external_link string

External URL related to the review.

Responses

200 Review updated

Review updated

status integer
review Review
400 Validation or business-logic error.
401 Missing or invalid API key
/reviews/update/{uuid}
1const response = await fetch("https://api.tamio.com/v2/reviews/update/{uuid}", {
2 method: "POST",
3 headers: {
4 "Authorization": "Bearer YOUR_API_KEY",
5 "Content-Type": "application/json"
6 },
7 body: JSON.stringify({
8 "product": "123e4567-e89b-12d3-a456-426614174000",
9 "rating": 4,
10 "review_text": "Updated review — still a great product.",
11 "name": "Jane Smith",
12 "image": "bbb24567-e89b-12d3-a456-426614174000",
13 "customer_review": false,
14 "created_at": "2024-07-20T14:00:00Z",
15 "external_review": "https://example.com/updated-review.pdf",
16 "external_link": "https://google.com/maps/review/xyz"
17 })
18});
19const data = await response.json();
Responses
{
  "status": 200,
  "review": {
    "id": "999e4567-e89b-12d3-a456-426614174000",
    "object": "review",
    "name": "John Doe",
    "locale": "en",
    "review_text": "Excellent product, highly recommended!",
    "rating": 5,
    "created_at": 1718444400,
    "image": "https://cdn.tamio.com/assets/review-photo.jpg",
    "external_review": "https://example.com/review-screenshot.png",
    "external_link": "https://trustpilot.com/review/abc123",
    "product": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "Premium Widget"
    },
    "customer": {
      "id": "223e4567-e89b-12d3-a456-426614174000",
      "name": "Jane Smith",
      "email": "[email protected]"
    },
    "customer_review": true,
    "invoice": {
      "prefix": "INV",
      "number": 1042,
      "date_bought": 1717000000
    }
  }
}