commercetools icon

commercetools

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

Actions671

Associate Business Unit → Delete BusinessUnit by Key

AI-generated

Summary

Delete a specific Associate Business Unit identified by its unique key and required version number.

Inputs

  • Associate Business Unit Key (required) — The unique key of the Associate Business Unit to delete.
  • Version (required) — The current version number of the Associate Business Unit, required to perform the delete operation and avoid conflicts.

Output shape

a JSON object representing the deletion response from the commercetools API, including confirmation details or the deleted entity information.

Requires valid credentials for commercetools OAuth2 authentication. If the version number does not match or the key is incorrect, the API will return an error. The operation uses HTTP DELETE method with query parameter 'version' for concurrency control.

Examples

Example 1: Delete Associate Business Unit with key 'unit123' and version 3

Set resourceKey to 'unit123' and version to 3; authenticate with commercetools credentials; execute node.

Links

Discussion