Get Customer Review
Retrieve detailed information for a specific product review submitted by the authenticated customer. Customers can only access their own reviews.
Endpoint
GET /api/shop/customer-reviews/{id}Request Headers
| Header | Required | Description |
|---|---|---|
Content-Type | Yes | application/json |
X-STOREFRONT-KEY | Yes | Your storefront API key |
Authorization | Yes | Bearer token (customer login required) |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Customer review ID |
Response Fields (200 OK)
| Field | Type | Description |
|---|---|---|
id | integer | Review ID |
title | string | Review title |
comment | string | Review body text |
rating | integer | Star rating (1–5) |
status | string | Review status: pending, approved, or rejected |
name | string | Reviewer display name |
product | object | Associated product (nested resource) |
customer | object | Customer who wrote the review (nested resource) |
createdAt | string | ISO 8601 creation timestamp |
updatedAt | string | ISO 8601 last update timestamp |
Error Responses
| Status | Error | Description |
|---|---|---|
401 | Unauthenticated | Missing or invalid Bearer token |
404 | Not Found | Customer review with ID "999" not found — review doesn't exist or doesn't belong to the customer |
Error — Not Found (404):
json
{
"message": "Customer review with ID \"999\" not found"
}Error — Unauthenticated (401):
json
{
"message": "Unauthenticated. Please login to perform this action"
}Use Cases
- Display individual review details
- Show review with full context in account dashboard
- Load specific review for viewing status
- Check approval status of a submitted review

