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 Apr 15, 2024
1 parent c132e56 commit c8a374e
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 8 deletions.
3 changes: 2 additions & 1 deletion api-specs/api/examples/customer-sign-in-result.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"version": 1,
"createdAt": "2015-07-06T13:22:33.339Z",
"lastModifiedAt": "2015-07-06T13:22:33.339Z",
"authenticationMode": "Password"
"authenticationMode": "Password",
"stores": []
}
}
3 changes: 2 additions & 1 deletion api-specs/api/examples/customer-update-response.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
"version": 4,
"createdAt": "2015-05-06T12:10:12.421Z",
"lastModifiedAt": "2015-07-06T13:22:33.339Z",
"authenticationMode": "Password"
"authenticationMode": "Password",
"stores": []
}
2 changes: 1 addition & 1 deletion api-specs/api/types/business-unit/BusinessUnit.raml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ properties:
type: BusinessUnitStatus
description: |
Indicates whether the Business Unit can be edited and used in [Orders](/../api/projects/orders).
stores?:
stores:
type: StoreKeyReference[]
description: |
References to [Stores](ctp:api:type:Store) the Business Unit is associated with. Only present when `storeMode` is `Explicit`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: |
Orders created before the Set Stores update action remain unchanged.
Setting the Stores on a Business Unit generates a [BusinessUnitStoresSet](ctp:api:type:BusinessUnitStoresSetMessage) Message.
properties:
stores?:
stores:
type: StoreResourceIdentifier[]
description: |
[Stores](ctp:api:type:Store) to set. Overrides the current list of Stores.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: |
This action generates a [CartDiscountStoresSet](ctp:api:type:CartDiscountStoresSetMessage) Message.
properties:
stores?:
stores:
type: StoreResourceIdentifier[]
maxItems: 500
description: |
Expand Down
4 changes: 2 additions & 2 deletions api-specs/api/types/customer/Customer.raml
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@ properties:
type: string
description: |
Salutation of the Customer, for example, 'Mr.' or 'Mrs.'.
stores?:
stores:
type: StoreKeyReference[]
description: |
[Stores](ctp:api:type:Store) to which the Customer is assigned to.
- If no Stores are specified, the Customer is a global customer, and can log in using the [Password Flow for global Customers](/../api/authorization#password-flow-for-global-customers).
- If `stores` is empty, the Customer is a global customer, and can log in using the [Password Flow for global Customers](/../api/authorization#password-flow-for-global-customers).
- If any Stores are specified, the Customer can only log in using the [Password Flow for Customers in a Store](/../api/authorization#password-flow-for-customers-in-a-store) for those specific Stores.
authenticationMode:
type: AuthenticationMode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: |
Sets the Stores the Customer account is associated with.
If no Stores are specified, the Customer becomes a [global Customer](/../api/customers-overview#global-versus-store-specific-customers).
properties:
stores?:
stores:
type: StoreResourceIdentifier[]
description: |
ResourceIdentifier of the Stores to set.

0 comments on commit c8a374e

Please sign in to comment.