commercetools icon

commercetools

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

Actions671

Category → Delete Category by Key

AI-generated

Summary

Delete a commercetools category identified by its unique key and specified version, removing it from the project.

Inputs

  • Category Key (required) — The unique key of the category to delete.
  • Version (required) — The current version number of the category for concurrency control; must match the category's version to allow deletion.

Output shape

a JSON object representing the deletion response from the commercetools API, indicating success or failure of the deletion.

The operation requires both the category key and version number as inputs. The version is sent as a query parameter for concurrency control and to ensure safe deletion. The output contains the API response JSON; if an error occurs and continueOnFail is enabled, the output includes an error message linked to the input item.

Links

Discussion