Skip to content

Commit 99e7aa1

Browse files
committed
Updated API from documentation release
1 parent 6b69c54 commit 99e7aa1

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

api-specs/api/types/common/DiscountedPriceDraft.raml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ properties:
77
type: Money
88
description: |
99
Sets the money value for the discounted price.
10+
11+
To set the money value in high precision, use [HighPrecisionMoneyDraft](ctp:api:type:HighPrecisionMoneyDraft).
1012
discount:
1113
type: ProductDiscountReference
1214
description: |

api-specs/api/types/common/PriceDraft.raml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ properties:
1616
type: Money
1717
description: |
1818
Money value of this Price.
19+
20+
To set the money value in high precision, use [HighPrecisionMoneyDraft](ctp:api:type:HighPrecisionMoneyDraft).
1921
country?:
2022
type: CountryCode
2123
description: |

api-specs/api/types/common/PriceTierDraft.raml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ properties:
1818
type: Money
1919
description: |
2020
Money value that applies when the `minimumQuantity` is greater than or equal to the [LineItem](ctp:api:type:LineItem) `quantity`.
21+
To set the money value in high precision, use [HighPrecisionMoneyDraft](ctp:api:type:HighPrecisionMoneyDraft).
2122
2223
The `currencyCode` of a Price tier must be the same as the `currencyCode` in the `value` of the related Price.

api-specs/api/types/standalone-price/StandalonePriceDraft.raml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ properties:
1919
type: Money
2020
description: |
2121
Sets the money value of this Price.
22+
23+
To set the money value in high precision, use [HighPrecisionMoneyDraft](ctp:api:type:HighPrecisionMoneyDraft).
2224
country?:
2325
type: CountryCode
2426
description: |

api-specs/api/types/standalone-price/updates/StandalonePriceChangeValueAction.raml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ properties:
1111
type: Money
1212
description: |
1313
New value to set. Must not be empty.
14+
15+
To set the money value in high precision, use [HighPrecisionMoneyDraft](ctp:api:type:HighPrecisionMoneyDraft).
1416
staged?:
1517
type: boolean
1618
default: false

0 commit comments

Comments
 (0)