Raw
1 type: object
2 description: The address's details.
3 properties:
4 first_name:
5 type: string
6 title: first_name
7 description: The customer's first name.
8 last_name:
9 type: string
10 title: last_name
11 description: The customer's last name.
12 phone:
13 type: string
14 title: phone
15 description: The customer's phone.
16 company:
17 type: string
18 title: company
19 description: The address's company.
20 address_1:
21 type: string
22 title: address_1
23 description: The address's first line.
24 address_2:
25 type: string
26 title: address_2
27 description: The address's second line.
28 city:
29 type: string
30 title: city
31 description: The address's city.
32 country_code:
33 type: string
34 title: country_code
35 description: The address's country code.
36 province:
37 type: string
38 title: province
39 description: The address's ISO 3166-2 province code. Must be lower-case.
40 example: us-ca
41 externalDocs:
42 url: https://en.wikipedia.org/wiki/ISO_3166-2
43 description: Learn more about ISO 3166-2
44 postal_code:
45 type: string
46 title: postal_code
47 description: The address's postal code.
48 address_name:
49 type: string
50 title: address_name
51 description: The address's name.
52 is_default_shipping:
53 type: boolean
54 title: is_default_shipping
55 description: Whether the address is used by default for shipping during checkout.
56 is_default_billing:
57 type: boolean
58 title: is_default_billing
59 description: Whether the address is used by default for billing during checkout.
60 metadata:
61 type: object
62 description: Holds custom key-value pairs.
63 x-schemaName: StoreCreateCustomerAddress