commercetools icon

commercetools

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

Actions671

Product → Delete Product by Key

AI-generated

Summary

Delete a commercetools product identified by its unique product key and version number.

Inputs

  • Product Key (required) — The unique key of the product to delete.
  • Version (required) — The current version number of the product, required for concurrency control during deletion.

Output shape

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

The operation requires both product key and version inputs to succeed. If the product is deleted successfully, the response contains the deleted product details. Errors are thrown for failures, with details returned if continue-on-fail is enabled.

Examples

Example 1: Deleting a product with known key and current version.

Set resource to Product, operation to Delete Product by Key. Provide the exact Product Key and the latest Version number of that product.

Links

Discussion