commercetools icon

commercetools

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

Actions671

Customer Group → Delete CustomerGroup by Key

AI-generated

Summary

Delete a Customer Group in commercetools by specifying its unique key and current version.

Inputs

  • Customer Group Key (required) — The unique key identifying the customer group to delete.
  • Version (required) — The current version number of the customer group used for concurrency control.

Output shape

a single JSON object representing the response from the commercetools API, typically the deleted Customer Group object or confirmation of deletion

The operation requires the 'Customer Group Key' and 'Version' inputs to be set. It performs an authenticated HTTP DELETE request to the commercetools API and returns the JSON response from the API. Errors during deletion throw an exception unless 'Continue On Fail' is enabled.

Links

Discussion