commercetools icon

commercetools

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

Actions671

Type → Delete Type by Key

AI-generated

Summary

Delete a commercetools Type resource identified by its unique key and required version number.

Inputs

  • Type Key (required) — The unique key string that identifies the Type resource to delete.
  • Version (required) — The current version number of the Type resource; required to prevent conflicts.

Output shape

a single JSON object representing the deleted Type resource's details as returned by the commercetools API

The operation requires the Type key and version as inputs. It performs an authenticated DELETE request to the commercetools API and returns the response JSON object for the deleted Type. Errors during the deletion are thrown, unless 'Continue On Fail' mode is enabled, in which case the error message is returned in the output.

Links

Discussion