Skip to content

GET/reviews/{id}

Get review by ID

Retrieve a single review. Supports ETag conditional requests via `If-None-Match`.

Parameters 4

NameTypeDescription
_fieldsquery · stringSparse fieldset — comma-separated fields to return. Leave blank for the full object.
_expandquery · stringExpand parent relations inline. Applies only when the resource has a matching parent (e.g. `user` on posts).
_embedquery · stringEmbed child collections. Applies only when the resource has a matching child (e.g. `comments` on posts).

ReturnsReview

Bearer token required

Response examples

200The review

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"
}
404404 — resource not found

application/json

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

Released under the MIT License.