Skip to content

Commit 8690229

Browse files
committed
Updated API from documentation release
1 parent 71f39fc commit 8690229

File tree

45 files changed

+49
-55
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+49
-55
lines changed

api-specs/api/types/business-unit/BusinessUnitDraft.raml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ properties:
6060
For [Companies](ctp:api:type:BusinessUnitType), the value of this field is always `Explicit`.
6161
For [Divisions](ctp:api:type:BusinessUnitType), the default value is `ExplicitAndFromParent`.
6262
addresses?:
63-
type: BaseAddress[]
63+
type: AddressDraft[]
6464
description: |
6565
Addresses used by the Business Unit.
6666
shippingAddresses?:

api-specs/api/types/business-unit/updates/BusinessUnitAddAddressAction.raml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ description: |
88
Adding an address to a [Business Unit](ctp:api:type:BusinessUnit) generates a [BusinessUnitAddressAdded](ctp:api:type:BusinessUnitAddressAddedMessage) Message.
99
properties:
1010
address:
11-
type: BaseAddress
11+
type: AddressDraft
1212
description: |
1313
Address to add to the addresses of the [Business Unit](ctp:api:type:BusinessUnit).

api-specs/api/types/business-unit/updates/BusinessUnitChangeAddressAction.raml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ properties:
1616
description: |
1717
Key of the address to change. Either `addressId` or `addressKey` is required.
1818
address:
19-
type: BaseAddress
19+
type: AddressDraft
2020
description: |
2121
New address to set.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ properties:
7474
Determines how stock quantities are tracked for Line Items in the Cart.
7575
default: None
7676
billingAddress?:
77-
type: BaseAddress
77+
type: AddressDraft
7878
description: |
7979
Billing address associated with the Cart.
8080
shippingAddress?:
81-
type: BaseAddress
81+
type: AddressDraft
8282
description: |
8383
Shipping address for a Cart with `Single` [ShippingMode](ctp:api:type:ShippingMode). Determines eligible [ShippingMethod](ctp:api:type:ShippingMethod) rates and Tax Rates of Line Items.
8484
Must be one of the `itemShippingAddresses` when that field is also provided.
@@ -110,7 +110,7 @@ properties:
110110
description: |-
111111
Shipping Methods for a Cart with `Multiple` [ShippingMode](ctp:api:type:ShippingMode).
112112
itemShippingAddresses?:
113-
type: BaseAddress[]
113+
type: AddressDraft[]
114114
description: |
115115
Multiple shipping addresses of the Cart. Each address must contain a `key` that is unique in this Cart.
116116
The keys are used by [LineItems](ctp:api:type:LineItem) to reference these addresses under their `shippingDetails`.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ properties:
1212
description: |
1313
Name of the custom Shipping Method.
1414
shippingAddress?:
15-
type: BaseAddress
15+
type: AddressDraft
1616
description: |
1717
Determines the shipping rate and Tax Rate of the associated Line Items.
1818
shippingRate:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ properties:
1414
description: |
1515
Shipping Methods added to the Cart with `Multiple` [ShippingMode](ctp:api:type:ShippingMode).
1616
shippingAddress:
17-
type: BaseAddress
17+
type: AddressDraft
1818
description: |
1919
Determines the shipping rate and Tax Rate of the associated Line Items.
2020
shippingRateInput?:

api-specs/api/types/cart/updates/CartAddCustomShippingMethodAction.raml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ properties:
1717
description: |
1818
Name of the custom Shipping Method.
1919
shippingAddress:
20-
type: BaseAddress
20+
type: AddressDraft
2121
description: |
2222
Determines the shipping rate and Tax Rate of the associated Line Items.
2323
shippingRate:

api-specs/api/types/cart/updates/CartAddItemShippingAddressAction.raml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: |
88
Adds an address to a Cart when shipping to multiple addresses is desired.
99
properties:
1010
address:
11-
type: BaseAddress
11+
type: AddressDraft
1212
description: |
1313
Address to append to `itemShippingAddresses`.
1414

api-specs/api/types/cart/updates/CartAddShippingMethodAction.raml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ properties:
1717
ResourceIdentifier to a [ShippingMethod](ctp:api:type:ShippingMethod) to add to the Cart with `Multiple` [ShippingMode](ctp:api:type:ShippingMode).
1818
If the referenced Shipping Method has a predicate that does not match the Cart, an [InvalidOperation](ctp:api:type:InvalidOperationError) error is returned.
1919
shippingAddress:
20-
type: BaseAddress
20+
type: AddressDraft
2121
description: |
2222
Determines the shipping rate and Tax Rate of the Line Items.
2323
shippingRateInput?:

api-specs/api/types/cart/updates/CartSetBillingAddressAction.raml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ discriminatorValue: setBillingAddress
66
example: !include ../../../examples/Cart/CartSetBillingAddressAction.json
77
properties:
88
address?:
9-
type: BaseAddress
9+
type: AddressDraft
1010
description: |
1111
Value to set.
1212
If empty, any existing value is removed.

0 commit comments

Comments
 (0)