shopify-webhook-schemas 0.2.2 → 0.2.3

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.
Files changed (190) hide show
  1. package/dist/src/infer-schema.d.ts +1 -1
  2. package/dist/src/infer-schema.js +29 -3
  3. package/dist/src/scrape.js +3 -2
  4. package/metadatas/2024-04/app_purchases_one_time/update.json +1 -1
  5. package/metadatas/2024-04/app_subscriptions/approaching_capped_amount.json +1 -1
  6. package/metadatas/2024-04/app_subscriptions/update.json +2 -5
  7. package/metadatas/2024-04/bulk_operations/finish.json +1 -1
  8. package/metadatas/2024-04/checkouts/create.json +17 -7
  9. package/metadatas/2024-04/checkouts/delete.json +1 -2
  10. package/metadatas/2024-04/checkouts/update.json +17 -7
  11. package/metadatas/2024-04/company_contact_roles/assign.json +0 -8
  12. package/metadatas/2024-04/company_contact_roles/revoke.json +0 -8
  13. package/metadatas/2024-04/company_locations/create.json +0 -8
  14. package/metadatas/2024-04/company_locations/delete.json +0 -8
  15. package/metadatas/2024-04/company_locations/update.json +0 -8
  16. package/metadatas/2024-04/customer.tags_added.json +1 -1
  17. package/metadatas/2024-04/customer.tags_removed.json +1 -1
  18. package/metadatas/2024-04/customers/create.json +7 -0
  19. package/metadatas/2024-04/customers/delete.json +2 -0
  20. package/metadatas/2024-04/customers/disable.json +7 -0
  21. package/metadatas/2024-04/customers/enable.json +7 -0
  22. package/metadatas/2024-04/customers/update.json +7 -0
  23. package/metadatas/2024-04/discounts/create.json +2 -2
  24. package/metadatas/2024-04/discounts/delete.json +1 -1
  25. package/metadatas/2024-04/discounts/redeemcode_added.json +1 -1
  26. package/metadatas/2024-04/discounts/redeemcode_removed.json +1 -1
  27. package/metadatas/2024-04/discounts/update.json +2 -2
  28. package/metadatas/2024-04/draft_orders/create.json +37 -26
  29. package/metadatas/2024-04/draft_orders/update.json +36 -25
  30. package/metadatas/2024-04/fulfillment_orders/placed_on_hold.json +2 -28
  31. package/metadatas/2024-04/fulfillments/create.json +24 -71
  32. package/metadatas/2024-04/fulfillments/update.json +24 -71
  33. package/metadatas/2024-04/inventory_items/create.json +1 -2
  34. package/metadatas/2024-04/inventory_items/delete.json +1 -2
  35. package/metadatas/2024-04/inventory_items/update.json +1 -2
  36. package/metadatas/2024-04/inventory_levels/connect.json +7 -1
  37. package/metadatas/2024-04/inventory_levels/update.json +7 -1
  38. package/metadatas/2024-04/markets/create.json +6 -2
  39. package/metadatas/2024-04/markets/update.json +6 -2
  40. package/metadatas/2024-04/order_transactions/create.json +3 -4
  41. package/metadatas/2024-04/orders/cancelled.json +51 -139
  42. package/metadatas/2024-04/orders/create.json +51 -139
  43. package/metadatas/2024-04/orders/edited.json +1 -2
  44. package/metadatas/2024-04/orders/fulfilled.json +51 -139
  45. package/metadatas/2024-04/orders/paid.json +51 -139
  46. package/metadatas/2024-04/orders/partially_fulfilled.json +51 -139
  47. package/metadatas/2024-04/orders/risk_assessment_changed.json +1 -1
  48. package/metadatas/2024-04/orders/updated.json +51 -139
  49. package/metadatas/2024-04/products/create.json +15 -6
  50. package/metadatas/2024-04/products/update.json +15 -6
  51. package/metadatas/2024-04/refunds/create.json +34 -112
  52. package/metadatas/2024-04/returns/approve.json +1 -1
  53. package/metadatas/2024-04/returns/decline.json +0 -4
  54. package/metadatas/2024-04/returns/request.json +1 -1
  55. package/metadatas/2024-04/segments/update.json +1 -1
  56. package/metadatas/2024-04/selling_plan_groups/delete.json +2 -2
  57. package/metadatas/2024-04/selling_plan_groups/update.json +2 -2
  58. package/metadatas/2024-04/subscription_billing_attempts/challenged.json +2 -2
  59. package/metadatas/2024-04/subscription_billing_attempts/failure.json +2 -2
  60. package/metadatas/2024-04/subscription_billing_attempts/success.json +2 -2
  61. package/metadatas/2024-04/subscription_billing_cycle_edits/create.json +1 -1
  62. package/metadatas/2024-04/subscription_billing_cycle_edits/delete.json +1 -1
  63. package/metadatas/2024-04/subscription_billing_cycle_edits/update.json +1 -1
  64. package/metadatas/2024-04/subscription_billing_cycles/skip.json +1 -1
  65. package/metadatas/2024-04/subscription_billing_cycles/unskip.json +1 -1
  66. package/metadatas/2024-04/subscription_contracts/activate.json +4 -4
  67. package/metadatas/2024-04/subscription_contracts/cancel.json +4 -4
  68. package/metadatas/2024-04/subscription_contracts/create.json +4 -4
  69. package/metadatas/2024-04/subscription_contracts/expire.json +4 -4
  70. package/metadatas/2024-04/subscription_contracts/fail.json +4 -4
  71. package/metadatas/2024-04/subscription_contracts/pause.json +4 -4
  72. package/metadatas/2024-04/subscription_contracts/update.json +4 -4
  73. package/metadatas/2024-04/tender_transactions/create.json +1 -1
  74. package/metadatas/2024-04/variants/in_stock.json +7 -1
  75. package/metadatas/2024-04/variants/out_of_stock.json +7 -1
  76. package/package.json +1 -1
  77. package/schemas/2024-04/app_subscriptions/approaching_capped_amount.json +0 -15
  78. package/schemas/2024-04/app_subscriptions/update.json +0 -12
  79. package/schemas/2024-04/carts/create.json +1 -4
  80. package/schemas/2024-04/carts/update.json +1 -4
  81. package/schemas/2024-04/checkouts/create.json +31 -35
  82. package/schemas/2024-04/checkouts/delete.json +0 -10
  83. package/schemas/2024-04/checkouts/update.json +31 -35
  84. package/schemas/2024-04/collections/create.json +0 -20
  85. package/schemas/2024-04/collections/update.json +0 -20
  86. package/schemas/2024-04/company_contact_roles/assign.json +0 -23
  87. package/schemas/2024-04/company_contact_roles/revoke.json +0 -23
  88. package/schemas/2024-04/company_locations/create.json +4 -58
  89. package/schemas/2024-04/company_locations/delete.json +4 -58
  90. package/schemas/2024-04/company_locations/update.json +4 -58
  91. package/schemas/2024-04/customer_payment_methods/create.json +1 -1
  92. package/schemas/2024-04/customer_payment_methods/revoke.json +1 -1
  93. package/schemas/2024-04/customer_payment_methods/update.json +1 -1
  94. package/schemas/2024-04/customers/create.json +38 -86
  95. package/schemas/2024-04/customers/delete.json +16 -78
  96. package/schemas/2024-04/customers/disable.json +38 -86
  97. package/schemas/2024-04/customers/enable.json +38 -86
  98. package/schemas/2024-04/customers/update.json +38 -86
  99. package/schemas/2024-04/customers_email_marketing_consent/update.json +3 -13
  100. package/schemas/2024-04/customers_marketing_consent/update.json +3 -13
  101. package/schemas/2024-04/disputes/create.json +1 -0
  102. package/schemas/2024-04/disputes/update.json +1 -0
  103. package/schemas/2024-04/domains/create.json +2 -4
  104. package/schemas/2024-04/domains/destroy.json +2 -4
  105. package/schemas/2024-04/domains/update.json +2 -4
  106. package/schemas/2024-04/draft_orders/create.json +26 -409
  107. package/schemas/2024-04/draft_orders/update.json +26 -409
  108. package/schemas/2024-04/fulfillment_orders/placed_on_hold.json +0 -80
  109. package/schemas/2024-04/fulfillment_orders/split.json +0 -12
  110. package/schemas/2024-04/fulfillments/create.json +66 -196
  111. package/schemas/2024-04/fulfillments/update.json +66 -196
  112. package/schemas/2024-04/inventory_items/create.json +3 -7
  113. package/schemas/2024-04/inventory_items/update.json +3 -7
  114. package/schemas/2024-04/inventory_levels/connect.json +29 -0
  115. package/schemas/2024-04/inventory_levels/update.json +29 -0
  116. package/schemas/2024-04/markets/create.json +18 -7
  117. package/schemas/2024-04/markets/update.json +18 -7
  118. package/schemas/2024-04/order_transactions/create.json +4 -18
  119. package/schemas/2024-04/orders/cancelled.json +10 -252
  120. package/schemas/2024-04/orders/create.json +10 -252
  121. package/schemas/2024-04/orders/edited.json +2 -13
  122. package/schemas/2024-04/orders/fulfilled.json +10 -252
  123. package/schemas/2024-04/orders/paid.json +10 -252
  124. package/schemas/2024-04/orders/partially_fulfilled.json +10 -252
  125. package/schemas/2024-04/orders/risk_assessment_changed.json +2 -9
  126. package/schemas/2024-04/orders/shopify_protect_eligibility_changed.json +1 -11
  127. package/schemas/2024-04/orders/updated.json +10 -252
  128. package/schemas/2024-04/payment_terms/create.json +1 -4
  129. package/schemas/2024-04/payment_terms/update.json +1 -4
  130. package/schemas/2024-04/products/create.json +73 -173
  131. package/schemas/2024-04/products/update.json +73 -173
  132. package/schemas/2024-04/refunds/create.json +16 -767
  133. package/schemas/2024-04/returns/decline.json +0 -17
  134. package/schemas/2024-04/selling_plan_groups/create.json +10 -66
  135. package/schemas/2024-04/selling_plan_groups/update.json +10 -66
  136. package/schemas/2024-04/shop/update.json +3 -4
  137. package/schemas/2024-04/subscription_billing_attempts/challenged.json +1 -0
  138. package/schemas/2024-04/subscription_billing_attempts/failure.json +1 -0
  139. package/schemas/2024-04/subscription_billing_attempts/success.json +1 -0
  140. package/schemas/2024-04/subscription_contracts/activate.json +2 -8
  141. package/schemas/2024-04/subscription_contracts/cancel.json +2 -8
  142. package/schemas/2024-04/subscription_contracts/create.json +2 -8
  143. package/schemas/2024-04/subscription_contracts/expire.json +2 -8
  144. package/schemas/2024-04/subscription_contracts/fail.json +2 -8
  145. package/schemas/2024-04/subscription_contracts/pause.json +2 -8
  146. package/schemas/2024-04/subscription_contracts/update.json +2 -8
  147. package/schemas/2024-04/tender_transactions/create.json +4 -6
  148. package/schemas/2024-04/themes/create.json +1 -4
  149. package/schemas/2024-04/themes/publish.json +1 -4
  150. package/schemas/2024-04/themes/update.json +1 -4
  151. package/schemas/2024-04/variants/in_stock.json +25 -1
  152. package/schemas/2024-04/variants/out_of_stock.json +25 -1
  153. package/metadatas/2024-04/app/scopes_update.json +0 -23
  154. package/metadatas/2024-04/checkout_and_accounts_configurations/update.json +0 -22
  155. package/metadatas/2024-04/customer.joined_segment.json +0 -18
  156. package/metadatas/2024-04/customer.left_segment.json +0 -18
  157. package/metadatas/2024-04/customer_account_settings/update.json +0 -17
  158. package/metadatas/2024-04/customers/purchasing_summary.json +0 -27
  159. package/metadatas/2024-04/delivery_promise_settings/update.json +0 -19
  160. package/metadatas/2024-04/finance_app_staff_member/delete.json +0 -19
  161. package/metadatas/2024-04/finance_app_staff_member/grant.json +0 -19
  162. package/metadatas/2024-04/finance_app_staff_member/revoke.json +0 -19
  163. package/metadatas/2024-04/finance_app_staff_member/update.json +0 -19
  164. package/metadatas/2024-04/finance_kyc_information/update.json +0 -19
  165. package/metadatas/2024-04/fulfillment_holds/added.json +0 -32
  166. package/metadatas/2024-04/fulfillment_holds/released.json +0 -32
  167. package/metadatas/2024-04/markets_backup_region/update.json +0 -18
  168. package/metadatas/2024-04/metafield_definitions/create.json +0 -47
  169. package/metadatas/2024-04/metafield_definitions/delete.json +0 -19
  170. package/metadatas/2024-04/metafield_definitions/update.json +0 -47
  171. package/metadatas/2024-04/product_feeds/full_sync_finish.json +0 -37
  172. package/schemas/2024-04/app/scopes_update.json +0 -31
  173. package/schemas/2024-04/checkout_and_accounts_configurations/update.json +0 -48
  174. package/schemas/2024-04/customer.joined_segment.json +0 -23
  175. package/schemas/2024-04/customer.left_segment.json +0 -23
  176. package/schemas/2024-04/customer_account_settings/update.json +0 -28
  177. package/schemas/2024-04/customers/purchasing_summary.json +0 -43
  178. package/schemas/2024-04/delivery_promise_settings/update.json +0 -21
  179. package/schemas/2024-04/finance_app_staff_member/delete.json +0 -4
  180. package/schemas/2024-04/finance_app_staff_member/grant.json +0 -4
  181. package/schemas/2024-04/finance_app_staff_member/revoke.json +0 -4
  182. package/schemas/2024-04/finance_app_staff_member/update.json +0 -4
  183. package/schemas/2024-04/finance_kyc_information/update.json +0 -4
  184. package/schemas/2024-04/fulfillment_holds/added.json +0 -63
  185. package/schemas/2024-04/fulfillment_holds/released.json +0 -63
  186. package/schemas/2024-04/markets_backup_region/update.json +0 -17
  187. package/schemas/2024-04/metafield_definitions/create.json +0 -141
  188. package/schemas/2024-04/metafield_definitions/delete.json +0 -21
  189. package/schemas/2024-04/metafield_definitions/update.json +0 -141
  190. package/schemas/2024-04/product_feeds/full_sync_finish.json +0 -97
