Skip to content

Update Review Status (GraphQL)

Updates a review's moderation status. Only the status field is editable (reviews originate from the storefront); allowed values are pending, approved and disapproved.

The mutation response returns the review's scalars plus the nested product and customer. The images connection is not resolved on the mutation payload — re-query the detail to read the attached images.

Permission: customers.reviews.edit.

Prerequisites

The example uses an illustrative id. Replace it with a review that exists in your store — use adminCustomerReviews to discover valid ids.

TIP

See the Reviews overview for how moderation works.

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

Released under the MIT License.