Skip to content

Commit

Permalink
Updated API from documentation release
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Aug 2, 2024
1 parent 5d6dae8 commit 1097eca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api-specs/api/types/cart/LineItemPriceMode.raml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ enum:
The Line Item price with the total is set externally.
Cart Discounts are deactivated for Line Items with this price mode, despite a matching [CartDiscountLineItemsTarget](ctp:api:type:CartDiscountLineItemsTarget) or [MultiBuyLineItemsTarget](ctp:api:type:MultiBuyLineItemsTarget).
Although a Line Item with this price mode has both `price` and `totalPrice` set externally, only `totalPrice` is used to calculate the total price of a Cart.
All update actions that change the quantity of a Line Item with this price mode can set the new price with the `externalTotal` field.
If the `externalTotal` field is not given in the update actions, the external price is unset and the price mode is set to `Platform`.
All update actions that change the quantity of a Line Item with this price mode can set the new price with the `externalTotalPrice` field.
If the `externalTotalPrice` field is not given in the update actions, the external price is unset and the price mode is set to `Platform`.

0 comments on commit 1097eca

Please sign in to comment.