Updates the Business Unit on the Order. Setting the Order's businessUnit does not recalculate prices or discounts on the Order.

Produces the [OrderBusinessUnitSet](ctp:api:type:OrderBusinessUnitSetMessage) Message.
interface StagedOrderSetBusinessUnitAction {
    action: "setBusinessUnit";
    businessUnit?: BusinessUnitResourceIdentifier;
}

Hierarchy (View Summary)

Properties

action: "setBusinessUnit"

New Business Unit to assign to the Order. If empty, any existing value is removed.

If the referenced Business Unit does not exist, a [ReferencedResourceNotFound](ctp:api:type:ReferencedResourceNotFoundError) error is returned.