ReadonlyactionOptional ReadonlyinventoryInventory 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.
Optional Readonlylineid of the LineItem to update. Either lineItemId or lineItemKey is required.
Optional Readonlylinekey of the LineItem to update. Either lineItemId or lineItemKey is required.
Sets the inventory mode for a specific Line Item in the Cart. When changing a Line Item's inventory mode to
ReserveOnCart, a reservation is automatically created if sufficient stock is available. When changing fromReserveOnCartto another mode, the reservation is released.