commercetools icon

commercetools

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

Actions671

Product-discount → Delete ProductDiscount by Key

AI-generated

Summary

Delete a commercetools ProductDiscount identified by its key and version.

Inputs

  • Product-discount Key (required) — The unique key of the ProductDiscount to delete.
  • Version (required) — The current version number of the ProductDiscount for concurrency control.

Output shape

a JSON object representing the deleted ProductDiscount or an error response.

This operation requires both the Product-discount Key and the Version number as inputs. The API call uses HTTP DELETE with the version as a query parameter for concurrency management. On success, the response contains details of the deleted ProductDiscount.

Links

Discussion