Skip to content

Review — with Images (GraphQL)

The same adminCustomerReview query, focused on the attached images. A review's images are returned as a field-selectable Relay connection — you sub-select them with images { edges { node { … } } } and pick exactly the sub-fields you need, rather than receiving an opaque JSON blob. Over REST the same data comes back as a plain JSON array.

The id argument is the review IRI (/api/admin/customers/reviews/{id}).

Image node fields

FieldTypeNotes
idIDImage IRI.
pathStringStorage path of the image.
urlStringPublic URL resolved from the storage path.

TIP

See the Reviews overview for how moderation works.

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

Released under the MIT License.