Updates the Review resource.

PATCH /reviews/{id}

Updates the Review resource.

Path parameters

  • id string Required

    Review identifier

Body Required

The updated Review resource

Responses

PATCH /reviews/{id}
curl \
 -X PATCH http://api.example.com/reviews/{id} \
 -H "Content-Type: application/merge-patch+json" \
 -d '{"rating":42,"body":"string","author":"string","publicationDate":"2023-05-04T09:42:00+00:00","book":"string"}'
Request example
{
  "rating": 42,
  "body": "string",
  "author": "string",
  "publicationDate": "2023-05-04T09:42:00+00:00",
  "book": "string"
}
Request examples
{
  "rating": 42,
  "body": "string",
  "author": "string",
  "publicationDate": "2025-05-04T09:42:00Z",
  "book": "string"
}
Response examples (200)
{
  "id": 42,
  "rating": 42,
  "body": "string",
  "author": "string",
  "publicationDate": "2023-05-04T09:42:00+00:00",
  "book": "string"
}
Response examples (200)
{
  "id": 42,
  "rating": 42,
  "body": "string",
  "author": "string",
  "publicationDate": "2025-05-04T09:42:00Z",
  "book": "string"
}