Skip to content

PUT/reviews/{id}

Replace review

Full replacement. All mutable fields overwritten. Triggers `reviews.updated` webhook.

Parameters 1

NameTypeDescription
idrequiredpath · integerResource identifier

ReturnsReview

AcceptsReviewInput

Bearer token required

Response examples

200Review replaced

application/json example derived from schema

{
  "id": 1,
  "productId": 1,
  "userId": 1,
  "rating": 4,
  "title": "Works as advertised",
  "body": "Great article! Really helped me understand the concept better.",
  "isVerified": true,
  "helpful": 1,
  "createdAt": "2025-08-29T18:25:55.906Z"
}
400400 — invalid input or malformed JSON

application/json

{
  "error": {
    "status": 400,
    "message": "Request body required"
  }
}
404404 — resource not found

application/json

{
  "error": {
    "status": 404,
    "message": "users #999 not found"
  }
}

Released under the MIT License.