shopify-webhook-schemas 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Readme.md +14 -2
- package/dist/src/anonymize-exemplars.d.ts +1 -0
- package/dist/src/anonymize-exemplars.js +51 -0
- package/dist/src/index.js +2 -2
- package/dist/src/scrape.js +501 -182
- package/metadatas/2024-07/app_purchases_one_time/update.json +1 -1
- package/metadatas/2024-07/app_subscriptions/approaching_capped_amount.json +1 -1
- package/metadatas/2024-07/app_subscriptions/update.json +1 -1
- package/metadatas/2024-07/bulk_operations/finish.json +2 -2
- package/metadatas/2024-07/checkouts/create.json +6 -6
- package/metadatas/2024-07/checkouts/update.json +6 -6
- package/metadatas/2024-07/draft_orders/create.json +20 -20
- package/metadatas/2024-07/draft_orders/update.json +20 -20
- package/metadatas/2024-07/orders/edited.json +1 -0
- package/metadatas/2024-07/product_listings/add.json +1 -13
- package/metadatas/2024-07/product_listings/update.json +1 -13
- package/metadatas/2024-07/scheduled_product_listings/add.json +1 -13
- package/metadatas/2024-07/scheduled_product_listings/update.json +1 -13
- package/metadatas/2024-07/selling_plan_groups/create.json +2 -2
- package/metadatas/2024-07/selling_plan_groups/delete.json +2 -2
- package/metadatas/2024-07/selling_plan_groups/update.json +2 -2
- package/metadatas/2024-07/subscription_billing_attempts/challenged.json +2 -2
- package/metadatas/2024-07/subscription_billing_attempts/failure.json +2 -2
- package/metadatas/2024-07/subscription_billing_attempts/success.json +2 -2
- package/metadatas/2024-07/subscription_billing_cycle_edits/create.json +1 -1
- package/metadatas/2024-07/subscription_billing_cycle_edits/delete.json +1 -1
- package/metadatas/2024-07/subscription_billing_cycle_edits/update.json +1 -1
- package/metadatas/2024-07/subscription_billing_cycles/skip.json +1 -1
- package/metadatas/2024-07/subscription_billing_cycles/unskip.json +1 -1
- package/metadatas/2024-07/subscription_contracts/activate.json +3 -3
- package/metadatas/2024-07/subscription_contracts/cancel.json +3 -3
- package/metadatas/2024-07/subscription_contracts/create.json +3 -3
- package/metadatas/2024-07/subscription_contracts/expire.json +3 -3
- package/metadatas/2024-07/subscription_contracts/fail.json +3 -3
- package/metadatas/2024-07/subscription_contracts/pause.json +3 -3
- package/metadatas/2024-07/subscription_contracts/update.json +3 -3
- package/package.json +9 -1
- package/schemas/2023-07/checkouts/create.json +578 -102
- package/schemas/2023-07/checkouts/delete.json +26 -4
- package/schemas/2023-07/checkouts/update.json +578 -102
- package/schemas/2023-07/collection_listings/add.json +9 -2
- package/schemas/2023-07/collection_listings/remove.json +7 -0
- package/schemas/2023-07/collection_listings/update.json +9 -2
- package/schemas/2023-07/company_locations/create.json +8 -2
- package/schemas/2023-07/company_locations/delete.json +8 -2
- package/schemas/2023-07/company_locations/update.json +8 -2
- package/schemas/2023-07/draft_orders/create.json +729 -126
- package/schemas/2023-07/draft_orders/update.json +729 -126
- package/schemas/2023-07/fulfillments/create.json +149 -30
- package/schemas/2023-07/fulfillments/update.json +149 -30
- package/schemas/2023-07/order_transactions/create.json +31 -9
- package/schemas/2023-07/orders/cancelled.json +966 -48
- package/schemas/2023-07/orders/create.json +966 -48
- package/schemas/2023-07/orders/fulfilled.json +966 -48
- package/schemas/2023-07/orders/paid.json +966 -48
- package/schemas/2023-07/orders/partially_fulfilled.json +966 -48
- package/schemas/2023-07/orders/updated.json +966 -48
- package/schemas/2023-07/products/create.json +191 -17
- package/schemas/2023-07/products/update.json +191 -17
- package/schemas/2023-10/checkouts/create.json +578 -102
- package/schemas/2023-10/checkouts/delete.json +26 -4
- package/schemas/2023-10/checkouts/update.json +578 -102
- package/schemas/2023-10/collection_listings/add.json +9 -2
- package/schemas/2023-10/collection_listings/remove.json +7 -0
- package/schemas/2023-10/collection_listings/update.json +9 -2
- package/schemas/2023-10/company_locations/create.json +8 -2
- package/schemas/2023-10/company_locations/delete.json +8 -2
- package/schemas/2023-10/company_locations/update.json +8 -2
- package/schemas/2023-10/draft_orders/create.json +729 -126
- package/schemas/2023-10/draft_orders/update.json +729 -126
- package/schemas/2023-10/fulfillments/create.json +149 -30
- package/schemas/2023-10/fulfillments/update.json +149 -30
- package/schemas/2023-10/order_transactions/create.json +28 -9
- package/schemas/2023-10/orders/cancelled.json +966 -48
- package/schemas/2023-10/orders/create.json +966 -48
- package/schemas/2023-10/orders/fulfilled.json +966 -48
- package/schemas/2023-10/orders/paid.json +966 -48
- package/schemas/2023-10/orders/partially_fulfilled.json +966 -48
- package/schemas/2023-10/orders/updated.json +966 -48
- package/schemas/2023-10/products/create.json +191 -17
- package/schemas/2023-10/products/update.json +191 -17
- package/schemas/2024-01/checkouts/create.json +585 -100
- package/schemas/2024-01/checkouts/delete.json +26 -4
- package/schemas/2024-01/checkouts/update.json +585 -100
- package/schemas/2024-01/collection_listings/add.json +9 -2
- package/schemas/2024-01/collection_listings/remove.json +7 -0
- package/schemas/2024-01/collection_listings/update.json +9 -2
- package/schemas/2024-01/company_locations/create.json +8 -2
- package/schemas/2024-01/company_locations/delete.json +8 -2
- package/schemas/2024-01/company_locations/update.json +8 -2
- package/schemas/2024-01/draft_orders/create.json +733 -124
- package/schemas/2024-01/draft_orders/update.json +733 -124
- package/schemas/2024-01/fulfillment_orders/split.json +237 -2
- package/schemas/2024-01/fulfillments/create.json +149 -30
- package/schemas/2024-01/fulfillments/update.json +149 -30
- package/schemas/2024-01/order_transactions/create.json +28 -9
- package/schemas/2024-01/orders/cancelled.json +970 -50
- package/schemas/2024-01/orders/create.json +970 -50
- package/schemas/2024-01/orders/fulfilled.json +970 -50
- package/schemas/2024-01/orders/paid.json +970 -50
- package/schemas/2024-01/orders/partially_fulfilled.json +970 -50
- package/schemas/2024-01/orders/updated.json +970 -50
- package/schemas/2024-01/products/create.json +191 -17
- package/schemas/2024-01/products/update.json +191 -17
- package/schemas/2024-04/checkouts/create.json +585 -100
- package/schemas/2024-04/checkouts/delete.json +26 -4
- package/schemas/2024-04/checkouts/update.json +585 -100
- package/schemas/2024-04/collection_listings/add.json +9 -2
- package/schemas/2024-04/collection_listings/remove.json +7 -0
- package/schemas/2024-04/collection_listings/update.json +9 -2
- package/schemas/2024-04/company_locations/create.json +8 -2
- package/schemas/2024-04/company_locations/delete.json +8 -2
- package/schemas/2024-04/company_locations/update.json +8 -2
- package/schemas/2024-04/draft_orders/create.json +733 -124
- package/schemas/2024-04/draft_orders/update.json +733 -124
- package/schemas/2024-04/fulfillment_orders/split.json +237 -2
- package/schemas/2024-04/fulfillments/create.json +149 -30
- package/schemas/2024-04/fulfillments/update.json +149 -30
- package/schemas/2024-04/order_transactions/create.json +28 -9
- package/schemas/2024-04/orders/cancelled.json +967 -50
- package/schemas/2024-04/orders/create.json +967 -50
- package/schemas/2024-04/orders/fulfilled.json +967 -50
- package/schemas/2024-04/orders/paid.json +967 -50
- package/schemas/2024-04/orders/partially_fulfilled.json +967 -50
- package/schemas/2024-04/orders/updated.json +967 -50
- package/schemas/2024-04/products/create.json +191 -17
- package/schemas/2024-04/products/update.json +191 -17
- package/schemas/2024-07/checkouts/create.json +585 -100
- package/schemas/2024-07/checkouts/delete.json +26 -4
- package/schemas/2024-07/checkouts/update.json +585 -100
- package/schemas/2024-07/collection_listings/add.json +9 -2
- package/schemas/2024-07/collection_listings/remove.json +7 -0
- package/schemas/2024-07/collection_listings/update.json +9 -2
- package/schemas/2024-07/company_locations/create.json +8 -2
- package/schemas/2024-07/company_locations/delete.json +8 -2
- package/schemas/2024-07/company_locations/update.json +8 -2
- package/schemas/2024-07/draft_orders/create.json +733 -124
- package/schemas/2024-07/draft_orders/update.json +733 -124
- package/schemas/2024-07/fulfillment_orders/split.json +237 -2
- package/schemas/2024-07/fulfillments/create.json +149 -30
- package/schemas/2024-07/fulfillments/update.json +149 -30
- package/schemas/2024-07/order_transactions/create.json +28 -9
- package/schemas/2024-07/orders/cancelled.json +967 -50
- package/schemas/2024-07/orders/create.json +967 -50
- package/schemas/2024-07/orders/edited.json +5 -0
- package/schemas/2024-07/orders/fulfilled.json +967 -50
- package/schemas/2024-07/orders/paid.json +967 -50
- package/schemas/2024-07/orders/partially_fulfilled.json +967 -50
- package/schemas/2024-07/orders/updated.json +967 -50
- package/schemas/2024-07/product_listings/add.json +1 -44
- package/schemas/2024-07/product_listings/update.json +1 -44
- package/schemas/2024-07/products/create.json +191 -17
- package/schemas/2024-07/products/update.json +191 -17
- package/schemas/2024-07/scheduled_product_listings/add.json +1 -44
- package/schemas/2024-07/scheduled_product_listings/update.json +1 -44
|
@@ -70,7 +70,10 @@
|
|
|
70
70
|
"type": "string"
|
|
71
71
|
},
|
|
72
72
|
"variant_title": {
|
|
73
|
-
"type":
|
|
73
|
+
"type": [
|
|
74
|
+
"string",
|
|
75
|
+
"null"
|
|
76
|
+
]
|
|
74
77
|
},
|
|
75
78
|
"sku": {
|
|
76
79
|
"type": "string"
|
|
@@ -98,20 +101,88 @@
|
|
|
98
101
|
},
|
|
99
102
|
"tax_lines": {
|
|
100
103
|
"type": "array",
|
|
101
|
-
"items":
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
104
|
+
"items": {
|
|
105
|
+
"type": "object",
|
|
106
|
+
"properties": {
|
|
107
|
+
"price": {
|
|
108
|
+
"type": "string"
|
|
109
|
+
},
|
|
110
|
+
"rate": {
|
|
111
|
+
"type": "number"
|
|
112
|
+
},
|
|
113
|
+
"title": {
|
|
114
|
+
"type": "string"
|
|
115
|
+
},
|
|
116
|
+
"channel_liable": {
|
|
117
|
+
"type": "boolean"
|
|
118
|
+
},
|
|
119
|
+
"price_set": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"properties": {
|
|
122
|
+
"shop_money": {
|
|
123
|
+
"type": "object",
|
|
124
|
+
"properties": {
|
|
125
|
+
"amount": {
|
|
126
|
+
"type": "string"
|
|
127
|
+
},
|
|
128
|
+
"currency_code": {
|
|
129
|
+
"type": "string"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"required": [
|
|
133
|
+
"amount",
|
|
134
|
+
"currency_code"
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
"presentment_money": {
|
|
138
|
+
"type": "object",
|
|
139
|
+
"properties": {
|
|
140
|
+
"amount": {
|
|
141
|
+
"type": "string"
|
|
142
|
+
},
|
|
143
|
+
"currency_code": {
|
|
144
|
+
"type": "string"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"required": [
|
|
148
|
+
"amount",
|
|
149
|
+
"currency_code"
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"required": [
|
|
154
|
+
"shop_money",
|
|
155
|
+
"presentment_money"
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"required": [
|
|
160
|
+
"price",
|
|
161
|
+
"rate",
|
|
162
|
+
"title"
|
|
163
|
+
]
|
|
164
|
+
}
|
|
105
165
|
},
|
|
106
166
|
"name": {
|
|
107
167
|
"type": "string"
|
|
108
168
|
},
|
|
109
169
|
"properties": {
|
|
110
170
|
"type": "array",
|
|
111
|
-
"items":
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
171
|
+
"items": {
|
|
172
|
+
"type": "object",
|
|
173
|
+
"properties": {
|
|
174
|
+
"value": {
|
|
175
|
+
"type": "string"
|
|
176
|
+
},
|
|
177
|
+
"name": {
|
|
178
|
+
"type": "string"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"required": [
|
|
182
|
+
"value",
|
|
183
|
+
"name"
|
|
184
|
+
]
|
|
185
|
+
}
|
|
115
186
|
},
|
|
116
187
|
"price": {
|
|
117
188
|
"type": "string"
|
|
@@ -119,6 +190,249 @@
|
|
|
119
190
|
"admin_graphql_api_id": {
|
|
120
191
|
"type": "string",
|
|
121
192
|
"format": "uri"
|
|
193
|
+
},
|
|
194
|
+
"duties": {
|
|
195
|
+
"type": "array",
|
|
196
|
+
"items": false
|
|
197
|
+
},
|
|
198
|
+
"discount_allocations": {
|
|
199
|
+
"type": "array",
|
|
200
|
+
"items": {
|
|
201
|
+
"type": "object",
|
|
202
|
+
"properties": {
|
|
203
|
+
"amount": {
|
|
204
|
+
"type": "string"
|
|
205
|
+
},
|
|
206
|
+
"amount_set": {
|
|
207
|
+
"type": "object",
|
|
208
|
+
"properties": {
|
|
209
|
+
"presentment_money": {
|
|
210
|
+
"type": "object",
|
|
211
|
+
"properties": {
|
|
212
|
+
"currency_code": {
|
|
213
|
+
"type": "string"
|
|
214
|
+
},
|
|
215
|
+
"amount": {
|
|
216
|
+
"type": "string"
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"required": [
|
|
220
|
+
"currency_code",
|
|
221
|
+
"amount"
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
"shop_money": {
|
|
225
|
+
"type": "object",
|
|
226
|
+
"properties": {
|
|
227
|
+
"currency_code": {
|
|
228
|
+
"type": "string"
|
|
229
|
+
},
|
|
230
|
+
"amount": {
|
|
231
|
+
"type": "string"
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
"required": [
|
|
235
|
+
"currency_code",
|
|
236
|
+
"amount"
|
|
237
|
+
]
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"required": [
|
|
241
|
+
"presentment_money",
|
|
242
|
+
"shop_money"
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
"discount_application_index": {
|
|
246
|
+
"type": "integer"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"required": [
|
|
250
|
+
"amount",
|
|
251
|
+
"amount_set",
|
|
252
|
+
"discount_application_index"
|
|
253
|
+
]
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"total_discount_set": {
|
|
257
|
+
"type": "object",
|
|
258
|
+
"properties": {
|
|
259
|
+
"presentment_money": {
|
|
260
|
+
"type": "object",
|
|
261
|
+
"properties": {
|
|
262
|
+
"currency_code": {
|
|
263
|
+
"type": "string"
|
|
264
|
+
},
|
|
265
|
+
"amount": {
|
|
266
|
+
"type": "string"
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"required": [
|
|
270
|
+
"currency_code",
|
|
271
|
+
"amount"
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
"shop_money": {
|
|
275
|
+
"type": "object",
|
|
276
|
+
"properties": {
|
|
277
|
+
"amount": {
|
|
278
|
+
"type": "string"
|
|
279
|
+
},
|
|
280
|
+
"currency_code": {
|
|
281
|
+
"type": "string"
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"required": [
|
|
285
|
+
"amount",
|
|
286
|
+
"currency_code"
|
|
287
|
+
]
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
"required": [
|
|
291
|
+
"presentment_money",
|
|
292
|
+
"shop_money"
|
|
293
|
+
]
|
|
294
|
+
},
|
|
295
|
+
"fulfillment_status": {
|
|
296
|
+
"type": [
|
|
297
|
+
"string",
|
|
298
|
+
"null"
|
|
299
|
+
]
|
|
300
|
+
},
|
|
301
|
+
"product_exists": {
|
|
302
|
+
"type": "boolean"
|
|
303
|
+
},
|
|
304
|
+
"price_set": {
|
|
305
|
+
"type": "object",
|
|
306
|
+
"properties": {
|
|
307
|
+
"presentment_money": {
|
|
308
|
+
"type": "object",
|
|
309
|
+
"properties": {
|
|
310
|
+
"amount": {
|
|
311
|
+
"type": "string"
|
|
312
|
+
},
|
|
313
|
+
"currency_code": {
|
|
314
|
+
"type": "string"
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
"required": [
|
|
318
|
+
"amount",
|
|
319
|
+
"currency_code"
|
|
320
|
+
]
|
|
321
|
+
},
|
|
322
|
+
"shop_money": {
|
|
323
|
+
"type": "object",
|
|
324
|
+
"properties": {
|
|
325
|
+
"amount": {
|
|
326
|
+
"type": "string"
|
|
327
|
+
},
|
|
328
|
+
"currency_code": {
|
|
329
|
+
"type": "string"
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"required": [
|
|
333
|
+
"amount",
|
|
334
|
+
"currency_code"
|
|
335
|
+
]
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"required": [
|
|
339
|
+
"presentment_money",
|
|
340
|
+
"shop_money"
|
|
341
|
+
]
|
|
342
|
+
},
|
|
343
|
+
"attributed_staffs": {
|
|
344
|
+
"type": "array",
|
|
345
|
+
"items": false
|
|
346
|
+
},
|
|
347
|
+
"fulfillable_quantity": {
|
|
348
|
+
"type": "integer"
|
|
349
|
+
},
|
|
350
|
+
"total_discount": {
|
|
351
|
+
"type": "string"
|
|
352
|
+
},
|
|
353
|
+
"variant_inventory_management": {
|
|
354
|
+
"type": [
|
|
355
|
+
"string",
|
|
356
|
+
"null"
|
|
357
|
+
]
|
|
358
|
+
},
|
|
359
|
+
"pre_tax_price": {
|
|
360
|
+
"type": "string"
|
|
361
|
+
},
|
|
362
|
+
"pre_tax_price_set": {
|
|
363
|
+
"type": "object",
|
|
364
|
+
"properties": {
|
|
365
|
+
"presentment_money": {
|
|
366
|
+
"type": "object",
|
|
367
|
+
"properties": {
|
|
368
|
+
"amount": {
|
|
369
|
+
"type": "string"
|
|
370
|
+
},
|
|
371
|
+
"currency_code": {
|
|
372
|
+
"type": "string"
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
"required": [
|
|
376
|
+
"amount",
|
|
377
|
+
"currency_code"
|
|
378
|
+
]
|
|
379
|
+
},
|
|
380
|
+
"shop_money": {
|
|
381
|
+
"type": "object",
|
|
382
|
+
"properties": {
|
|
383
|
+
"amount": {
|
|
384
|
+
"type": "string"
|
|
385
|
+
},
|
|
386
|
+
"currency_code": {
|
|
387
|
+
"type": "string"
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
"required": [
|
|
391
|
+
"amount",
|
|
392
|
+
"currency_code"
|
|
393
|
+
]
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
"required": [
|
|
397
|
+
"presentment_money",
|
|
398
|
+
"shop_money"
|
|
399
|
+
]
|
|
400
|
+
},
|
|
401
|
+
"current_quantity": {
|
|
402
|
+
"type": "integer"
|
|
403
|
+
},
|
|
404
|
+
"applied_discount": {
|
|
405
|
+
"type": [
|
|
406
|
+
"object",
|
|
407
|
+
"null"
|
|
408
|
+
],
|
|
409
|
+
"properties": {
|
|
410
|
+
"value_type": {
|
|
411
|
+
"type": "string"
|
|
412
|
+
},
|
|
413
|
+
"amount": {
|
|
414
|
+
"type": "string"
|
|
415
|
+
},
|
|
416
|
+
"description": {
|
|
417
|
+
"type": "string"
|
|
418
|
+
},
|
|
419
|
+
"title": {
|
|
420
|
+
"type": "string"
|
|
421
|
+
},
|
|
422
|
+
"value": {
|
|
423
|
+
"type": "string"
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
"required": [
|
|
427
|
+
"value_type",
|
|
428
|
+
"amount",
|
|
429
|
+
"description",
|
|
430
|
+
"title",
|
|
431
|
+
"value"
|
|
432
|
+
]
|
|
433
|
+
},
|
|
434
|
+
"custom": {
|
|
435
|
+
"type": "boolean"
|
|
122
436
|
}
|
|
123
437
|
},
|
|
124
438
|
"required": [
|
|
@@ -136,10 +450,8 @@
|
|
|
136
450
|
"fulfillment_service",
|
|
137
451
|
"grams",
|
|
138
452
|
"tax_lines",
|
|
139
|
-
"applied_discount",
|
|
140
453
|
"name",
|
|
141
454
|
"properties",
|
|
142
|
-
"custom",
|
|
143
455
|
"price",
|
|
144
456
|
"admin_graphql_api_id"
|
|
145
457
|
]
|
|
@@ -161,10 +473,16 @@
|
|
|
161
473
|
"type": "string"
|
|
162
474
|
},
|
|
163
475
|
"zip": {
|
|
164
|
-
"type":
|
|
476
|
+
"type": [
|
|
477
|
+
"string",
|
|
478
|
+
"null"
|
|
479
|
+
]
|
|
165
480
|
},
|
|
166
481
|
"province": {
|
|
167
|
-
"type":
|
|
482
|
+
"type": [
|
|
483
|
+
"string",
|
|
484
|
+
"null"
|
|
485
|
+
]
|
|
168
486
|
},
|
|
169
487
|
"country": {
|
|
170
488
|
"type": "string"
|
|
@@ -173,16 +491,28 @@
|
|
|
173
491
|
"type": "string"
|
|
174
492
|
},
|
|
175
493
|
"address2": {
|
|
176
|
-
"type":
|
|
494
|
+
"type": [
|
|
495
|
+
"string",
|
|
496
|
+
"null"
|
|
497
|
+
]
|
|
177
498
|
},
|
|
178
499
|
"company": {
|
|
179
|
-
"type":
|
|
500
|
+
"type": [
|
|
501
|
+
"string",
|
|
502
|
+
"null"
|
|
503
|
+
]
|
|
180
504
|
},
|
|
181
505
|
"latitude": {
|
|
182
|
-
"type":
|
|
506
|
+
"type": [
|
|
507
|
+
"number",
|
|
508
|
+
"null"
|
|
509
|
+
]
|
|
183
510
|
},
|
|
184
511
|
"longitude": {
|
|
185
|
-
"type":
|
|
512
|
+
"type": [
|
|
513
|
+
"number",
|
|
514
|
+
"null"
|
|
515
|
+
]
|
|
186
516
|
},
|
|
187
517
|
"name": {
|
|
188
518
|
"type": "string"
|
|
@@ -191,7 +521,10 @@
|
|
|
191
521
|
"type": "string"
|
|
192
522
|
},
|
|
193
523
|
"province_code": {
|
|
194
|
-
"type":
|
|
524
|
+
"type": [
|
|
525
|
+
"string",
|
|
526
|
+
"null"
|
|
527
|
+
]
|
|
195
528
|
}
|
|
196
529
|
},
|
|
197
530
|
"required": [
|
|
@@ -228,10 +561,16 @@
|
|
|
228
561
|
"type": "string"
|
|
229
562
|
},
|
|
230
563
|
"zip": {
|
|
231
|
-
"type":
|
|
564
|
+
"type": [
|
|
565
|
+
"string",
|
|
566
|
+
"null"
|
|
567
|
+
]
|
|
232
568
|
},
|
|
233
569
|
"province": {
|
|
234
|
-
"type":
|
|
570
|
+
"type": [
|
|
571
|
+
"string",
|
|
572
|
+
"null"
|
|
573
|
+
]
|
|
235
574
|
},
|
|
236
575
|
"country": {
|
|
237
576
|
"type": "string"
|
|
@@ -240,16 +579,28 @@
|
|
|
240
579
|
"type": "string"
|
|
241
580
|
},
|
|
242
581
|
"address2": {
|
|
243
|
-
"type":
|
|
582
|
+
"type": [
|
|
583
|
+
"string",
|
|
584
|
+
"null"
|
|
585
|
+
]
|
|
244
586
|
},
|
|
245
587
|
"company": {
|
|
246
|
-
"type":
|
|
588
|
+
"type": [
|
|
589
|
+
"string",
|
|
590
|
+
"null"
|
|
591
|
+
]
|
|
247
592
|
},
|
|
248
593
|
"latitude": {
|
|
249
|
-
"type":
|
|
594
|
+
"type": [
|
|
595
|
+
"number",
|
|
596
|
+
"null"
|
|
597
|
+
]
|
|
250
598
|
},
|
|
251
599
|
"longitude": {
|
|
252
|
-
"type":
|
|
600
|
+
"type": [
|
|
601
|
+
"number",
|
|
602
|
+
"null"
|
|
603
|
+
]
|
|
253
604
|
},
|
|
254
605
|
"name": {
|
|
255
606
|
"type": "string"
|
|
@@ -258,7 +609,10 @@
|
|
|
258
609
|
"type": "string"
|
|
259
610
|
},
|
|
260
611
|
"province_code": {
|
|
261
|
-
"type":
|
|
612
|
+
"type": [
|
|
613
|
+
"string",
|
|
614
|
+
"null"
|
|
615
|
+
]
|
|
262
616
|
}
|
|
263
617
|
},
|
|
264
618
|
"required": [
|
|
@@ -284,7 +638,10 @@
|
|
|
284
638
|
"format": "uri"
|
|
285
639
|
},
|
|
286
640
|
"applied_discount": {
|
|
287
|
-
"type":
|
|
641
|
+
"type": [
|
|
642
|
+
"object",
|
|
643
|
+
"null"
|
|
644
|
+
],
|
|
288
645
|
"properties": {
|
|
289
646
|
"description": {
|
|
290
647
|
"type": "string"
|
|
@@ -317,7 +674,10 @@
|
|
|
317
674
|
]
|
|
318
675
|
},
|
|
319
676
|
"shipping_line": {
|
|
320
|
-
"type":
|
|
677
|
+
"type": [
|
|
678
|
+
"object",
|
|
679
|
+
"null"
|
|
680
|
+
],
|
|
321
681
|
"properties": {
|
|
322
682
|
"title": {
|
|
323
683
|
"type": "string"
|
|
@@ -326,7 +686,10 @@
|
|
|
326
686
|
"type": "boolean"
|
|
327
687
|
},
|
|
328
688
|
"handle": {
|
|
329
|
-
"type":
|
|
689
|
+
"type": [
|
|
690
|
+
"string",
|
|
691
|
+
"null"
|
|
692
|
+
]
|
|
330
693
|
},
|
|
331
694
|
"price": {
|
|
332
695
|
"type": "string"
|
|
@@ -352,6 +715,48 @@
|
|
|
352
715
|
},
|
|
353
716
|
"price": {
|
|
354
717
|
"type": "string"
|
|
718
|
+
},
|
|
719
|
+
"price_set": {
|
|
720
|
+
"type": "object",
|
|
721
|
+
"properties": {
|
|
722
|
+
"presentment_money": {
|
|
723
|
+
"type": "object",
|
|
724
|
+
"properties": {
|
|
725
|
+
"currency_code": {
|
|
726
|
+
"type": "string"
|
|
727
|
+
},
|
|
728
|
+
"amount": {
|
|
729
|
+
"type": "string"
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
"required": [
|
|
733
|
+
"currency_code",
|
|
734
|
+
"amount"
|
|
735
|
+
]
|
|
736
|
+
},
|
|
737
|
+
"shop_money": {
|
|
738
|
+
"type": "object",
|
|
739
|
+
"properties": {
|
|
740
|
+
"amount": {
|
|
741
|
+
"type": "string"
|
|
742
|
+
},
|
|
743
|
+
"currency_code": {
|
|
744
|
+
"type": "string"
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
"required": [
|
|
748
|
+
"amount",
|
|
749
|
+
"currency_code"
|
|
750
|
+
]
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
"required": [
|
|
754
|
+
"presentment_money",
|
|
755
|
+
"shop_money"
|
|
756
|
+
]
|
|
757
|
+
},
|
|
758
|
+
"channel_liable": {
|
|
759
|
+
"type": "boolean"
|
|
355
760
|
}
|
|
356
761
|
},
|
|
357
762
|
"required": [
|
|
@@ -366,7 +771,21 @@
|
|
|
366
771
|
},
|
|
367
772
|
"note_attributes": {
|
|
368
773
|
"type": "array",
|
|
369
|
-
"items":
|
|
774
|
+
"items": {
|
|
775
|
+
"type": "object",
|
|
776
|
+
"properties": {
|
|
777
|
+
"name": {
|
|
778
|
+
"type": "string"
|
|
779
|
+
},
|
|
780
|
+
"value": {
|
|
781
|
+
"type": "string"
|
|
782
|
+
}
|
|
783
|
+
},
|
|
784
|
+
"required": [
|
|
785
|
+
"name",
|
|
786
|
+
"value"
|
|
787
|
+
]
|
|
788
|
+
}
|
|
370
789
|
},
|
|
371
790
|
"total_price": {
|
|
372
791
|
"type": "string"
|
|
@@ -378,88 +797,180 @@
|
|
|
378
797
|
"type": "string"
|
|
379
798
|
},
|
|
380
799
|
"payment_terms": {
|
|
381
|
-
"
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
"
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
800
|
+
"anyOf": [
|
|
801
|
+
{
|
|
802
|
+
"type": "object",
|
|
803
|
+
"properties": {
|
|
804
|
+
"id": {
|
|
805
|
+
"type": "integer"
|
|
806
|
+
},
|
|
807
|
+
"payment_terms_name": {
|
|
808
|
+
"type": "string"
|
|
809
|
+
},
|
|
810
|
+
"payment_terms_type": {
|
|
811
|
+
"type": "string"
|
|
812
|
+
},
|
|
813
|
+
"due_in_days": {
|
|
814
|
+
"type": "integer"
|
|
815
|
+
},
|
|
816
|
+
"created_at": {
|
|
817
|
+
"type": "string",
|
|
818
|
+
"format": "date-time"
|
|
819
|
+
},
|
|
820
|
+
"updated_at": {
|
|
821
|
+
"type": "string",
|
|
822
|
+
"format": "date-time"
|
|
823
|
+
},
|
|
824
|
+
"payment_schedules": {
|
|
825
|
+
"type": "array",
|
|
826
|
+
"items": {
|
|
827
|
+
"type": "object",
|
|
828
|
+
"properties": {
|
|
829
|
+
"id": {
|
|
830
|
+
"type": "integer"
|
|
831
|
+
},
|
|
832
|
+
"created_at": {
|
|
833
|
+
"type": "string",
|
|
834
|
+
"format": "date-time"
|
|
835
|
+
},
|
|
836
|
+
"updated_at": {
|
|
837
|
+
"type": "string",
|
|
838
|
+
"format": "date-time"
|
|
839
|
+
},
|
|
840
|
+
"payment_terms_id": {
|
|
841
|
+
"type": "integer"
|
|
842
|
+
},
|
|
843
|
+
"issued_at": {
|
|
844
|
+
"type": "string",
|
|
845
|
+
"format": "date-time"
|
|
846
|
+
},
|
|
847
|
+
"due_at": {
|
|
848
|
+
"type": "string",
|
|
849
|
+
"format": "date-time"
|
|
850
|
+
},
|
|
851
|
+
"completed_at": {
|
|
852
|
+
"type": "string",
|
|
853
|
+
"format": "date-time"
|
|
854
|
+
},
|
|
855
|
+
"amount": {
|
|
856
|
+
"type": "string"
|
|
857
|
+
},
|
|
858
|
+
"currency": {
|
|
859
|
+
"type": "string"
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
"required": [
|
|
863
|
+
"id",
|
|
864
|
+
"created_at",
|
|
865
|
+
"updated_at",
|
|
866
|
+
"payment_terms_id",
|
|
867
|
+
"issued_at",
|
|
868
|
+
"due_at",
|
|
869
|
+
"completed_at",
|
|
870
|
+
"amount",
|
|
871
|
+
"currency"
|
|
872
|
+
]
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
},
|
|
876
|
+
"required": [
|
|
877
|
+
"id",
|
|
878
|
+
"payment_terms_name",
|
|
879
|
+
"payment_terms_type",
|
|
880
|
+
"due_in_days",
|
|
881
|
+
"created_at",
|
|
882
|
+
"updated_at",
|
|
883
|
+
"payment_schedules"
|
|
884
|
+
]
|
|
388
885
|
},
|
|
389
|
-
|
|
886
|
+
{
|
|
390
887
|
"type": "string"
|
|
391
888
|
},
|
|
392
|
-
|
|
393
|
-
"type": "
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
"format": "date-time"
|
|
398
|
-
},
|
|
399
|
-
"updated_at": {
|
|
400
|
-
"type": "string",
|
|
401
|
-
"format": "date-time"
|
|
402
|
-
},
|
|
403
|
-
"payment_schedules": {
|
|
404
|
-
"type": "array",
|
|
405
|
-
"items": {
|
|
406
|
-
"type": "object",
|
|
407
|
-
"properties": {
|
|
408
|
-
"id": {
|
|
409
|
-
"type": "integer"
|
|
410
|
-
},
|
|
411
|
-
"created_at": {
|
|
412
|
-
"type": "string",
|
|
413
|
-
"format": "date-time"
|
|
414
|
-
},
|
|
415
|
-
"updated_at": {
|
|
416
|
-
"type": "string",
|
|
417
|
-
"format": "date-time"
|
|
418
|
-
},
|
|
419
|
-
"payment_terms_id": {
|
|
420
|
-
"type": "integer"
|
|
421
|
-
},
|
|
422
|
-
"issued_at": {
|
|
423
|
-
"type": "string",
|
|
424
|
-
"format": "date-time"
|
|
425
|
-
},
|
|
426
|
-
"due_at": {
|
|
427
|
-
"type": "string",
|
|
428
|
-
"format": "date-time"
|
|
429
|
-
},
|
|
430
|
-
"completed_at": {
|
|
431
|
-
"type": "string",
|
|
432
|
-
"format": "date-time"
|
|
433
|
-
},
|
|
434
|
-
"amount": {
|
|
435
|
-
"type": "string"
|
|
436
|
-
},
|
|
437
|
-
"currency": {
|
|
438
|
-
"type": "string"
|
|
439
|
-
}
|
|
889
|
+
{
|
|
890
|
+
"type": "object",
|
|
891
|
+
"properties": {
|
|
892
|
+
"id": {
|
|
893
|
+
"type": "integer"
|
|
440
894
|
},
|
|
441
|
-
"
|
|
442
|
-
"
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
"
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
"
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
895
|
+
"payment_terms_name": {
|
|
896
|
+
"type": "string"
|
|
897
|
+
},
|
|
898
|
+
"payment_terms_type": {
|
|
899
|
+
"type": "string"
|
|
900
|
+
},
|
|
901
|
+
"due_in_days": {
|
|
902
|
+
"type": "integer"
|
|
903
|
+
},
|
|
904
|
+
"created_at": {
|
|
905
|
+
"type": "string",
|
|
906
|
+
"format": "date-time"
|
|
907
|
+
},
|
|
908
|
+
"updated_at": {
|
|
909
|
+
"type": "string",
|
|
910
|
+
"format": "date-time"
|
|
911
|
+
},
|
|
912
|
+
"payment_schedules": {
|
|
913
|
+
"type": "array",
|
|
914
|
+
"items": {
|
|
915
|
+
"type": "object",
|
|
916
|
+
"properties": {
|
|
917
|
+
"id": {
|
|
918
|
+
"type": "integer"
|
|
919
|
+
},
|
|
920
|
+
"created_at": {
|
|
921
|
+
"type": "string",
|
|
922
|
+
"format": "date-time"
|
|
923
|
+
},
|
|
924
|
+
"updated_at": {
|
|
925
|
+
"type": "string",
|
|
926
|
+
"format": "date-time"
|
|
927
|
+
},
|
|
928
|
+
"payment_terms_id": {
|
|
929
|
+
"type": "integer"
|
|
930
|
+
},
|
|
931
|
+
"issued_at": {
|
|
932
|
+
"type": "string",
|
|
933
|
+
"format": "date-time"
|
|
934
|
+
},
|
|
935
|
+
"due_at": {
|
|
936
|
+
"type": "string",
|
|
937
|
+
"format": "date-time"
|
|
938
|
+
},
|
|
939
|
+
"completed_at": {
|
|
940
|
+
"type": "string",
|
|
941
|
+
"format": "date-time"
|
|
942
|
+
},
|
|
943
|
+
"amount": {
|
|
944
|
+
"type": "string"
|
|
945
|
+
},
|
|
946
|
+
"currency": {
|
|
947
|
+
"type": "string"
|
|
948
|
+
}
|
|
949
|
+
},
|
|
950
|
+
"required": [
|
|
951
|
+
"id",
|
|
952
|
+
"created_at",
|
|
953
|
+
"updated_at",
|
|
954
|
+
"payment_terms_id",
|
|
955
|
+
"issued_at",
|
|
956
|
+
"due_at",
|
|
957
|
+
"completed_at",
|
|
958
|
+
"amount",
|
|
959
|
+
"currency"
|
|
960
|
+
]
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
},
|
|
964
|
+
"required": [
|
|
965
|
+
"id",
|
|
966
|
+
"payment_terms_name",
|
|
967
|
+
"payment_terms_type",
|
|
968
|
+
"due_in_days",
|
|
969
|
+
"created_at",
|
|
970
|
+
"updated_at",
|
|
971
|
+
"payment_schedules"
|
|
972
|
+
]
|
|
453
973
|
}
|
|
454
|
-
},
|
|
455
|
-
"required": [
|
|
456
|
-
"id",
|
|
457
|
-
"payment_terms_name",
|
|
458
|
-
"payment_terms_type",
|
|
459
|
-
"due_in_days",
|
|
460
|
-
"created_at",
|
|
461
|
-
"updated_at",
|
|
462
|
-
"payment_schedules"
|
|
463
974
|
]
|
|
464
975
|
},
|
|
465
976
|
"admin_graphql_api_id": {
|
|
@@ -477,10 +988,18 @@
|
|
|
477
988
|
"format": "email"
|
|
478
989
|
},
|
|
479
990
|
"created_at": {
|
|
480
|
-
"type":
|
|
991
|
+
"type": [
|
|
992
|
+
"string",
|
|
993
|
+
"null"
|
|
994
|
+
],
|
|
995
|
+
"format": "date-time"
|
|
481
996
|
},
|
|
482
997
|
"updated_at": {
|
|
483
|
-
"type":
|
|
998
|
+
"type": [
|
|
999
|
+
"string",
|
|
1000
|
+
"null"
|
|
1001
|
+
],
|
|
1002
|
+
"format": "date-time"
|
|
484
1003
|
},
|
|
485
1004
|
"first_name": {
|
|
486
1005
|
"type": "string"
|
|
@@ -498,16 +1017,25 @@
|
|
|
498
1017
|
"type": "string"
|
|
499
1018
|
},
|
|
500
1019
|
"last_order_id": {
|
|
501
|
-
"type":
|
|
1020
|
+
"type": [
|
|
1021
|
+
"integer",
|
|
1022
|
+
"null"
|
|
1023
|
+
]
|
|
502
1024
|
},
|
|
503
1025
|
"note": {
|
|
504
|
-
"type":
|
|
1026
|
+
"type": [
|
|
1027
|
+
"string",
|
|
1028
|
+
"null"
|
|
1029
|
+
]
|
|
505
1030
|
},
|
|
506
1031
|
"verified_email": {
|
|
507
1032
|
"type": "boolean"
|
|
508
1033
|
},
|
|
509
1034
|
"multipass_identifier": {
|
|
510
|
-
"type":
|
|
1035
|
+
"type": [
|
|
1036
|
+
"string",
|
|
1037
|
+
"null"
|
|
1038
|
+
]
|
|
511
1039
|
},
|
|
512
1040
|
"tax_exempt": {
|
|
513
1041
|
"type": "boolean"
|
|
@@ -516,13 +1044,19 @@
|
|
|
516
1044
|
"type": "string"
|
|
517
1045
|
},
|
|
518
1046
|
"last_order_name": {
|
|
519
|
-
"type":
|
|
1047
|
+
"type": [
|
|
1048
|
+
"string",
|
|
1049
|
+
"null"
|
|
1050
|
+
]
|
|
520
1051
|
},
|
|
521
1052
|
"currency": {
|
|
522
1053
|
"type": "string"
|
|
523
1054
|
},
|
|
524
1055
|
"phone": {
|
|
525
|
-
"type":
|
|
1056
|
+
"type": [
|
|
1057
|
+
"string",
|
|
1058
|
+
"null"
|
|
1059
|
+
]
|
|
526
1060
|
},
|
|
527
1061
|
"tax_exemptions": {
|
|
528
1062
|
"type": "array",
|
|
@@ -535,10 +1069,17 @@
|
|
|
535
1069
|
"type": "string"
|
|
536
1070
|
},
|
|
537
1071
|
"opt_in_level": {
|
|
538
|
-
"type":
|
|
1072
|
+
"type": [
|
|
1073
|
+
"string",
|
|
1074
|
+
"null"
|
|
1075
|
+
]
|
|
539
1076
|
},
|
|
540
1077
|
"consent_updated_at": {
|
|
541
|
-
"type":
|
|
1078
|
+
"type": [
|
|
1079
|
+
"string",
|
|
1080
|
+
"null"
|
|
1081
|
+
],
|
|
1082
|
+
"format": "date-time"
|
|
542
1083
|
}
|
|
543
1084
|
},
|
|
544
1085
|
"required": [
|
|
@@ -548,7 +1089,34 @@
|
|
|
548
1089
|
]
|
|
549
1090
|
},
|
|
550
1091
|
"sms_marketing_consent": {
|
|
551
|
-
"type":
|
|
1092
|
+
"type": [
|
|
1093
|
+
"object",
|
|
1094
|
+
"null"
|
|
1095
|
+
],
|
|
1096
|
+
"properties": {
|
|
1097
|
+
"consent_collected_from": {
|
|
1098
|
+
"type": "string"
|
|
1099
|
+
},
|
|
1100
|
+
"consent_updated_at": {
|
|
1101
|
+
"type": [
|
|
1102
|
+
"string",
|
|
1103
|
+
"null"
|
|
1104
|
+
],
|
|
1105
|
+
"format": "date-time"
|
|
1106
|
+
},
|
|
1107
|
+
"opt_in_level": {
|
|
1108
|
+
"type": "string"
|
|
1109
|
+
},
|
|
1110
|
+
"state": {
|
|
1111
|
+
"type": "string"
|
|
1112
|
+
}
|
|
1113
|
+
},
|
|
1114
|
+
"required": [
|
|
1115
|
+
"consent_collected_from",
|
|
1116
|
+
"consent_updated_at",
|
|
1117
|
+
"opt_in_level",
|
|
1118
|
+
"state"
|
|
1119
|
+
]
|
|
552
1120
|
},
|
|
553
1121
|
"admin_graphql_api_id": {
|
|
554
1122
|
"type": "string",
|
|
@@ -558,37 +1126,58 @@
|
|
|
558
1126
|
"type": "object",
|
|
559
1127
|
"properties": {
|
|
560
1128
|
"id": {
|
|
561
|
-
"type":
|
|
1129
|
+
"type": [
|
|
1130
|
+
"integer",
|
|
1131
|
+
"null"
|
|
1132
|
+
]
|
|
562
1133
|
},
|
|
563
1134
|
"customer_id": {
|
|
564
1135
|
"type": "integer"
|
|
565
1136
|
},
|
|
566
1137
|
"first_name": {
|
|
567
|
-
"type":
|
|
1138
|
+
"type": [
|
|
1139
|
+
"string",
|
|
1140
|
+
"null"
|
|
1141
|
+
]
|
|
568
1142
|
},
|
|
569
1143
|
"last_name": {
|
|
570
|
-
"type":
|
|
1144
|
+
"type": [
|
|
1145
|
+
"string",
|
|
1146
|
+
"null"
|
|
1147
|
+
]
|
|
571
1148
|
},
|
|
572
1149
|
"company": {
|
|
573
|
-
"type":
|
|
1150
|
+
"type": [
|
|
1151
|
+
"string",
|
|
1152
|
+
"null"
|
|
1153
|
+
]
|
|
574
1154
|
},
|
|
575
1155
|
"address1": {
|
|
576
1156
|
"type": "string"
|
|
577
1157
|
},
|
|
578
1158
|
"address2": {
|
|
579
|
-
"type":
|
|
1159
|
+
"type": [
|
|
1160
|
+
"string",
|
|
1161
|
+
"null"
|
|
1162
|
+
]
|
|
580
1163
|
},
|
|
581
1164
|
"city": {
|
|
582
1165
|
"type": "string"
|
|
583
1166
|
},
|
|
584
1167
|
"province": {
|
|
585
|
-
"type":
|
|
1168
|
+
"type": [
|
|
1169
|
+
"string",
|
|
1170
|
+
"null"
|
|
1171
|
+
]
|
|
586
1172
|
},
|
|
587
1173
|
"country": {
|
|
588
1174
|
"type": "string"
|
|
589
1175
|
},
|
|
590
1176
|
"zip": {
|
|
591
|
-
"type":
|
|
1177
|
+
"type": [
|
|
1178
|
+
"string",
|
|
1179
|
+
"null"
|
|
1180
|
+
]
|
|
592
1181
|
},
|
|
593
1182
|
"phone": {
|
|
594
1183
|
"type": "string"
|
|
@@ -597,7 +1186,10 @@
|
|
|
597
1186
|
"type": "string"
|
|
598
1187
|
},
|
|
599
1188
|
"province_code": {
|
|
600
|
-
"type":
|
|
1189
|
+
"type": [
|
|
1190
|
+
"string",
|
|
1191
|
+
"null"
|
|
1192
|
+
]
|
|
601
1193
|
},
|
|
602
1194
|
"country_code": {
|
|
603
1195
|
"type": "string"
|
|
@@ -628,6 +1220,23 @@
|
|
|
628
1220
|
"country_name",
|
|
629
1221
|
"default"
|
|
630
1222
|
]
|
|
1223
|
+
},
|
|
1224
|
+
"marketing_opt_in_level": {
|
|
1225
|
+
"type": "string"
|
|
1226
|
+
},
|
|
1227
|
+
"accepts_marketing": {
|
|
1228
|
+
"type": "boolean"
|
|
1229
|
+
},
|
|
1230
|
+
"accepts_marketing_updated_at": {
|
|
1231
|
+
"type": [
|
|
1232
|
+
"string",
|
|
1233
|
+
"null"
|
|
1234
|
+
],
|
|
1235
|
+
"format": "date-time"
|
|
1236
|
+
},
|
|
1237
|
+
"metafields": {
|
|
1238
|
+
"type": "array",
|
|
1239
|
+
"items": false
|
|
631
1240
|
}
|
|
632
1241
|
},
|
|
633
1242
|
"required": [
|