shopify-webhook-schemas 0.2.2 → 0.2.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/dist/src/infer-schema.d.ts +1 -1
- package/dist/src/infer-schema.js +29 -3
- package/dist/src/scrape.js +3 -2
- package/metadatas/2024-04/app_purchases_one_time/update.json +1 -1
- package/metadatas/2024-04/app_subscriptions/approaching_capped_amount.json +1 -1
- package/metadatas/2024-04/app_subscriptions/update.json +2 -5
- package/metadatas/2024-04/bulk_operations/finish.json +1 -1
- package/metadatas/2024-04/checkouts/create.json +17 -7
- package/metadatas/2024-04/checkouts/delete.json +1 -2
- package/metadatas/2024-04/checkouts/update.json +17 -7
- package/metadatas/2024-04/company_contact_roles/assign.json +0 -8
- package/metadatas/2024-04/company_contact_roles/revoke.json +0 -8
- package/metadatas/2024-04/company_locations/create.json +0 -8
- package/metadatas/2024-04/company_locations/delete.json +0 -8
- package/metadatas/2024-04/company_locations/update.json +0 -8
- package/metadatas/2024-04/customer.tags_added.json +1 -1
- package/metadatas/2024-04/customer.tags_removed.json +1 -1
- package/metadatas/2024-04/customers/create.json +7 -0
- package/metadatas/2024-04/customers/delete.json +2 -0
- package/metadatas/2024-04/customers/disable.json +7 -0
- package/metadatas/2024-04/customers/enable.json +7 -0
- package/metadatas/2024-04/customers/update.json +7 -0
- package/metadatas/2024-04/discounts/create.json +2 -2
- package/metadatas/2024-04/discounts/delete.json +1 -1
- package/metadatas/2024-04/discounts/redeemcode_added.json +1 -1
- package/metadatas/2024-04/discounts/redeemcode_removed.json +1 -1
- package/metadatas/2024-04/discounts/update.json +2 -2
- package/metadatas/2024-04/draft_orders/create.json +37 -26
- package/metadatas/2024-04/draft_orders/update.json +36 -25
- package/metadatas/2024-04/fulfillment_orders/placed_on_hold.json +2 -28
- package/metadatas/2024-04/fulfillments/create.json +24 -71
- package/metadatas/2024-04/fulfillments/update.json +24 -71
- package/metadatas/2024-04/inventory_items/create.json +1 -2
- package/metadatas/2024-04/inventory_items/delete.json +1 -2
- package/metadatas/2024-04/inventory_items/update.json +1 -2
- package/metadatas/2024-04/inventory_levels/connect.json +7 -1
- package/metadatas/2024-04/inventory_levels/update.json +7 -1
- package/metadatas/2024-04/markets/create.json +6 -2
- package/metadatas/2024-04/markets/update.json +6 -2
- package/metadatas/2024-04/order_transactions/create.json +3 -4
- package/metadatas/2024-04/orders/cancelled.json +51 -139
- package/metadatas/2024-04/orders/create.json +51 -139
- package/metadatas/2024-04/orders/edited.json +1 -2
- package/metadatas/2024-04/orders/fulfilled.json +51 -139
- package/metadatas/2024-04/orders/paid.json +51 -139
- package/metadatas/2024-04/orders/partially_fulfilled.json +51 -139
- package/metadatas/2024-04/orders/risk_assessment_changed.json +1 -1
- package/metadatas/2024-04/orders/updated.json +51 -139
- package/metadatas/2024-04/products/create.json +15 -6
- package/metadatas/2024-04/products/update.json +15 -6
- package/metadatas/2024-04/refunds/create.json +34 -112
- package/metadatas/2024-04/returns/approve.json +1 -1
- package/metadatas/2024-04/returns/decline.json +0 -4
- package/metadatas/2024-04/returns/request.json +1 -1
- package/metadatas/2024-04/segments/update.json +1 -1
- package/metadatas/2024-04/selling_plan_groups/delete.json +2 -2
- package/metadatas/2024-04/selling_plan_groups/update.json +2 -2
- package/metadatas/2024-04/subscription_billing_attempts/challenged.json +2 -2
- package/metadatas/2024-04/subscription_billing_attempts/failure.json +2 -2
- package/metadatas/2024-04/subscription_billing_attempts/success.json +2 -2
- package/metadatas/2024-04/subscription_billing_cycle_edits/create.json +1 -1
- package/metadatas/2024-04/subscription_billing_cycle_edits/delete.json +1 -1
- package/metadatas/2024-04/subscription_billing_cycle_edits/update.json +1 -1
- package/metadatas/2024-04/subscription_billing_cycles/skip.json +1 -1
- package/metadatas/2024-04/subscription_billing_cycles/unskip.json +1 -1
- package/metadatas/2024-04/subscription_contracts/activate.json +4 -4
- package/metadatas/2024-04/subscription_contracts/cancel.json +4 -4
- package/metadatas/2024-04/subscription_contracts/create.json +4 -4
- package/metadatas/2024-04/subscription_contracts/expire.json +4 -4
- package/metadatas/2024-04/subscription_contracts/fail.json +4 -4
- package/metadatas/2024-04/subscription_contracts/pause.json +4 -4
- package/metadatas/2024-04/subscription_contracts/update.json +4 -4
- package/metadatas/2024-04/tender_transactions/create.json +1 -1
- package/metadatas/2024-04/variants/in_stock.json +7 -1
- package/metadatas/2024-04/variants/out_of_stock.json +7 -1
- package/metadatas/2025-07/inventory_shipments/receive_items.json +1 -1
- package/package.json +1 -1
- package/schemas/2024-04/app_subscriptions/approaching_capped_amount.json +0 -15
- package/schemas/2024-04/app_subscriptions/update.json +0 -12
- package/schemas/2024-04/carts/create.json +1 -4
- package/schemas/2024-04/carts/update.json +1 -4
- package/schemas/2024-04/checkouts/create.json +31 -35
- package/schemas/2024-04/checkouts/delete.json +0 -10
- package/schemas/2024-04/checkouts/update.json +31 -35
- package/schemas/2024-04/collections/create.json +0 -20
- package/schemas/2024-04/collections/update.json +0 -20
- package/schemas/2024-04/company_contact_roles/assign.json +0 -23
- package/schemas/2024-04/company_contact_roles/revoke.json +0 -23
- package/schemas/2024-04/company_locations/create.json +4 -58
- package/schemas/2024-04/company_locations/delete.json +4 -58
- package/schemas/2024-04/company_locations/update.json +4 -58
- package/schemas/2024-04/customer_payment_methods/create.json +1 -1
- package/schemas/2024-04/customer_payment_methods/revoke.json +1 -1
- package/schemas/2024-04/customer_payment_methods/update.json +1 -1
- package/schemas/2024-04/customers/create.json +38 -86
- package/schemas/2024-04/customers/delete.json +16 -78
- package/schemas/2024-04/customers/disable.json +38 -86
- package/schemas/2024-04/customers/enable.json +38 -86
- package/schemas/2024-04/customers/update.json +38 -86
- package/schemas/2024-04/customers_email_marketing_consent/update.json +3 -13
- package/schemas/2024-04/customers_marketing_consent/update.json +3 -13
- package/schemas/2024-04/disputes/create.json +1 -0
- package/schemas/2024-04/disputes/update.json +1 -0
- package/schemas/2024-04/domains/create.json +2 -4
- package/schemas/2024-04/domains/destroy.json +2 -4
- package/schemas/2024-04/domains/update.json +2 -4
- package/schemas/2024-04/draft_orders/create.json +26 -409
- package/schemas/2024-04/draft_orders/update.json +26 -409
- package/schemas/2024-04/fulfillment_orders/placed_on_hold.json +0 -80
- package/schemas/2024-04/fulfillment_orders/split.json +0 -12
- package/schemas/2024-04/fulfillments/create.json +66 -196
- package/schemas/2024-04/fulfillments/update.json +66 -196
- package/schemas/2024-04/inventory_items/create.json +3 -7
- package/schemas/2024-04/inventory_items/update.json +3 -7
- package/schemas/2024-04/inventory_levels/connect.json +29 -0
- package/schemas/2024-04/inventory_levels/update.json +29 -0
- package/schemas/2024-04/markets/create.json +18 -7
- package/schemas/2024-04/markets/update.json +18 -7
- package/schemas/2024-04/order_transactions/create.json +4 -18
- package/schemas/2024-04/orders/cancelled.json +10 -252
- package/schemas/2024-04/orders/create.json +10 -252
- package/schemas/2024-04/orders/edited.json +2 -13
- package/schemas/2024-04/orders/fulfilled.json +10 -252
- package/schemas/2024-04/orders/paid.json +10 -252
- package/schemas/2024-04/orders/partially_fulfilled.json +10 -252
- package/schemas/2024-04/orders/risk_assessment_changed.json +2 -9
- package/schemas/2024-04/orders/shopify_protect_eligibility_changed.json +1 -11
- package/schemas/2024-04/orders/updated.json +10 -252
- package/schemas/2024-04/payment_terms/create.json +1 -4
- package/schemas/2024-04/payment_terms/update.json +1 -4
- package/schemas/2024-04/products/create.json +73 -173
- package/schemas/2024-04/products/update.json +73 -173
- package/schemas/2024-04/refunds/create.json +16 -767
- package/schemas/2024-04/returns/decline.json +0 -17
- package/schemas/2024-04/selling_plan_groups/create.json +10 -66
- package/schemas/2024-04/selling_plan_groups/update.json +10 -66
- package/schemas/2024-04/shop/update.json +3 -4
- package/schemas/2024-04/subscription_billing_attempts/challenged.json +1 -0
- package/schemas/2024-04/subscription_billing_attempts/failure.json +1 -0
- package/schemas/2024-04/subscription_billing_attempts/success.json +1 -0
- package/schemas/2024-04/subscription_contracts/activate.json +2 -8
- package/schemas/2024-04/subscription_contracts/cancel.json +2 -8
- package/schemas/2024-04/subscription_contracts/create.json +2 -8
- package/schemas/2024-04/subscription_contracts/expire.json +2 -8
- package/schemas/2024-04/subscription_contracts/fail.json +2 -8
- package/schemas/2024-04/subscription_contracts/pause.json +2 -8
- package/schemas/2024-04/subscription_contracts/update.json +2 -8
- package/schemas/2024-04/tender_transactions/create.json +4 -6
- package/schemas/2024-04/themes/create.json +1 -4
- package/schemas/2024-04/themes/publish.json +1 -4
- package/schemas/2024-04/themes/update.json +1 -4
- package/schemas/2024-04/variants/in_stock.json +25 -1
- package/schemas/2024-04/variants/out_of_stock.json +25 -1
- package/metadatas/2024-04/app/scopes_update.json +0 -23
- package/metadatas/2024-04/checkout_and_accounts_configurations/update.json +0 -22
- package/metadatas/2024-04/customer.joined_segment.json +0 -18
- package/metadatas/2024-04/customer.left_segment.json +0 -18
- package/metadatas/2024-04/customer_account_settings/update.json +0 -17
- package/metadatas/2024-04/customers/purchasing_summary.json +0 -27
- package/metadatas/2024-04/delivery_promise_settings/update.json +0 -19
- package/metadatas/2024-04/finance_app_staff_member/delete.json +0 -19
- package/metadatas/2024-04/finance_app_staff_member/grant.json +0 -19
- package/metadatas/2024-04/finance_app_staff_member/revoke.json +0 -19
- package/metadatas/2024-04/finance_app_staff_member/update.json +0 -19
- package/metadatas/2024-04/finance_kyc_information/update.json +0 -19
- package/metadatas/2024-04/fulfillment_holds/added.json +0 -32
- package/metadatas/2024-04/fulfillment_holds/released.json +0 -32
- package/metadatas/2024-04/markets_backup_region/update.json +0 -18
- package/metadatas/2024-04/metafield_definitions/create.json +0 -47
- package/metadatas/2024-04/metafield_definitions/delete.json +0 -19
- package/metadatas/2024-04/metafield_definitions/update.json +0 -47
- package/metadatas/2024-04/product_feeds/full_sync_finish.json +0 -37
- package/schemas/2024-04/app/scopes_update.json +0 -31
- package/schemas/2024-04/checkout_and_accounts_configurations/update.json +0 -48
- package/schemas/2024-04/customer.joined_segment.json +0 -23
- package/schemas/2024-04/customer.left_segment.json +0 -23
- package/schemas/2024-04/customer_account_settings/update.json +0 -28
- package/schemas/2024-04/customers/purchasing_summary.json +0 -43
- package/schemas/2024-04/delivery_promise_settings/update.json +0 -21
- package/schemas/2024-04/finance_app_staff_member/delete.json +0 -4
- package/schemas/2024-04/finance_app_staff_member/grant.json +0 -4
- package/schemas/2024-04/finance_app_staff_member/revoke.json +0 -4
- package/schemas/2024-04/finance_app_staff_member/update.json +0 -4
- package/schemas/2024-04/finance_kyc_information/update.json +0 -4
- package/schemas/2024-04/fulfillment_holds/added.json +0 -63
- package/schemas/2024-04/fulfillment_holds/released.json +0 -63
- package/schemas/2024-04/markets_backup_region/update.json +0 -17
- package/schemas/2024-04/metafield_definitions/create.json +0 -141
- package/schemas/2024-04/metafield_definitions/delete.json +0 -21
- package/schemas/2024-04/metafield_definitions/update.json +0 -141
- package/schemas/2024-04/product_feeds/full_sync_finish.json +0 -97
|
@@ -38,16 +38,10 @@
|
|
|
38
38
|
"type": "string"
|
|
39
39
|
},
|
|
40
40
|
"first_name": {
|
|
41
|
-
"type":
|
|
42
|
-
"null",
|
|
43
|
-
"string"
|
|
44
|
-
]
|
|
41
|
+
"type": "null"
|
|
45
42
|
},
|
|
46
43
|
"last_name": {
|
|
47
|
-
"type":
|
|
48
|
-
"null",
|
|
49
|
-
"string"
|
|
50
|
-
]
|
|
44
|
+
"type": "null"
|
|
51
45
|
},
|
|
52
46
|
"phone": {
|
|
53
47
|
"type": "string"
|
|
@@ -91,21 +85,8 @@
|
|
|
91
85
|
},
|
|
92
86
|
"buyer_experience_configuration": {
|
|
93
87
|
"properties": {
|
|
94
|
-
"checkout_to_draft": {
|
|
95
|
-
"type": "boolean"
|
|
96
|
-
},
|
|
97
|
-
"deposit": {
|
|
98
|
-
"type": "null"
|
|
99
|
-
},
|
|
100
|
-
"editable_shipping_address": {
|
|
101
|
-
"type": "boolean"
|
|
102
|
-
},
|
|
103
88
|
"pay_now_only": {
|
|
104
89
|
"type": "boolean"
|
|
105
|
-
},
|
|
106
|
-
"payment_terms_template_admin_graphql_api_id": {
|
|
107
|
-
"format": "uri",
|
|
108
|
-
"type": "string"
|
|
109
90
|
}
|
|
110
91
|
},
|
|
111
92
|
"required": [
|
|
@@ -212,16 +193,10 @@
|
|
|
212
193
|
"type": "string"
|
|
213
194
|
},
|
|
214
195
|
"first_name": {
|
|
215
|
-
"type":
|
|
216
|
-
"null",
|
|
217
|
-
"string"
|
|
218
|
-
]
|
|
196
|
+
"type": "null"
|
|
219
197
|
},
|
|
220
198
|
"last_name": {
|
|
221
|
-
"type":
|
|
222
|
-
"null",
|
|
223
|
-
"string"
|
|
224
|
-
]
|
|
199
|
+
"type": "null"
|
|
225
200
|
},
|
|
226
201
|
"phone": {
|
|
227
202
|
"type": "string"
|
|
@@ -278,34 +253,6 @@
|
|
|
278
253
|
"required": [
|
|
279
254
|
"tax_id"
|
|
280
255
|
],
|
|
281
|
-
"type": [
|
|
282
|
-
"null",
|
|
283
|
-
"object"
|
|
284
|
-
]
|
|
285
|
-
},
|
|
286
|
-
"tax_settings": {
|
|
287
|
-
"properties": {
|
|
288
|
-
"tax_exempt": {
|
|
289
|
-
"type": [
|
|
290
|
-
"boolean",
|
|
291
|
-
"null"
|
|
292
|
-
]
|
|
293
|
-
},
|
|
294
|
-
"tax_exemptions": {
|
|
295
|
-
"items": {
|
|
296
|
-
"type": "string"
|
|
297
|
-
},
|
|
298
|
-
"type": "array"
|
|
299
|
-
},
|
|
300
|
-
"tax_registration_id": {
|
|
301
|
-
"type": "string"
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
"required": [
|
|
305
|
-
"tax_exempt",
|
|
306
|
-
"tax_exemptions",
|
|
307
|
-
"tax_registration_id"
|
|
308
|
-
],
|
|
309
256
|
"type": "object"
|
|
310
257
|
},
|
|
311
258
|
"updated_at": {
|
|
@@ -327,7 +274,6 @@
|
|
|
327
274
|
"shipping_address",
|
|
328
275
|
"tax_exemptions",
|
|
329
276
|
"tax_registration",
|
|
330
|
-
"tax_settings",
|
|
331
277
|
"updated_at"
|
|
332
278
|
],
|
|
333
279
|
"type": "object"
|
|
@@ -38,16 +38,10 @@
|
|
|
38
38
|
"type": "string"
|
|
39
39
|
},
|
|
40
40
|
"first_name": {
|
|
41
|
-
"type":
|
|
42
|
-
"null",
|
|
43
|
-
"string"
|
|
44
|
-
]
|
|
41
|
+
"type": "null"
|
|
45
42
|
},
|
|
46
43
|
"last_name": {
|
|
47
|
-
"type":
|
|
48
|
-
"null",
|
|
49
|
-
"string"
|
|
50
|
-
]
|
|
44
|
+
"type": "null"
|
|
51
45
|
},
|
|
52
46
|
"phone": {
|
|
53
47
|
"type": "string"
|
|
@@ -91,21 +85,8 @@
|
|
|
91
85
|
},
|
|
92
86
|
"buyer_experience_configuration": {
|
|
93
87
|
"properties": {
|
|
94
|
-
"checkout_to_draft": {
|
|
95
|
-
"type": "boolean"
|
|
96
|
-
},
|
|
97
|
-
"deposit": {
|
|
98
|
-
"type": "null"
|
|
99
|
-
},
|
|
100
|
-
"editable_shipping_address": {
|
|
101
|
-
"type": "boolean"
|
|
102
|
-
},
|
|
103
88
|
"pay_now_only": {
|
|
104
89
|
"type": "boolean"
|
|
105
|
-
},
|
|
106
|
-
"payment_terms_template_admin_graphql_api_id": {
|
|
107
|
-
"format": "uri",
|
|
108
|
-
"type": "string"
|
|
109
90
|
}
|
|
110
91
|
},
|
|
111
92
|
"required": [
|
|
@@ -212,16 +193,10 @@
|
|
|
212
193
|
"type": "string"
|
|
213
194
|
},
|
|
214
195
|
"first_name": {
|
|
215
|
-
"type":
|
|
216
|
-
"null",
|
|
217
|
-
"string"
|
|
218
|
-
]
|
|
196
|
+
"type": "null"
|
|
219
197
|
},
|
|
220
198
|
"last_name": {
|
|
221
|
-
"type":
|
|
222
|
-
"null",
|
|
223
|
-
"string"
|
|
224
|
-
]
|
|
199
|
+
"type": "null"
|
|
225
200
|
},
|
|
226
201
|
"phone": {
|
|
227
202
|
"type": "string"
|
|
@@ -278,34 +253,6 @@
|
|
|
278
253
|
"required": [
|
|
279
254
|
"tax_id"
|
|
280
255
|
],
|
|
281
|
-
"type": [
|
|
282
|
-
"null",
|
|
283
|
-
"object"
|
|
284
|
-
]
|
|
285
|
-
},
|
|
286
|
-
"tax_settings": {
|
|
287
|
-
"properties": {
|
|
288
|
-
"tax_exempt": {
|
|
289
|
-
"type": [
|
|
290
|
-
"boolean",
|
|
291
|
-
"null"
|
|
292
|
-
]
|
|
293
|
-
},
|
|
294
|
-
"tax_exemptions": {
|
|
295
|
-
"items": {
|
|
296
|
-
"type": "string"
|
|
297
|
-
},
|
|
298
|
-
"type": "array"
|
|
299
|
-
},
|
|
300
|
-
"tax_registration_id": {
|
|
301
|
-
"type": "string"
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
"required": [
|
|
305
|
-
"tax_exempt",
|
|
306
|
-
"tax_exemptions",
|
|
307
|
-
"tax_registration_id"
|
|
308
|
-
],
|
|
309
256
|
"type": "object"
|
|
310
257
|
},
|
|
311
258
|
"updated_at": {
|
|
@@ -327,7 +274,6 @@
|
|
|
327
274
|
"shipping_address",
|
|
328
275
|
"tax_exemptions",
|
|
329
276
|
"tax_registration",
|
|
330
|
-
"tax_settings",
|
|
331
277
|
"updated_at"
|
|
332
278
|
],
|
|
333
279
|
"type": "object"
|
|
@@ -2,81 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"properties": {
|
|
4
4
|
"addresses": {
|
|
5
|
-
"items":
|
|
6
|
-
"properties": {
|
|
7
|
-
"address1": {
|
|
8
|
-
"type": "string"
|
|
9
|
-
},
|
|
10
|
-
"address2": {
|
|
11
|
-
"type": "string"
|
|
12
|
-
},
|
|
13
|
-
"city": {
|
|
14
|
-
"type": "string"
|
|
15
|
-
},
|
|
16
|
-
"company": {
|
|
17
|
-
"type": "string"
|
|
18
|
-
},
|
|
19
|
-
"country": {
|
|
20
|
-
"type": "string"
|
|
21
|
-
},
|
|
22
|
-
"country_code": {
|
|
23
|
-
"type": "string"
|
|
24
|
-
},
|
|
25
|
-
"country_name": {
|
|
26
|
-
"type": "string"
|
|
27
|
-
},
|
|
28
|
-
"customer_id": {
|
|
29
|
-
"type": "integer"
|
|
30
|
-
},
|
|
31
|
-
"default": {
|
|
32
|
-
"type": "boolean"
|
|
33
|
-
},
|
|
34
|
-
"first_name": {
|
|
35
|
-
"type": "string"
|
|
36
|
-
},
|
|
37
|
-
"id": {
|
|
38
|
-
"type": "integer"
|
|
39
|
-
},
|
|
40
|
-
"last_name": {
|
|
41
|
-
"type": "string"
|
|
42
|
-
},
|
|
43
|
-
"name": {
|
|
44
|
-
"type": "string"
|
|
45
|
-
},
|
|
46
|
-
"phone": {
|
|
47
|
-
"type": "string"
|
|
48
|
-
},
|
|
49
|
-
"province": {
|
|
50
|
-
"type": "string"
|
|
51
|
-
},
|
|
52
|
-
"province_code": {
|
|
53
|
-
"type": "string"
|
|
54
|
-
},
|
|
55
|
-
"zip": {
|
|
56
|
-
"type": "string"
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"required": [
|
|
60
|
-
"address1",
|
|
61
|
-
"address2",
|
|
62
|
-
"city",
|
|
63
|
-
"company",
|
|
64
|
-
"country",
|
|
65
|
-
"country_code",
|
|
66
|
-
"country_name",
|
|
67
|
-
"customer_id",
|
|
68
|
-
"default",
|
|
69
|
-
"first_name",
|
|
70
|
-
"id",
|
|
71
|
-
"last_name",
|
|
72
|
-
"name",
|
|
73
|
-
"phone",
|
|
74
|
-
"province",
|
|
75
|
-
"province_code",
|
|
76
|
-
"zip"
|
|
77
|
-
],
|
|
78
|
-
"type": "object"
|
|
79
|
-
},
|
|
5
|
+
"items": false,
|
|
80
6
|
"type": "array"
|
|
81
7
|
},
|
|
82
8
|
"admin_graphql_api_id": {
|
|
@@ -96,19 +22,13 @@
|
|
|
96
22
|
"type": "string"
|
|
97
23
|
},
|
|
98
24
|
"address2": {
|
|
99
|
-
"type":
|
|
100
|
-
"null",
|
|
101
|
-
"string"
|
|
102
|
-
]
|
|
25
|
+
"type": "null"
|
|
103
26
|
},
|
|
104
27
|
"city": {
|
|
105
28
|
"type": "string"
|
|
106
29
|
},
|
|
107
30
|
"company": {
|
|
108
|
-
"type":
|
|
109
|
-
"null",
|
|
110
|
-
"string"
|
|
111
|
-
]
|
|
31
|
+
"type": "null"
|
|
112
32
|
},
|
|
113
33
|
"country": {
|
|
114
34
|
"type": "string"
|
|
@@ -175,6 +95,12 @@
|
|
|
175
95
|
"format": "email",
|
|
176
96
|
"type": "string"
|
|
177
97
|
},
|
|
98
|
+
"email_marketing_consent": {
|
|
99
|
+
"type": [
|
|
100
|
+
"boolean",
|
|
101
|
+
"null"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
178
104
|
"first_name": {
|
|
179
105
|
"type": "string"
|
|
180
106
|
},
|
|
@@ -184,6 +110,12 @@
|
|
|
184
110
|
"last_name": {
|
|
185
111
|
"type": "string"
|
|
186
112
|
},
|
|
113
|
+
"last_order_id": {
|
|
114
|
+
"type": "integer"
|
|
115
|
+
},
|
|
116
|
+
"last_order_name": {
|
|
117
|
+
"type": "string"
|
|
118
|
+
},
|
|
187
119
|
"multipass_identifier": {
|
|
188
120
|
"type": [
|
|
189
121
|
"null",
|
|
@@ -193,24 +125,37 @@
|
|
|
193
125
|
"note": {
|
|
194
126
|
"type": "string"
|
|
195
127
|
},
|
|
128
|
+
"orders_count": {
|
|
129
|
+
"type": "integer"
|
|
130
|
+
},
|
|
196
131
|
"phone": {
|
|
197
132
|
"type": [
|
|
198
133
|
"null",
|
|
199
134
|
"string"
|
|
200
135
|
]
|
|
201
136
|
},
|
|
137
|
+
"sms_marketing_consent": {
|
|
138
|
+
"type": [
|
|
139
|
+
"boolean",
|
|
140
|
+
"null"
|
|
141
|
+
]
|
|
142
|
+
},
|
|
202
143
|
"state": {
|
|
203
144
|
"type": "string"
|
|
204
145
|
},
|
|
146
|
+
"tags": {
|
|
147
|
+
"type": "string"
|
|
148
|
+
},
|
|
205
149
|
"tax_exempt": {
|
|
206
150
|
"type": "boolean"
|
|
207
151
|
},
|
|
208
152
|
"tax_exemptions": {
|
|
209
|
-
"items":
|
|
210
|
-
"type": "string"
|
|
211
|
-
},
|
|
153
|
+
"items": false,
|
|
212
154
|
"type": "array"
|
|
213
155
|
},
|
|
156
|
+
"total_spent": {
|
|
157
|
+
"type": "string"
|
|
158
|
+
},
|
|
214
159
|
"updated_at": {
|
|
215
160
|
"format": "date-time",
|
|
216
161
|
"type": "string"
|
|
@@ -226,15 +171,22 @@
|
|
|
226
171
|
"currency",
|
|
227
172
|
"default_address",
|
|
228
173
|
"email",
|
|
174
|
+
"email_marketing_consent",
|
|
229
175
|
"first_name",
|
|
230
176
|
"id",
|
|
231
177
|
"last_name",
|
|
178
|
+
"last_order_id",
|
|
179
|
+
"last_order_name",
|
|
232
180
|
"multipass_identifier",
|
|
233
181
|
"note",
|
|
182
|
+
"orders_count",
|
|
234
183
|
"phone",
|
|
184
|
+
"sms_marketing_consent",
|
|
235
185
|
"state",
|
|
186
|
+
"tags",
|
|
236
187
|
"tax_exempt",
|
|
237
188
|
"tax_exemptions",
|
|
189
|
+
"total_spent",
|
|
238
190
|
"updated_at",
|
|
239
191
|
"verified_email"
|
|
240
192
|
],
|
|
@@ -2,87 +2,19 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"properties": {
|
|
4
4
|
"addresses": {
|
|
5
|
-
"items":
|
|
6
|
-
"properties": {
|
|
7
|
-
"address1": {
|
|
8
|
-
"type": "string"
|
|
9
|
-
},
|
|
10
|
-
"address2": {
|
|
11
|
-
"type": "string"
|
|
12
|
-
},
|
|
13
|
-
"city": {
|
|
14
|
-
"type": "string"
|
|
15
|
-
},
|
|
16
|
-
"company": {
|
|
17
|
-
"type": "string"
|
|
18
|
-
},
|
|
19
|
-
"country": {
|
|
20
|
-
"type": "string"
|
|
21
|
-
},
|
|
22
|
-
"country_code": {
|
|
23
|
-
"type": "string"
|
|
24
|
-
},
|
|
25
|
-
"country_name": {
|
|
26
|
-
"type": "string"
|
|
27
|
-
},
|
|
28
|
-
"customer_id": {
|
|
29
|
-
"type": "integer"
|
|
30
|
-
},
|
|
31
|
-
"default": {
|
|
32
|
-
"type": "boolean"
|
|
33
|
-
},
|
|
34
|
-
"first_name": {
|
|
35
|
-
"type": "string"
|
|
36
|
-
},
|
|
37
|
-
"id": {
|
|
38
|
-
"type": "integer"
|
|
39
|
-
},
|
|
40
|
-
"last_name": {
|
|
41
|
-
"type": "string"
|
|
42
|
-
},
|
|
43
|
-
"name": {
|
|
44
|
-
"type": "string"
|
|
45
|
-
},
|
|
46
|
-
"phone": {
|
|
47
|
-
"type": "string"
|
|
48
|
-
},
|
|
49
|
-
"province": {
|
|
50
|
-
"type": "string"
|
|
51
|
-
},
|
|
52
|
-
"province_code": {
|
|
53
|
-
"type": "string"
|
|
54
|
-
},
|
|
55
|
-
"zip": {
|
|
56
|
-
"type": "string"
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"required": [
|
|
60
|
-
"address1",
|
|
61
|
-
"address2",
|
|
62
|
-
"city",
|
|
63
|
-
"company",
|
|
64
|
-
"country",
|
|
65
|
-
"country_code",
|
|
66
|
-
"country_name",
|
|
67
|
-
"customer_id",
|
|
68
|
-
"default",
|
|
69
|
-
"first_name",
|
|
70
|
-
"id",
|
|
71
|
-
"last_name",
|
|
72
|
-
"name",
|
|
73
|
-
"phone",
|
|
74
|
-
"province",
|
|
75
|
-
"province_code",
|
|
76
|
-
"zip"
|
|
77
|
-
],
|
|
78
|
-
"type": "object"
|
|
79
|
-
},
|
|
5
|
+
"items": false,
|
|
80
6
|
"type": "array"
|
|
81
7
|
},
|
|
82
8
|
"admin_graphql_api_id": {
|
|
83
9
|
"format": "uri",
|
|
84
10
|
"type": "string"
|
|
85
11
|
},
|
|
12
|
+
"email_marketing_consent": {
|
|
13
|
+
"type": [
|
|
14
|
+
"boolean",
|
|
15
|
+
"null"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
86
18
|
"id": {
|
|
87
19
|
"type": "integer"
|
|
88
20
|
},
|
|
@@ -92,18 +24,24 @@
|
|
|
92
24
|
"string"
|
|
93
25
|
]
|
|
94
26
|
},
|
|
27
|
+
"sms_marketing_consent": {
|
|
28
|
+
"type": [
|
|
29
|
+
"boolean",
|
|
30
|
+
"null"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
95
33
|
"tax_exemptions": {
|
|
96
|
-
"items":
|
|
97
|
-
"type": "string"
|
|
98
|
-
},
|
|
34
|
+
"items": false,
|
|
99
35
|
"type": "array"
|
|
100
36
|
}
|
|
101
37
|
},
|
|
102
38
|
"required": [
|
|
103
39
|
"addresses",
|
|
104
40
|
"admin_graphql_api_id",
|
|
41
|
+
"email_marketing_consent",
|
|
105
42
|
"id",
|
|
106
43
|
"phone",
|
|
44
|
+
"sms_marketing_consent",
|
|
107
45
|
"tax_exemptions"
|
|
108
46
|
],
|
|
109
47
|
"type": "object"
|