commercetools icon

commercetools

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

Actions671

Type → Delete Type by ID

AI-generated

Summary

Delete a commercetools Type resource by its unique ID and version to remove it from the project.

Inputs

  • Type ID (required) — The unique identifier of the Type resource to delete.
  • Version (required) — The current version number of the Type resource for concurrency control; must match the resource's latest version.

Output shape

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

The operation requires the Type ID and version to be specified. The response includes details of the deleted resource. Errors thrown if the resource doesn't exist or version conflicts occur.

Links

Discussion