commercetools icon

commercetools

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

Actions671

Business Unit → Delete BusinessUnit by ID

AI-generated

Summary

Delete a specific Business Unit in commercetools by its unique Business Unit ID and the expected data version.

Inputs

  • Business Unit ID (required) — The unique identifier of the Business Unit to delete.
  • Version (required) — The current version number of the Business Unit for concurrency control; must match the server's version to allow deletion.

Output shape

a JSON object representing the deleted Business Unit or an error response if deletion fails

Requires authentication with commercetools OAuth2 credentials. The operation uses HTTP DELETE with version as a query parameter to ensure safe deletion. On failure, an error is thrown (or error details returned if Continue On Fail is enabled). No pagination or additional metadata is returned.

Links

Discussion