commercetools icon

commercetools

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

Actions671

Associate Business Unit → Update BusinessUnit by ID

AI-generated

Summary

Update a specific Associate Business Unit by its ID and version using a list of update actions provided either as raw JSON or through a UI form.

Inputs

  • Associate Business Unit ID (required) — The unique identifier of the Associate Business Unit to update.
  • Version (required) — The current version number of the Associate Business Unit for concurrency control.
  • Actions (JSON) — A raw JSON array of update actions to perform on the Business Unit; overrides UI actions if provided.
  • Actions (UI) — A collection of update actions configured via UI fields, such as adding/removing addresses, associates, stores, changing name or status, setting custom fields, and other Business Unit updates.

Output shape

a single JSON object representing the updated Associate Business Unit

The operation returns the updated Business Unit resource in JSON format. The actions parameter must be a non-empty array of valid update actions; supplying raw JSON actions overrides UI-configured actions. The operation requires specifying the resource ID and version for optimistic concurrency control.

Links

Discussion