Raw
1 type: object
2 description: The details of the stock location address to create.
3 x-schemaName: AdminUpsertStockLocationAddress
4 required:
5 - country_code
6 - address_1
7 properties:
8 address_1:
9 type: string
10 title: address_1
11 description: The address's first line.
12 address_2:
13 type: string
14 title: address_2
15 description: The address's second line.
16 company:
17 type: string
18 title: company
19 description: The address's company.
20 country_code:
21 type: string
22 title: country_code
23 description: The address's country code.
24 example: usd
25 city:
26 type: string
27 title: city
28 description: The address's city.
29 phone:
30 type: string
31 title: phone
32 description: The address's phone.
33 postal_code:
34 type: string
35 title: postal_code
36 description: The address's postal code.
37 province:
38 type: string
39 title: province
40 description: The address's ISO 3166-2 province code. Must be lower-case.
41 example: us-ca
42 externalDocs:
43 url: https://en.wikipedia.org/wiki/ISO_3166-2
44 description: Learn more about ISO 3166-2
45 metadata:
46 type: object
47 description: The address's metadata.