commercetools icon

commercetools

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

Actions671

Customer Group → Update CustomerGroup by Key

AI-generated

Summary

Update a commercetools Customer Group identified by its unique key by applying specified update actions.

Inputs

  • Customer Group Key (required) — The unique string key identifying the Customer Group to update.
  • Version (required) — The current version number of the Customer Group to ensure concurrency control.
  • Actions (JSON) — A raw JSON array of update actions to apply to the Customer Group. Overrides the UI actions if provided.
  • Actions (UI) — A list of update actions constructed via the UI, such as changing the name, setting custom fields, setting custom types, or changing the key.

Output shape

a single JSON object representing the updated Customer Group.

The output JSON is the API response from commercetools after successfully applying the update actions. If update fails, an error is thrown unless continueOnFail is enabled, in which case error info is returned in the output.

Links

Discussion