commercetools icon

commercetools

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

Actions671

Store Business Unit → Delete BusinessUnit in Store by Key

AI-generated

Summary

Delete a business unit identified by its key within a specified store and version in the commercetools platform.

Inputs

  • Store Key (required) — The key of the store in which the business unit exists.
  • Business Unit Key (required) — The key of the business unit to delete within the specified store.
  • Version (required) — The current version of the business unit for concurrency control.

Output shape

a single JSON object representing the deleted business unit or an error object if deletion fails.

Requires the version number to avoid concurrent modification errors. The node returns the deleted business unit data upon success.

Examples

Example 1: Delete a business unit named 'retail-unit-1' within the store 'store-abc' at version 3.

Set 'Store Key' to 'store-abc', 'Business Unit Key' to 'retail-unit-1', and 'Version' to 3.

Links

Discussion