Skip to content

Commit

Permalink
add customer schema
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-andreadao committed Sep 6, 2024
1 parent 310a554 commit dbc447f
Showing 1 changed file with 46 additions and 1 deletion.
47 changes: 46 additions & 1 deletion reference/checkouts.sf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1136,12 +1136,57 @@ components:
format: double
Customer:
type: object
description: Customer details.
properties:
addresses:
type: array
items:
type: object
properties: {}
properties:
id:
type: integer
description: ''
firstName:
type: string
description: ''
lastName:
type: string
description: ''
company:
type: string
description: ''
address1:
type: string
description: ''
address2:
type: string
description: ''
city:
type: string
description: ''
stateOrProvince:
type: string
description: State or province.
stateOrProvinceCode:
type: string
description: ''
countryCode:
type: string
description: '[ISO 3166-1 alpha-2 code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) for the country.'
postalCode:
type: string
description: ''
phone:
pattern: '^\+?[1-9]\d{1,14}(x\d{1-5})?$'
type: string
description: ''
type:
type: string
description: 'Address type.'
customFields:
type: array
items:
$ref: '#/components/schemas/customFields'
customerGroup:
type: object
properties:
Expand Down

0 comments on commit dbc447f

Please sign in to comment.