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 9, 2024
1 parent df53588 commit 0a4f0ad
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion api-specs/api/types/common/DiscountedPriceDraft.raml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ displayName: DiscountedPriceDraft
type: object
properties:
value:
type: Money
type: TypedMoneyDraft
description: |
Sets the money value for the discounted price.
discount:
Expand Down
2 changes: 1 addition & 1 deletion api-specs/api/types/common/PriceDraft.raml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ properties:
minLength: 2
maxLength: 256
value:
type: Money
type: TypedMoneyDraft
description: |
Money value of this Price.
country?:
Expand Down
2 changes: 1 addition & 1 deletion api-specs/api/types/common/PriceTierDraft.raml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ properties:
A [Price](ctp:api:type:Price) or [StandalonePrice](ctp:api:type:StandalonePrice) cannot contain more than one tier with the same `minimumQuantity`.
In the case one of the constraint is not met an [InvalidField](ctp:api:type:InvalidFieldError) is returned.
value:
type: Money
type: TypedMoneyDraft
description: |
Money value that applies when the `minimumQuantity` is greater than or equal to the [LineItem](ctp:api:type:LineItem) `quantity`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ properties:
Specifies to which [ProductVariant](ctp:api:type:ProductVariant) the API associates this Price.
It is not validated to exist in product variants.
value:
type: Money
type: TypedMoneyDraft
description: |
Sets the money value of this Price.
country?:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: |
example: !include ../../../examples/StandalonePrice/StandalonePriceChangeValueAction.json
properties:
value:
type: Money
type: TypedMoneyDraft
description: |
New value to set. Must not be empty.
staged?:
Expand Down

0 comments on commit 0a4f0ad

Please sign in to comment.