Typescript SDK Type Docs
    Preparing search index...

    Interface OrderSetBusinessUnitAction

    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 OrderSetBusinessUnitAction {
        action: "setBusinessUnit";
        businessUnit?: BusinessUnitResourceIdentifier;
    }

    Hierarchy (View Summary)

    Index

    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.