Skip to content

Review with Images

The same endpoint as Customer Review Detail, highlighting a review that carries attachments. REST has no connections, so the review's images come back as a flat JSON array — the same data the GraphQL endpoint serves as an images { edges { node } } connection. Each image carries its id, storage path, and a ready-to-use url.

Overview

See the Customer Reviews overview for the moderation flow.

All admin endpoints require an admin Bearer token — see Authentication.

EndpointMethod
/api/admin/customers/reviews/{id}GET

Response fields

FieldTypeNotes
idintegerReview ID.
titlestringReview title.
commentstringReview body.
ratingintegerStar rating (1–5).
statusstringpending / approved / disapproved.
namestringReviewer name.
productobjectReviewed product — { id, name, sku }.
customerobject | nullAuthor — { id, name, email }; null for guest reviews.
imagesarrayAttachments, each { id, path, url }; empty array when none.
createdAt / updatedAtstringTimestamps.

Errors

HTTPCause
404Review not found.
401Missing or invalid admin Bearer token.

Released under the MIT License.