commercetools icon

commercetools

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

Actions671

Business Unit → Delete BusinessUnit by Key

AI-generated

Summary

Delete a Business Unit in commercetools identified by its unique key and specific version number.

Inputs

  • Business Unit Key (required) — The unique key of the Business Unit to delete.
  • Version (required) — The current version number of the Business Unit, required to ensure concurrency control during deletion.

Output shape

a single JSON object

The output contains the response from the commercetools API, representing the deleted Business Unit or an error message if deletion fails. The operation requires authentication and will throw an error if the specified Business Unit does not exist or the version number is incorrect.

Links

Discussion