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
@@ -25,20 +25,20 @@
25
25
  "updated_at": "2021-12-31T19:00:00-05:00",
26
26
  "tax_exempt": false,
27
27
  "completed_at": null,
28
- "name": "#D108",
28
+ "name": "#D109",
29
29
  "allow_discount_codes_in_checkout?": false,
30
30
  "b2b?": false,
31
31
  "status": "open",
32
32
  "line_items": [
33
33
  {
34
- "id": 3504072,
34
+ "id": 3501443,
35
35
  "variant_id": 49148385,
36
36
  "product_id": 632910392,
37
37
  "title": "IPod Nano - 8GB",
38
38
  "variant_title": "Red",
39
39
  "sku": "IPOD2008RED",
40
40
  "vendor": "Apple",
41
- "quantity": 4,
41
+ "quantity": 7,
42
42
  "requires_shipping": true,
43
43
  "taxable": true,
44
44
  "gift_card": false,
@@ -50,17 +50,17 @@
50
50
  "properties": [],
51
51
  "custom": false,
52
52
  "price": "199.00",
53
- "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/3504072"
53
+ "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/3501443"
54
54
  },
55
55
  {
56
- "id": 3666910,
56
+ "id": 2686861,
57
57
  "variant_id": 457924702,
58
58
  "product_id": 632910392,
59
59
  "title": "IPod Nano - 8GB",
60
60
  "variant_title": "Black",
61
61
  "sku": "IPOD2008BLACK",
62
62
  "vendor": "Apple",
63
- "quantity": 3,
63
+ "quantity": 9,
64
64
  "requires_shipping": true,
65
65
  "taxable": true,
66
66
  "gift_card": false,
@@ -72,17 +72,17 @@
72
72
  "properties": [],
73
73
  "custom": false,
74
74
  "price": "199.00",
75
- "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/3666910"
75
+ "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/2686861"
76
76
  },
77
77
  {
78
- "id": 938766,
78
+ "id": 3836421,
79
79
  "variant_id": 808950810,
80
80
  "product_id": 632910392,
81
81
  "title": "IPod Nano - 8GB",
82
82
  "variant_title": "Pink",
83
83
  "sku": "IPOD2008PINK",
84
84
  "vendor": "Apple",
85
- "quantity": 4,
85
+ "quantity": 9,
86
86
  "requires_shipping": true,
87
87
  "taxable": true,
88
88
  "gift_card": false,
@@ -94,7 +94,7 @@
94
94
  "properties": [],
95
95
  "custom": false,
96
96
  "price": "199.00",
97
- "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/938766"
97
+ "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/3836421"
98
98
  }
99
99
  ],
100
100
  "api_client_id": null,
@@ -136,9 +136,9 @@
136
136
  "created_on_api_version_handle": null,
137
137
  "applied_discount": {
138
138
  "description": "ABC 123",
139
- "value": "9.0",
139
+ "value": "6.0",
140
140
  "title": "ABC 123",
141
- "amount": "2.00",
141
+ "amount": "9.00",
142
142
  "value_type": "percentage"
143
143
  },
144
144
  "order_id": null,
@@ -146,30 +146,30 @@
146
146
  "title": "ABC 123",
147
147
  "custom": true,
148
148
  "handle": null,
149
- "price": "5.00"
149
+ "price": "3.00"
150
150
  },
151
151
  "tax_lines": [
152
152
  {
153
- "rate": 0.045115094712995935,
153
+ "rate": 0.020742791096584286,
154
154
  "title": "State tax",
155
- "price": "4.00"
155
+ "price": "1.00"
156
156
  },
157
157
  {
158
- "rate": 0.045115094712995935,
158
+ "rate": 0.020742791096584286,
159
159
  "title": "State tax",
160
- "price": "4.00"
160
+ "price": "5.00"
161
161
  },
162
162
  {
163
- "rate": 0.045115094712995935,
163
+ "rate": 0.020742791096584286,
164
164
  "title": "State tax",
165
165
  "price": "2.00"
166
166
  }
167
167
  ],
