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

    Interface CartSetLineItemInventoryModeAction

    interface CartSetLineItemInventoryModeAction {
        action: "setLineItemInventoryMode";
        inventoryMode?: InventoryMode;
        lineItemId?: string;
        lineItemKey?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "setLineItemInventoryMode"
    inventoryMode?: InventoryMode

    Inventory mode specific to the Line Item only, and valid for the entire quantity of the Line Item. Set only if the inventory mode should be different from the inventoryMode specified on the Cart.

    lineItemId?: string

    id of the LineItem to update. Either lineItemId or lineItemKey is required.

    lineItemKey?: string

    key of the LineItem to update. Either lineItemId or lineItemKey is required.