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