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

    Interface CartAddShoppingListAction

    Adds all LineItems of a ShoppingList to the Cart.

    interface CartAddShoppingListAction {
        action: "addShoppingList";
        distributionChannel?: ChannelResourceIdentifier;
        shoppingList: ShoppingListResourceIdentifier;
        supplyChannel?: ChannelResourceIdentifier;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "addShoppingList"
    distributionChannel?: ChannelResourceIdentifier

    distributionChannel to set for all LineItems that are added to the Cart. The Channel must have the ProductDistribution ChannelRoleEnum.

    Shopping List that contains the Line Items to be added.

    supplyChannel to set for all LineItems that are added to the Cart. The Channel must have the InventorySupply ChannelRoleEnum.