commercetools icon

commercetools

Interact with the commercetools API. Operations are auto-generated from the official Postman collection.

Actions671

Review → Update Review by Key

AI-generated

Summary

Update a commercetools Review identified by its unique key by specifying the expected current version and the update actions to apply.

Inputs

  • Review Key (required) — The unique key of the Review to update.
  • Version (required) — The current version of the Review for optimistic concurrency control; required to perform the update.
  • Actions (UI) — A collection of update actions to perform on the Review, such as setting the author name, rating, text, title, locale, customer, custom fields or types, target, key, and transitioning state.
  • Actions (JSON) — A raw JSON array that overrides the UI actions when provided, specifying the update operations to apply to the Review.

Output shape

a single JSON object representing the updated Review resource returned from the commercetools API.

Requires the Review Key and Version inputs. Actions can be provided either via the UI or as raw JSON. The operation uses optimistic locking based on the Version parameter. On success, returns the updated Review as JSON.

Links

Discussion