Skip to content

Commit f3a3bef

Browse files
committed
Updated API from documentation release
1 parent cfeb964 commit f3a3bef

11 files changed

Lines changed: 26 additions & 10 deletions

api-specs/api/examples/business-unit.example.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
"key": "commercetools"
1515
},
1616
"addresses": [],
17+
"shippingAddressIds": [],
18+
"billingAddressIds": [],
1719
"associates": [],
1820
"associateMode": "Explicit",
1921
"inheritedAssociates": [],

api-specs/api/examples/business-units.example.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
"key": "commercetools"
1919
},
2020
"addresses": [],
21+
"shippingAddressIds": [],
22+
"billingAddressIds": [],
2123
"associates": [],
2224
"associateMode": "Explicit",
2325
"inheritedAssociates": [],

api-specs/api/examples/customer-sign-in-result.example.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
"createdAt": "2015-07-06T13:22:33.339Z",
1212
"lastModifiedAt": "2015-07-06T13:22:33.339Z",
1313
"authenticationMode": "Password",
14-
"stores": []
14+
"stores": [],
15+
"shippingAddressIds": [],
16+
"billingAddressIds": [],
17+
"customerGroupAssignments": []
1518
}
1619
}

api-specs/api/examples/customer-update-response.example.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,8 @@
1919
"createdAt": "2015-05-06T12:10:12.421Z",
2020
"lastModifiedAt": "2015-07-06T13:22:33.339Z",
2121
"authenticationMode": "Password",
22-
"stores": []
22+
"stores": [],
23+
"shippingAddressIds": [],
24+
"billingAddressIds": [],
25+
"customerGroupAssignments": []
2326
}

api-specs/api/examples/customer.example.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@
2020
"billingAddressIds": [],
2121
"isEmailVerified": false,
2222
"stores": [],
23-
"authenticationMode": "Password"
23+
"authenticationMode": "Password",
24+
"customerGroupAssignments": []
2425
}

api-specs/api/examples/customers.example.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"billingAddressIds": [],
2727
"isEmailVerified": false,
2828
"stores": [],
29-
"authenticationMode": "Password"
29+
"authenticationMode": "Password",
30+
"customerGroupAssignments": []
3031
}
3132
]
3233
}

api-specs/api/examples/my-business-unit.example.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
"key": "commercetools"
1515
},
1616
"addresses": [],
17+
"shippingAddressIds": [],
18+
"billingAddressIds": [],
1719
"associates": [],
1820
"associateMode": "Explicit",
1921
"inheritedAssociates": [],

api-specs/api/examples/my-business-units.example.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
"key": "commercetools"
2121
},
2222
"addresses": [],
23+
"shippingAddressIds": [],
24+
"billingAddressIds": [],
2325
"associates": [],
2426
"associateMode": "Explicit",
2527
"inheritedAssociates": [],

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@ properties:
8989
type: Address[]
9090
description: |
9191
Addresses used by the Business Unit.
92-
shippingAddressIds?:
92+
shippingAddressIds:
9393
type: string[]
9494
description: |
9595
Unique identifiers of addresses used as shipping addresses.
9696
defaultShippingAddressId?:
9797
type: string
9898
description: |
9999
Unique identifier of the address used as the default shipping address.
100-
billingAddressIds?:
100+
billingAddressIds:
101101
type: string[]
102102
description: |
103103
Unique identifiers of addresses used as billing addresses.

api-specs/api/types/customer/Customer.raml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,15 @@ properties:
9696
type: string
9797
description: |
9898
ID of the address in `addresses` used as the default shipping address.
99-
shippingAddressIds?:
99+
shippingAddressIds:
100100
type: string[]
101101
description: |
102102
IDs of addresses in `addresses` used as shipping addresses.
103103
defaultBillingAddressId?:
104104
type: string
105105
description: |
106106
ID of the address in `addresses` used as the default billing address.
107-
billingAddressIds?:
107+
billingAddressIds:
108108
type: string[]
109109
description: |
110110
IDs of addresses in `addresses` used as billing addresses.
@@ -116,7 +116,7 @@ properties:
116116
type: CustomerGroupReference
117117
description: |
118118
[CustomerGroup](ctp:api:type:CustomerGroup) to which the Customer belongs.
119-
customerGroupAssignments?:
119+
customerGroupAssignments:
120120
type: CustomerGroupAssignment[]
121121
description: |
122122
Customer Groups that the Customer belongs to.

0 commit comments

Comments
 (0)