168
168
  "tags": "",
169
169
  "note_attributes": [],
170
- "total_price": "429.00",
171
- "subtotal_price": "445.00",
172
- "total_tax": "424.00",
170
+ "total_price": "427.00",
171
+ "subtotal_price": "494.00",
172
+ "total_tax": "459.00",
173
173
  "payment_terms": {
174
174
  "id": 706405506930370000,
175
175
  "payment_terms_name": "Net 7",
@@ -188,15 +188,15 @@
188
188
  "issued_at": "2021-01-01T00:00:00-05:00",
189
189
  "due_at": "2021-01-02T00:00:00-05:00",
190
190
  "completed_at": "2021-01-02T00:00:00-05:00",
191
- "amount": "429.00",
191
+ "amount": "427.00",
192
192
  "currency": "USD",
193
- "total_price": "429.00",
193
+ "total_price": "427.00",
194
194
  "total_price_currency": "USD",
195
- "balance_due": "429.00",
195
+ "balance_due": "427.00",
196
196
  "balance_due_currency": "USD",
197
- "total_balance": "429.00",
197
+ "total_balance": "427.00",
198
198
  "total_balance_currency": "USD",
199
- "outstanding_balance": "429.00",
199
+ "outstanding_balance": "427.00",
200
200
  "outstanding_balance_currency": "USD"
201
201
  }
202
202
  ],
@@ -210,14 +210,25 @@
210
210
  "updated_at": null,
211
211
  "first_name": "John",
212
212
  "last_name": "Smith",
213
+ "orders_count": 0,
213
214
  "state": "disabled",
215
+ "total_spent": "0.00",
216
+ "last_order_id": null,
214
217
  "note": null,
215
218
  "verified_email": true,
216
219
  "multipass_identifier": null,
217
220
  "tax_exempt": false,
221
+ "tags": "",
222
+ "last_order_name": null,
218
223
  "currency": "USD",
219
224
  "phone": null,
220
225
  "tax_exemptions": [],
226
+ "email_marketing_consent": {
227
+ "state": "not_subscribed",
228
+ "opt_in_level": null,
229
+ "consent_updated_at": null
230
+ },
231
+ "sms_marketing_consent": null,
221
232
  "admin_graphql_api_id": "gid://shopify/Customer/706405506930370084",
222
233
  "default_address": {
223
234
  "id": null,
@@ -25,20 +25,20 @@
25
25
  "updated_at": "2021-12-31T19:00:00-05:00",
26
26
  "tax_exempt": false,
27
27
  "completed_at": null,
28
- "name": "#D199",
28
+ "name": "#D148",
29
29
  "allow_discount_codes_in_checkout?": false,
30
30
  "b2b?": false,
31
31
  "status": "open",
32
32
  "line_items": [
33
33
  {
34
- "id": 3575955,
34
+ "id": 4842269,
35
35
  "variant_id": 49148385,
36
36
  "product_id": 632910392,
37
37
  "title": "IPod Nano - 8GB",
38
38
  "variant_title": "Red",
39
39
  "sku": "IPOD2008RED",
40
40
  "vendor": "Apple",
41
- "quantity": 2,
41
+ "quantity": 7,
42
42
  "requires_shipping": true,
43
43
  "taxable": true,
44
44
  "gift_card": false,
@@ -50,17 +50,17 @@
50
50
  "properties": [],
51
51
  "custom": false,
52
52
  "price": "199.00",
53
- "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/3575955"
53
+ "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/4842269"
54
54
  },
55
55
  {
56
- "id": 3907329,
56
+ "id": 2504001,
57
57
  "variant_id": 457924702,
58
58
  "product_id": 632910392,
59
59
  "title": "IPod Nano - 8GB",
60
60
  "variant_title": "Black",
61
61
  "sku": "IPOD2008BLACK",
62
62
  "vendor": "Apple",
63
- "quantity": 10,
63
+ "quantity": 2,
64
64
  "requires_shipping": true,
65
65
  "taxable": true,
66
66
  "gift_card": false,
@@ -72,17 +72,17 @@
72
72
  "properties": [],
73
73
  "custom": false,
74
74
  "price": "199.00",
75
- "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/3907329"
75
+ "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/2504001"
76
76
  },
77
77
  {
78
- "id": 1126483,
78
+ "id": 55389,
79
79
  "variant_id": 808950810,
80
80
  "product_id": 632910392,
81
81
  "title": "IPod Nano - 8GB",
82
82
  "variant_title": "Pink",
83
83
  "sku": "IPOD2008PINK",
84
84
  "vendor": "Apple",
85
- "quantity": 1,
85
+ "quantity": 2,
86
86
  "requires_shipping": true,
87
87
  "taxable": true,
88
88
  "gift_card": false,
@@ -94,7 +94,7 @@
94
94
  "properties": [],
95
95
  "custom": false,
96
96
  "price": "199.00",
97
- "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/1126483"
97
+ "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/55389"
98
98
  }
99
99
  ],
100
100
  "api_client_id": null,
@@ -138,7 +138,7 @@
138
138
  "description": "ABC 123",
139
139
  "value": "4.0",
140
140
  "title": "ABC 123",
141
- "amount": "8.00",
141
+ "amount": "10.00",
142
142
  "value_type": "percentage"
143
143
  },
