commercetools icon

commercetools

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

Actions671

Product-type → Delete ProductType by Key

AI-generated

Summary

Delete a Product-type in commercetools identified by its unique key and version number.

Inputs

  • Product-type Key (required) — The unique key of the Product-type to delete.
  • Version (required) — The current version of the Product-type resource, used for optimistic concurrency control.

Output shape

a single JSON object representing the deleted Product-type resource or an error response

Requires valid authentication credentials. If the specified key and version match a Product-type, that resource is deleted and returned. Otherwise, an error is thrown.

Links

Discussion