commercetools icon

commercetools

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

Actions671

Product Selection → Delete ProductSelection by ID

AI-generated

Summary

Delete a commercetools Product Selection by specifying its ID and current version to remove it from the project.

Inputs

  • Product Selection ID (required) — The unique identifier of the product selection you want to delete.
  • Version (required) — The current version number of the product selection to ensure version consistency during deletion.

Output shape

a single JSON object representing the deleted product selection or an error response

The operation requires the ID and version as inputs and returns the API's response to the deletion request. Errors are thrown if deletion fails.

Examples

Example 1: Deleting a product selection with a known ID and version number

Provide 'Product Selection ID' as the target ID and 'Version' as the latest known version to perform deletion.

Links

Discussion