Skip to content

Commit 535ee58

Browse files
committed
Updated API from documentation release
1 parent de47ebf commit 535ee58

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

api-specs/api/types/cart-discount/CartDiscountTotalPriceTarget.raml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ discriminatorValue: totalPrice
66
example: !include ../../examples/CartDiscount/CartDiscountTotalPriceTarget.json
77
description: |
88
Discount is applied to the total price of the [Cart](ctp:api:type:Cart).
9+
The same percentage of discount applies on the [Cart](ctp:api:type:Cart) or [Order](ctp:api:type:Order) `taxedPrice`.

api-specs/api/types/cart/DiscountOnTotalPrice.raml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@ properties:
1515
type: TypedMoney
1616
description: |
1717
Money value of the discount on the total net price of the Cart or Order.
18+
19+
The same percentage of discount applies as on the `discountedAmount`.
1820
Present only when `taxedPrice` of the Cart or Order exists.
1921
discountedGrossAmount?:
2022
type: TypedMoney
2123
description: |
2224
Money value of the discount on the total gross price of the Cart or Order.
25+
26+
The same percentage of discount applies as on the `discountedAmount`.
2327
Present only when `taxedPrice` of the Cart or Order exists.

0 commit comments

Comments
 (0)