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