144
144
  "order_id": null,
@@ -146,30 +146,30 @@
146
146
  "title": "ABC 123",
147
147
  "custom": true,
148
148
  "handle": null,
149
- "price": "7.00"
149
+ "price": "2.00"
150
150
  },
151
151
  "tax_lines": [
152
152
  {
153
- "rate": 0.0217312863596874,
153
+ "rate": 0.04401059067287736,
154
154
  "title": "State tax",
155
- "price": "3.00"
155
+ "price": "2.00"
156
156
  },
157
157
  {
158
- "rate": 0.0217312863596874,
158
+ "rate": 0.04401059067287736,
159
159
  "title": "State tax",
160
160
  "price": "4.00"
161
161
  },
162
162
  {
163
- "rate": 0.0217312863596874,
163
+ "rate": 0.04401059067287736,
164
164
  "title": "State tax",
165
- "price": "1.00"
165
+ "price": "4.00"
166
166
  }
167
167
  ],
168
168
  "tags": "",
169
169
  "note_attributes": [],
170
- "total_price": "495.00",
171
- "subtotal_price": "432.00",
172
- "total_tax": "475.00",
170
+ "total_price": "425.00",
171
+ "subtotal_price": "442.00",
172
+ "total_tax": "424.00",
173
173
  "payment_terms": {
174
174
  "id": 706405506930370000,
175
175
  "payment_terms_name": "Net 7",
@@ -188,15 +188,15 @@
188
188
  "issued_at": "2021-01-01T00:00:00-05:00",
189
189
  "due_at": "2021-01-02T00:00:00-05:00",
190
190
  "completed_at": "2021-01-02T00:00:00-05:00",
191
- "amount": "495.00",
191
+ "amount": "425.00",
192
192
  "currency": "USD",
193
- "total_price": "495.00",
193
+ "total_price": "425.00",
194
194
  "total_price_currency": "USD",
195
- "balance_due": "495.00",
195
+ "balance_due": "425.00",
196
196
  "balance_due_currency": "USD",
197
- "total_balance": "495.00",
197
+ "total_balance": "425.00",
198
198
  "total_balance_currency": "USD",
199
- "outstanding_balance": "495.00",
199
+ "outstanding_balance": "425.00",
200
200
  "outstanding_balance_currency": "USD"
201
201
  }
202
202
  ],
@@ -210,14 +210,25 @@
210
210
  "updated_at": null,
211
211
  "first_name": "John",