@@ -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,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,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
  ],
@@ -14,23 +14,13 @@
14
14
  "email_marketing_consent": {
15
15
  "properties": {
16
16
  "consent_updated_at": {
17
- "format": "date-time",
18
- "type": [
19
- "null",
20
- "string"
21
- ]
17
+ "type": "null"
22
18
  },
23
19
  "opt_in_level": {
24
- "type": [
25
- "null",
26
- "string"
27
- ]
20
+ "type": "null"
28
21
  },
29
22
  "state": {
30
- "type": [
31
- "null",
32
- "string"
33
- ]
23
+ "type": "null"
34
24
  }
35
25
  },
36
26
  "required": [
@@ -16,23 +16,13 @@
16
16
  "type": "string"
17
17
  },
18
18
  "consent_updated_at": {
19
- "format": "date-time",
20
- "type": [
21
- "null",
22
- "string"
23
- ]
19
+ "type": "null"
24
20
  },
25
21
  "opt_in_level": {
26
- "type": [
27
- "null",
28
- "string"
29
- ]
22
+ "type": "null"
30
23
  },
31
24
  "state": {
32
- "type": [
33
- "null",
34
- "string"
35
- ]
25
+ "type": "null"
36
26
  }
37
27
  },
38
28
  "required": [
@@ -33,6 +33,7 @@
33
33
  "type": "string"
34
34
  },
