Skip to content

Commit 0a4f0ad

Browse files
committed
Updated API from documentation release
1 parent df53588 commit 0a4f0ad

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ displayName: DiscountedPriceDraft
44
type: object
55
properties:
66
value:
7-
type: Money
7+
type: TypedMoneyDraft
88
description: |
99
Sets the money value for the discounted price.
1010
discount:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ properties:
1313
minLength: 2
1414
maxLength: 256
1515
value:
16-
type: Money
16+
type: TypedMoneyDraft
1717
description: |
1818
Money value of this Price.
1919
country?:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ properties:
1515
A [Price](ctp:api:type:Price) or [StandalonePrice](ctp:api:type:StandalonePrice) cannot contain more than one tier with the same `minimumQuantity`.
1616
In the case one of the constraint is not met an [InvalidField](ctp:api:type:InvalidFieldError) is returned.
1717
value:
18-
type: Money
18+
type: TypedMoneyDraft
1919
description: |
2020
Money value that applies when the `minimumQuantity` is greater than or equal to the [LineItem](ctp:api:type:LineItem) `quantity`.
2121

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ properties:
1616
Specifies to which [ProductVariant](ctp:api:type:ProductVariant) the API associates this Price.
1717
It is not validated to exist in product variants.
1818
value:
19-
type: Money
19+
type: TypedMoneyDraft
2020
description: |
2121
Sets the money value of this Price.
2222
country?:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: |
88
example: !include ../../../examples/StandalonePrice/StandalonePriceChangeValueAction.json
99
properties:
1010
value:
11-
type: Money
11+
type: TypedMoneyDraft
1212
description: |
1313
New value to set. Must not be empty.
1414
staged?:

0 commit comments

Comments
 (0)