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

Properties

action: "setLineItemInventoryMode"
inventoryMode?: string

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.