Readonly
actionOptional
Readonly
externalRequired when the Line Item uses ExternalPrice
LineItemPriceMode.
Sets the LineItem price
to the given value when changing the quantity of a Line Item.
The LineItem price is updated as described in Line Item price selection.
Optional
Readonly
externalSets the LineItem price
and totalPrice
to the given value when changing the quantity of a Line Item with the ExternalTotal
LineItemPriceMode.
If externalTotalPrice
is not given and the priceMode
is ExternalTotal
, the external price is unset and the priceMode
is set to Platform
.
Optional
Readonly
lineid
of the LineItem to update. Either lineItemId
or lineItemKey
is required.
Optional
Readonly
linekey
of the LineItem to update. Either lineItemId
or lineItemKey
is required.
Readonly
quantityNew value to set.
If `0`, the Line Item is removed from the Cart.
When multiple shipping addresses are set for a Line Item, use the Remove LineItem and Add LineItem update action to change the shipping details. Since it is not possible for the API to infer how the overall change in the Line Item quantity should be distributed over the sub-quantities, the
shippingDetails
field is kept in its current state to avoid data loss.