212
212
  "last_name": "Smith",
213
+ "orders_count": 0,
213
214
  "state": "disabled",
215
+ "total_spent": "0.00",
216
+ "last_order_id": null,
214
217
  "note": null,
215
218
  "verified_email": true,
216
219
  "multipass_identifier": null,
217
220
  "tax_exempt": false,
221
+ "tags": "",
222
+ "last_order_name": null,
218
223
  "currency": "USD",
219
224
  "phone": null,
220
225
  "tax_exemptions": [],
226
+ "email_marketing_consent": {
227
+ "state": "not_subscribed",
228
+ "opt_in_level": null,
229
+ "consent_updated_at": null
230
+ },
231
+ "sms_marketing_consent": null,
221
232
  "admin_graphql_api_id": "gid://shopify/Customer/706405506930370084",
222
233
  "default_address": {
223
234
  "id": null,
@@ -20,24 +20,8 @@
20
20
  "status": "on_hold",
21
21
  "fulfillment_holds": [
22
22
  {
23
- "id": "gid://shopify/FulfillmentHold/1",
24
23
  "reason": "other",
25
- "reason_notes": "example",
26
- "held_by_requesting_app": false,
27
- "handle": "example-hold-1",
28
- "held_by_app": {
29
- "id": "gid://shopify/App/12345"
30
- }
31
- },
32
- {
33
- "id": "gid://shopify/FulfillmentHold/2",
34
- "reason": "inventory_out_of_stock",
35
- "reason_notes": "Stacked hold",
36
- "held_by_requesting_app": false,
37
- "handle": "example-hold-2",
38
- "held_by_app": {
39
- "id": "gid://shopify/App/12345"
40
- }
24
+ "reason_notes": "example"
41
25
  }
42
26
  ]
43
27
  },
@@ -50,17 +34,7 @@
50
34
  "id": "gid://shopify/FulfillmentOrderLineItem/3",
51
35
  "quantity": 4
52
36
  }
53
- ],
54
- "created_fulfillment_hold": {
55
- "id": "gid://shopify/FulfillmentHold/1",
56
- "reason": "other",
57
- "reason_notes": "example",
58
- "held_by_requesting_app": false,
59
- "handle": "example-hold-1",
60
- "held_by_app": {
61
- "id": "gid://shopify/App/12345"
62
- }
63
- }
37
+ ]
64
38
  },
65
39
  "shop_feature": false
66
40
  }
@@ -46,34 +46,34 @@
46
46
  },
47
47
  "line_items": [
48
48
  {
49
- "id": 487817672276298560,
50
- "variant_id": null,
51
- "title": "Aviator sunglasses",
49
+ "id": 866550311766439000,
50
+ "variant_id": 808950810,
51
+ "title": "IPod Nano - 8GB",
52
52
  "quantity": 1,
53
- "sku": "SKU2006-001",
53
+ "sku": "IPOD2008PINK",
54
54
  "variant_title": null,
55
55
  "vendor": null,
56
56
  "fulfillment_service": "manual",
57
- "product_id": 788032119674292900,
57
+ "product_id": 632910392,
58
58
  "requires_shipping": true,
59
59
  "taxable": true,
60
60
  "gift_card": false,
61
- "name": "Aviator sunglasses",
62
- "variant_inventory_management": null,
61
+ "name": "IPod Nano - 8GB",
62
+ "variant_inventory_management": "shopify",
63
63
  "properties": [],
64
64
  "product_exists": true,
65
65
  "fulfillable_quantity": 1,
66
- "grams": 100,
67
- "price": "89.99",
66
+ "grams": 567,
67
+ "price": "199.00",
68
68
  "total_discount": "0.00",
69
69
  "fulfillment_status": null,
70
70
  "price_set": {
71
71
  "shop_money": {
72
- "amount": "89.99",
72
+ "amount": "199.00",
73
73
  "currency_code": "USD"
74
74
  },
75
75
  "presentment_money": {
76
- "amount": "89.99",
76
+ "amount": "199.00",
77
77
  "currency_code": "USD"
78
78
  }
79
79
  },
@@ -89,38 +89,38 @@
89
89
  },
90
90
  "discount_allocations": [],
91
91
  "duties": [],
92
- "admin_graphql_api_id": "gid://shopify/LineItem/487817672276298554",
92
+ "admin_graphql_api_id": "gid://shopify/LineItem/866550311766439020",
93
93
  "tax_lines": []
94
94
  },
