You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api-specs/api/types/cart/LineItemMode.raml
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ enum:
16
16
17
17
The quantity cannot be [increased](ctp:api:type:CartChangeLineItemQuantityAction), and it won't be merged when [adding](ctp:api:type:CartAddLineItemAction) the same Line Item to the Cart.
18
18
If the gift is [removed](ctp:api:type:CartRemoveLineItemAction), an entry is added to the `refusedGifts` array and the discount won't be applied to the Cart.
19
-
The price cannot be changed [externally](ctp:api:type:CartSetLineItemTotalPriceAction).
19
+
20
+
The `totalPrice` is always `0` and cannot be changed externally via the [setLineItemTotalPrice](ctp:api:type:CartSetLineItemTotalPriceAction) action.
20
21
21
22
All other updates, such as the ones related to Custom Fields, can be used.
Sets the [LineItem](ctp:api:type:LineItem) `totalPrice` and `price`, and changes the `priceMode` to `ExternalTotal` [LineItemPriceMode](ctp:api:type:LineItemPriceMode).
9
+
Cannot be used on Gift Line Items (see [LineItemMode](ctp:api:type:LineItemMode)).
0 commit comments