1 /**
2 * @schema BaseOrderAddress
3 * type: object
4 * description: An order address.
5 * x-schemaName: BaseOrderAddress
6 * required:
7 * - id
8 * - metadata
9 * - created_at
10 * - updated_at
11 * properties:
12 * id:
13 * type: string
14 * title: id
15 * description: The address's ID.
16 * customer_id:
17 * type: string
18 * title: customer_id
19 * description: The ID of the customer this address belongs to.
20 * first_name:
21 * type: string
22 * title: first_name
23 * description: The address's first name.
24 * last_name:
25 * type: string
26 * title: last_name
27 * description: The address's last name.
28 * phone:
29 * type: string
30 * title: phone
31 * description: The address's phone.
32 * company:
33 * type: string
34 * title: company
35 * description: The address's company.
36 * address_1:
37 * type: string
38 * title: address_1
39 * description: The address's first line.
40 * address_2:
41 * type: string
42 * title: address_2
43 * description: The address's second line.
44 * city:
45 * type: string
46 * title: city
47 * description: The address's city.
48 * country_code:
49 * type: string
50 * title: country_code
51 * description: The address's country code.
52 * example: us
53 * province:
54 * type: string
55 * title: province
56 * description: The address's lower-case ISO 3166-2 province code.
57 * example: us-ca
58 * externalDocs:
59 * url: https://en.wikipedia.org/wiki/ISO_3166-2
60 * description: Learn more about ISO 3166-2
61 * postal_code:
62 * type: string
63 * title: postal_code
64 * description: The address's postal code.
65 * metadata:
66 * type: object
67 * description: The address's metadata, can hold custom key-value pairs.
68 * externalDocs:
69 * url: https://docs.medusajs.com/api/store#manage-metadata
70 * description: Learn how to manage metadata
71 * created_at:
72 * type: string
73 * format: date-time
74 * title: created_at
75 * description: The date the address was created.
76 * updated_at:
77 * type: string
78 * format: date-time
79 * title: updated_at
80 * description: The date the address was updated.
81 *
82 */
83