commercetools icon

commercetools

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

Actions671

Discount-group → Delete DiscountGroup by ID

AI-generated

Summary

Delete a DiscountGroup by providing its unique ID and current version to ensure concurrency control.

Inputs

  • Discount-group ID (required) — The unique identifier of the DiscountGroup to delete.
  • Version (required) — The current version number of the DiscountGroup; required to avoid conflicting changes.

Output shape

a single JSON object representing the deletion result or error message

The operation returns the raw API response of the deletion request. If an error occurs and continueOnFail is enabled, the error message is included in the output.

Examples

Example 1: Delete a DiscountGroup with ID 'abc123' at version 5

Set 'Discount-group ID' to 'abc123' and 'Version' to 5, then execute the node.

Links

Discussion