@gradientedge/commercetools-utils
    Preparing search index...

    Interface MyCartSetBusinessUnitAction

    Updates the Business Unit on the Cart. The Cart must have an existing Business Unit assigned already.

    interface MyCartSetBusinessUnitAction {
        action: "setBusinessUnit";
        businessUnit: BusinessUnitResourceIdentifier;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    action: "setBusinessUnit"

    New Business Unit to assign to the Cart, which must have access to the Store that is set on the Cart. Additionally, the authenticated user must be an Associate in the Business Unit.