commercetools icon

commercetools

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

Actions671

Product-type → Delete ProductType by ID

AI-generated

Summary

Delete a Product-type by its ID and required version from the commercetools platform.

Inputs

  • Product-type ID (required) — The unique identifier of the Product-type to delete.
  • Version (required) — The current version number of the Product-type, used for concurrency control.

Output shape

a single JSON object representing the deleted Product-type details or deletion response.

Requires both Product-type ID and version as inputs. Deletion uses an HTTP DELETE request with version as a query parameter. Errors will be thrown if deletion fails.

Examples

Example 1: Delete Product-type with ID 'abc123' at version 5

Set 'Product-type ID' to 'abc123' and 'Version' to 5.

Links

Discussion