95
95
  {
96
- "id": 976318377106520300,
97
- "variant_id": null,
98
- "title": "Mid-century lounger",
96
+ "id": 141249953214522980,
97
+ "variant_id": 808950810,
98
+ "title": "IPod Nano - 8GB",
99
99
  "quantity": 1,
100
- "sku": "SKU2006-020",
100
+ "sku": "IPOD2008PINK",
101
101
  "variant_title": null,
102
102
  "vendor": null,
103
103
  "fulfillment_service": "manual",
104
- "product_id": 788032119674292900,
104
+ "product_id": 632910392,
105
105
  "requires_shipping": true,
106
106
  "taxable": true,
107
107
  "gift_card": false,
108
- "name": "Mid-century lounger",
109
- "variant_inventory_management": null,
108
+ "name": "IPod Nano - 8GB",
109
+ "variant_inventory_management": "shopify",
110
110
  "properties": [],
111
111
  "product_exists": true,
112
112
  "fulfillable_quantity": 1,
113
- "grams": 1000,
114
- "price": "159.99",
113
+ "grams": 567,
114
+ "price": "199.00",
115
115
  "total_discount": "5.00",
116
116
  "fulfillment_status": null,
117
117
  "price_set": {
118
118
  "shop_money": {
119
- "amount": "159.99",
119
+ "amount": "199.00",
120
120
  "currency_code": "USD"
121
121
  },
122
122
  "presentment_money": {
123
- "amount": "159.99",
123
+ "amount": "199.00",
124
124
  "currency_code": "USD"
125
125
  }
126
126
  },
@@ -165,54 +165,7 @@
165
165
  }
166
166
  ],
167
167
  "duties": [],
168
- "admin_graphql_api_id": "gid://shopify/LineItem/976318377106520349",
169
- "tax_lines": []
170
- },
171
- {
172
- "id": 315789986012684400,
173
- "variant_id": null,
174
- "title": "Coffee table",
175
- "quantity": 1,
176
- "sku": "SKU2006-035",
177
- "variant_title": null,
178
- "vendor": null,
179
- "fulfillment_service": "manual",
180
- "product_id": 788032119674292900,
181
- "requires_shipping": true,
182
- "taxable": true,
183
- "gift_card": false,
184
- "name": "Coffee table",
185
- "variant_inventory_management": null,
186
- "properties": [],
187
- "product_exists": true,
188
- "fulfillable_quantity": 1,
189
- "grams": 500,
190
- "price": "119.99",
191
- "total_discount": "0.00",
192
- "fulfillment_status": null,
193
- "price_set": {
194
- "shop_money": {
195
- "amount": "119.99",
196
- "currency_code": "USD"
197
- },
198
- "presentment_money": {
199
- "amount": "119.99",
200
- "currency_code": "USD"
201
- }
202
- },
203
- "total_discount_set": {
204
- "shop_money": {
205
- "amount": "0.00",
206
- "currency_code": "USD"
207
- },
208
- "presentment_money": {
209
- "amount": "0.00",
210
- "currency_code": "USD"
211
- }
212
- },
213
- "discount_allocations": [],
214
- "duties": [],
215
- "admin_graphql_api_id": "gid://shopify/LineItem/315789986012684393",
168
+ "admin_graphql_api_id": "gid://shopify/LineItem/141249953214522974",
216
169
  "tax_lines": []
217
170
  }
218
171
  ],