1 /**
2 * @schema CreateAddress
3 * type: object
4 * description: The address to create.
5 * x-schemaName: CreateAddress
6 * properties:
7 * customer_id:
8 * type: string
9 * title: customer_id
10 * description: The ID of the customer this address belongs to.
11 * company:
12 * type: string
13 * title: company
14 * description: The address's company.
15 * first_name:
16 * type: string
17 * title: first_name
18 * description: The address's first name.
19 * last_name:
20 * type: string
21 * title: last_name
22 * description: The address's last name.
23 * address_1:
24 * type: string
25 * title: address_1
26 * description: The address's first line.
27 * address_2:
28 * type: string
29 * title: address_2
30 * description: The address's second line.
31 * city:
32 * type: string
33 * title: city
34 * description: The address's city.
35 * country_code:
36 * type: string
37 * title: country_code
38 * description: The address's country code.
39 * example: us
40 * province:
41 * type: string
42 * title: province
43 * description: The address's ISO 3166-2 province code. Must be lower-case.
44 * example: "us-ca"
45 * externalDocs:
46 * url: https://en.wikipedia.org/wiki/ISO_3166-2
47 * description: Learn more about ISO 3166-2
48 * postal_code:
49 * type: string
50 * title: postal_code
51 * description: The address's postal code.
52 * phone:
53 * type: string
54 * title: phone
55 * description: The address's phone.
56 * metadata:
57 * type: object
58 * description: The address's metadata, can hold custom key-value pairs.
59 * externalDocs:
60 * url: https://docs.medusajs.com/api/store#manage-metadata
61 * description: Learn how to manage metadata
62 *
63 */
64