|
1
|
type: object |
|
2
|
description: The service zone's details. |
|
3
|
properties: |
|
4
|
name: |
|
5
|
type: string |
|
6
|
title: name |
|
7
|
description: The service zone's name. |
|
8
|
geo_zones: |
|
9
|
type: array |
|
10
|
description: The service zone's associated geo zones. |
|
11
|
items: |
|
12
|
oneOf: |
|
13
|
- type: object |
|
14
|
description: A country geo zone. |
|
15
|
required: |
|
16
|
- type |
|
17
|
- metadata |
|
18
|
- country_code |
|
19
|
properties: |
|
20
|
type: |
|
21
|
type: string |
|
22
|
title: type |
|
23
|
description: The geo zone's type. |
|
24
|
default: country |
|
25
|
metadata: |
|
26
|
type: object |
|
27
|
description: The geo zone's metadata. |
|
28
|
externalDocs: |
|
29
|
url: https://docs.medusajs.com/api/admin#manage-metadata |
|
30
|
description: Learn how to manage metadata |
|
31
|
country_code: |
|
32
|
type: string |
|
33
|
title: country_code |
|
34
|
description: The geo zone's country code. |
|
35
|
id: |
|
36
|
type: string |
|
37
|
title: id |
|
38
|
description: The ID of an existing geo zone. |
|
39
|
- type: object |
|
40
|
description: A province geo zone. |
|
41
|
required: |
|
42
|
- type |
|
43
|
- metadata |
|
44
|
- country_code |
|
45
|
- province_code |
|
46
|
properties: |
|
47
|
type: |
|
48
|
type: string |
|
49
|
title: type |
|
50
|
description: The geo zone's type. |
|
51
|
default: province |
|
52
|
metadata: |
|
53
|
type: object |
|
54
|
description: The geo zone's metadata. |
|
55
|
externalDocs: |
|
56
|
url: https://docs.medusajs.com/api/admin#manage-metadata |
|
57
|
description: Learn how to manage metadata |
|
58
|
country_code: |
|
59
|
type: string |
|
60
|
title: country_code |
|
61
|
description: The geo zone's country code. |
|
62
|
province_code: |
|
63
|
type: string |
|
64
|
title: province_code |
|
65
|
description: The geo zone's ISO 3166-2 province code. Must be lower-case. |
|
66
|
example: us-ca |
|
67
|
externalDocs: |
|
68
|
url: https://en.wikipedia.org/wiki/ISO_3166-2 |
|
69
|
description: Learn more about ISO 3166-2 |
|
70
|
id: |
|
71
|
type: string |
|
72
|
title: id |
|
73
|
description: The ID of an existing geo zone. |
|
74
|
- type: object |
|
75
|
description: A city geo zone |
|
76
|
required: |
|
77
|
- type |
|
78
|
- metadata |
|
79
|
- city |
|
80
|
- country_code |
|
81
|
- province_code |
|
82
|
properties: |
|
83
|
type: |
|
84
|
type: string |
|
85
|
title: type |
|
86
|
description: The geo zone's type. |
|
87
|
default: city |
|
88
|
metadata: |
|
89
|
type: object |
|
90
|
description: The geo zone's metadata. |
|
91
|
externalDocs: |
|
92
|
url: https://docs.medusajs.com/api/admin#manage-metadata |
|
93
|
description: Learn how to manage metadata |
|
94
|
city: |
|
95
|
type: string |
|
96
|
title: city |
|
97
|
description: The geo zone's city. |
|
98
|
country_code: |
|
99
|
type: string |
|
100
|
title: country_code |
|
101
|
description: The geo zone's country code. |
|
102
|
province_code: |
|
103
|
type: string |
|
104
|
title: province_code |
|
105
|
description: The geo zone's ISO 3166-2 province code. Must be lower-case. |
|
106
|
example: us-ca |
|
107
|
externalDocs: |
|
108
|
url: https://en.wikipedia.org/wiki/ISO_3166-2 |
|
109
|
description: Learn more about ISO 3166-2 |
|
110
|
id: |
|
111
|
type: string |
|
112
|
title: id |
|
113
|
description: The ID of an existing geo zone. |
|
114
|
- type: object |
|
115
|
description: A ZIP geo zone. |
|
116
|
required: |
|
117
|
- type |
|
118
|
- metadata |
|
119
|
- city |
|
120
|
- country_code |
|
121
|
- province_code |
|
122
|
- postal_expression |
|
123
|
properties: |
|
124
|
type: |
|
125
|
type: string |
|
126
|
title: type |
|
127
|
description: The geo zone's type. |
|
128
|
default: zip |
|
129
|
metadata: |
|
130
|
type: object |
|
131
|
description: The geo zone's metadata. |
|
132
|
externalDocs: |
|
133
|
url: https://docs.medusajs.com/api/admin#manage-metadata |
|
134
|
description: Learn how to manage metadata |
|
135
|
city: |
|
136
|
type: string |
|
137
|
title: city |
|
138
|
description: The geo zone's city. |
|
139
|
country_code: |
|
140
|
type: string |
|
141
|
title: country_code |
|
142
|
description: The geo zone's country code. |
|
143
|
province_code: |
|
144
|
type: string |
|
145
|
title: province_code |
|
146
|
description: The geo zone's ISO 3166-2 province code. Must be lower-case. |
|
147
|
example: us-ca |
|
148
|
externalDocs: |
|
149
|
url: https://en.wikipedia.org/wiki/ISO_3166-2 |
|
150
|
description: Learn more about ISO 3166-2 |
|
151
|
postal_expression: |
|
152
|
type: object |
|
153
|
description: The geo zone's postal expression or ZIP code. |
|
154
|
id: |
|
155
|
type: string |
|
156
|
title: id |
|
157
|
description: The ID of an existing geo zone. |
|
158
|
x-schemaName: AdminUpdateFulfillmentSetServiceZone |