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 Dec 10, 2024
1 parent 6b69c54 commit 99e7aa1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api-specs/api/types/common/DiscountedPriceDraft.raml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ properties:
type: Money
description: |
Sets the money value for the discounted price.
To set the money value in high precision, use [HighPrecisionMoneyDraft](ctp:api:type:HighPrecisionMoneyDraft).
discount:
type: ProductDiscountReference
description: |
Expand Down
2 changes: 2 additions & 0 deletions api-specs/api/types/common/PriceDraft.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ properties:
type: Money
description: |
Money value of this Price.
To set the money value in high precision, use [HighPrecisionMoneyDraft](ctp:api:type:HighPrecisionMoneyDraft).
country?:
type: CountryCode
description: |
Expand Down
1 change: 1 addition & 0 deletions api-specs/api/types/common/PriceTierDraft.raml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ properties:
type: Money
description: |
Money value that applies when the `minimumQuantity` is greater than or equal to the [LineItem](ctp:api:type:LineItem) `quantity`.
To set the money value in high precision, use [HighPrecisionMoneyDraft](ctp:api:type:HighPrecisionMoneyDraft).
The `currencyCode` of a Price tier must be the same as the `currencyCode` in the `value` of the related Price.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ properties:
type: Money
description: |
Sets the money value of this Price.
To set the money value in high precision, use [HighPrecisionMoneyDraft](ctp:api:type:HighPrecisionMoneyDraft).
country?:
type: CountryCode
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ properties:
type: Money
description: |
New value to set. Must not be empty.
To set the money value in high precision, use [HighPrecisionMoneyDraft](ctp:api:type:HighPrecisionMoneyDraft).
staged?:
type: boolean
default: false
Expand Down

0 comments on commit 99e7aa1

Please sign in to comment.