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