ReadonlyactionOptional ReadonlyexternalRequired 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](ctp:api:type:LineItem) price is updated as described in [Line Item price selection](/../api/pricing-and-discounts-overview#line-item-price-selection).
Optional ReadonlyexternalSets 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 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.
ReadonlyquantityNew value to set.
If 0, the LineItem is removed from the Order.
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
shippingDetailsfield is kept in its current state to avoid data loss.