35
35
  "network_reason_code": {
36
+ "format": "time",
36
37
  "type": "string"
37
38
  },
38
39
  "order_id": {
@@ -33,6 +33,7 @@
33
33
  "type": "string"
34
34
  },
35
35
  "network_reason_code": {
36
+ "format": "time",
36
37
  "type": "string"
37
38
  },
38
39
  "order_id": {
@@ -2,6 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "properties": {
4
4
  "host": {
5
+ "format": "hostname",
5
6
  "type": "string"
6
7
  },
7
8
  "id": {
@@ -25,10 +26,7 @@
25
26
  "country",
26
27
  "default_locale"
27
28
  ],
28
- "type": [
29
- "null",
30
- "object"
31
- ]
29
+ "type": "object"
32
30
  },
33
31
  "ssl_enabled": {
34
32
  "type": "boolean"
@@ -2,6 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "properties": {
4
4
  "host": {
5
+ "format": "hostname",
5
6
  "type": "string"
6
7
  },
7
8
  "id": {
@@ -25,10 +26,7 @@
25
26
  "country",
26
27
  "default_locale"
27
28
  ],
28
- "type": [
29
- "null",
30
- "object"
31
- ]
29
+ "type": "object"
32
30
  },
33
31
  "ssl_enabled": {
34
32
  "type": "boolean"