shopify-webhook-schemas 0.1.8 → 0.2.0

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 (113) hide show
  1. package/dist/src/index.d.ts +2 -0
  2. package/dist/src/index.js +3 -0
  3. package/dist/src/infer-schema.d.ts +18 -0
  4. package/dist/src/infer-schema.js +717 -0
  5. package/dist/src/scrape.js +11 -623
  6. package/metadatas/2025-04/app_purchases_one_time/update.json +1 -1
  7. package/metadatas/2025-04/app_subscriptions/approaching_capped_amount.json +1 -1
  8. package/metadatas/2025-04/app_subscriptions/update.json +5 -2
  9. package/metadatas/2025-04/bulk_operations/finish.json +1 -1
  10. package/metadatas/2025-04/checkouts/create.json +6 -6
  11. package/metadatas/2025-04/checkouts/update.json +6 -6
  12. package/metadatas/2025-04/discounts/create.json +2 -2
  13. package/metadatas/2025-04/discounts/delete.json +1 -1
  14. package/metadatas/2025-04/discounts/redeemcode_added.json +1 -1
  15. package/metadatas/2025-04/discounts/redeemcode_removed.json +1 -1
  16. package/metadatas/2025-04/discounts/update.json +2 -2
  17. package/metadatas/2025-04/draft_orders/create.json +24 -24
  18. package/metadatas/2025-04/draft_orders/update.json +26 -26
  19. package/metadatas/2025-04/fulfillments/create.json +71 -24
  20. package/metadatas/2025-04/fulfillments/update.json +71 -24
  21. package/metadatas/2025-04/inventory_items/create.json +2 -1
  22. package/metadatas/2025-04/inventory_items/delete.json +2 -1
  23. package/metadatas/2025-04/inventory_items/update.json +2 -1
  24. package/metadatas/2025-04/markets_backup_region/update.json +18 -0
  25. package/metadatas/2025-04/order_transactions/create.json +3 -3
  26. package/metadatas/2025-04/orders/cancelled.json +91 -41
  27. package/metadatas/2025-04/orders/create.json +91 -41
  28. package/metadatas/2025-04/orders/edited.json +1 -1
  29. package/metadatas/2025-04/orders/fulfilled.json +91 -41
  30. package/metadatas/2025-04/orders/paid.json +91 -41
  31. package/metadatas/2025-04/orders/partially_fulfilled.json +91 -41
  32. package/metadatas/2025-04/orders/updated.json +91 -41
  33. package/metadatas/2025-04/refunds/create.json +110 -34
  34. package/metadatas/2025-04/selling_plan_groups/create.json +2 -2
  35. package/metadatas/2025-04/selling_plan_groups/delete.json +2 -2
  36. package/metadatas/2025-04/selling_plan_groups/update.json +2 -2
  37. package/metadatas/2025-04/subscription_billing_attempts/challenged.json +2 -2
  38. package/metadatas/2025-04/subscription_billing_attempts/failure.json +2 -2
  39. package/metadatas/2025-04/subscription_billing_attempts/success.json +2 -2
  40. package/metadatas/2025-04/subscription_contracts/activate.json +4 -4
  41. package/metadatas/2025-04/subscription_contracts/cancel.json +4 -4
  42. package/metadatas/2025-04/subscription_contracts/create.json +4 -4
  43. package/metadatas/2025-04/subscription_contracts/expire.json +4 -4
  44. package/metadatas/2025-04/subscription_contracts/fail.json +4 -4
  45. package/metadatas/2025-04/subscription_contracts/pause.json +4 -4
  46. package/metadatas/2025-04/subscription_contracts/update.json +4 -4
  47. package/metadatas/2025-04/tender_transactions/create.json +1 -1
  48. package/package.json +6 -6
  49. package/schemas/2025-04/app_subscriptions/update.json +12 -0
  50. package/schemas/2025-04/carts/create.json +4 -1
  51. package/schemas/2025-04/carts/update.json +4 -1
  52. package/schemas/2025-04/checkouts/create.json +26 -16
  53. package/schemas/2025-04/checkouts/delete.json +3 -0
  54. package/schemas/2025-04/checkouts/update.json +26 -16
  55. package/schemas/2025-04/collections/create.json +20 -0
  56. package/schemas/2025-04/collections/update.json +20 -0
  57. package/schemas/2025-04/company_locations/create.json +37 -6
  58. package/schemas/2025-04/company_locations/delete.json +37 -6
  59. package/schemas/2025-04/company_locations/update.json +37 -6
  60. package/schemas/2025-04/customer_payment_methods/create.json +1 -1
  61. package/schemas/2025-04/customer_payment_methods/revoke.json +1 -1
  62. package/schemas/2025-04/customer_payment_methods/update.json +1 -1
  63. package/schemas/2025-04/customers/create.json +86 -4
  64. package/schemas/2025-04/customers/delete.json +78 -2
  65. package/schemas/2025-04/customers/disable.json +86 -4
  66. package/schemas/2025-04/customers/enable.json +86 -4
  67. package/schemas/2025-04/customers/update.json +86 -4
  68. package/schemas/2025-04/customers_email_marketing_consent/update.json +13 -3
  69. package/schemas/2025-04/customers_marketing_consent/update.json +13 -3
  70. package/schemas/2025-04/disputes/create.json +0 -1
  71. package/schemas/2025-04/disputes/update.json +0 -1
  72. package/schemas/2025-04/domains/create.json +4 -2
  73. package/schemas/2025-04/domains/destroy.json +4 -2
  74. package/schemas/2025-04/domains/update.json +4 -2
  75. package/schemas/2025-04/draft_orders/create.json +138 -4
  76. package/schemas/2025-04/draft_orders/update.json +138 -4
  77. package/schemas/2025-04/fulfillments/create.json +196 -66
  78. package/schemas/2025-04/fulfillments/update.json +196 -66
  79. package/schemas/2025-04/inventory_items/create.json +7 -3
  80. package/schemas/2025-04/inventory_items/update.json +7 -3
  81. package/schemas/2025-04/markets_backup_region/update.json +17 -0
  82. package/schemas/2025-04/order_transactions/create.json +15 -5
  83. package/schemas/2025-04/orders/cancelled.json +76 -4
  84. package/schemas/2025-04/orders/create.json +76 -4
  85. package/schemas/2025-04/orders/edited.json +8 -2
  86. package/schemas/2025-04/orders/fulfilled.json +76 -4
  87. package/schemas/2025-04/orders/paid.json +76 -4
  88. package/schemas/2025-04/orders/partially_fulfilled.json +76 -4
  89. package/schemas/2025-04/orders/risk_assessment_changed.json +9 -2
  90. package/schemas/2025-04/orders/shopify_protect_eligibility_changed.json +8 -1
  91. package/schemas/2025-04/orders/updated.json +76 -4
  92. package/schemas/2025-04/payment_terms/create.json +4 -1
  93. package/schemas/2025-04/payment_terms/update.json +4 -1
  94. package/schemas/2025-04/products/create.json +160 -64
  95. package/schemas/2025-04/products/update.json +160 -64
  96. package/schemas/2025-04/refunds/create.json +764 -17
  97. package/schemas/2025-04/selling_plan_groups/create.json +66 -10
  98. package/schemas/2025-04/selling_plan_groups/update.json +66 -10
  99. package/schemas/2025-04/shop/update.json +4 -3
  100. package/schemas/2025-04/subscription_billing_attempts/challenged.json +0 -1
  101. package/schemas/2025-04/subscription_billing_attempts/failure.json +0 -1
  102. package/schemas/2025-04/subscription_billing_attempts/success.json +0 -1
  103. package/schemas/2025-04/subscription_contracts/activate.json +8 -2
  104. package/schemas/2025-04/subscription_contracts/cancel.json +8 -2
  105. package/schemas/2025-04/subscription_contracts/create.json +8 -2
  106. package/schemas/2025-04/subscription_contracts/expire.json +8 -2
  107. package/schemas/2025-04/subscription_contracts/fail.json +8 -2
  108. package/schemas/2025-04/subscription_contracts/pause.json +8 -2
  109. package/schemas/2025-04/subscription_contracts/update.json +8 -2
  110. package/schemas/2025-04/tender_transactions/create.json +9 -16
  111. package/schemas/2025-04/themes/create.json +4 -1
  112. package/schemas/2025-04/themes/publish.json +4 -1
  113. package/schemas/2025-04/themes/update.json +4 -1
@@ -10,14 +10,17 @@
10
10
  "related_resource": "RecurringApplicationCharge",
11
11
  "response": {
12
12
  "app_subscription": {
13
- "admin_graphql_api_id": "gid://shopify/AppSubscription/1029266954",
13
+ "admin_graphql_api_id": "gid://shopify/AppSubscription/1029266985",
14
14
  "name": "Webhook Test",
15
15
  "status": "PENDING",
16
16
  "admin_graphql_api_shop_id": "gid://shopify/Shop/548380009",
17
17
  "created_at": "2021-12-31T19:00:00-05:00",
18
18
  "updated_at": "2021-12-31T19:00:00-05:00",
19
19
  "currency": "USD",
20
- "capped_amount": "20.0"
20
+ "capped_amount": "20.0",
21
+ "price": "10.00",
22
+ "interval": "every_30_days",
23
+ "plan_handle": "plan-123"
21
24
  }
22
25
  },
23
26
  "shop_feature": false
@@ -11,7 +11,7 @@
11
11
  "response": {
12
12
  "admin_graphql_api_id": "gid://shopify/BulkOperation/147595010",
13
13
  "completed_at": "2024-01-01T07:34:56-05:00",
14
- "created_at": "2025-01-30T15:41:03-05:00",
14
+ "created_at": "2025-04-01T11:25:18-04:00",
15
15
  "error_code": null,
16
16
  "status": "completed",
17
17
  "type": "query"
@@ -44,12 +44,12 @@
44
44
  {
45
45
  "applied_discounts": [],
46
46
  "discount_allocations": [],
47
- "key": "8683889d9080dc68f3cb1cdc1210c017",
48
- "destination_location_id": 1015975148,
47
+ "key": "15dbd294ffe33ffe12398ef1681c5d12",
48
+ "destination_location_id": 1015975220,
49
49
  "fulfillment_service": "manual",
50
50
  "gift_card": false,
51
51
  "grams": 567,
52
- "origin_location_id": 1015975147,
52
+ "origin_location_id": 1015975219,
53
53
  "presentment_title": "IPod Nano - 8GB",
54
54
  "presentment_variant_title": "Pink",
55
55
  "product_id": 632910392,
@@ -103,12 +103,12 @@
103
103
  {
104
104
  "applied_discounts": [],
105
105
  "discount_allocations": [],
106
- "key": "8683889d9080dc68f3cb1cdc1210c017",
107
- "destination_location_id": 1015975148,
106
+ "key": "15dbd294ffe33ffe12398ef1681c5d12",
107
+ "destination_location_id": 1015975220,
108
108
  "fulfillment_service": "manual",
109
109
  "gift_card": false,
110
110
  "grams": 567,
111
- "origin_location_id": 1015975147,
111
+ "origin_location_id": 1015975219,
112
112
  "presentment_title": "IPod Nano - 8GB",
113
113
  "presentment_variant_title": "Pink",
114
114
  "product_id": 632910392,
@@ -44,12 +44,12 @@
44
44
  {
45
45
  "applied_discounts": [],
46
46
  "discount_allocations": [],
47
- "key": "36ff9acde1828d8d047dbb5e351f2ec6",
48
- "destination_location_id": 1015975122,
47
+ "key": "d089fffc697298ee1507a5dc3248e605",
48
+ "destination_location_id": 1015975212,
49
49
  "fulfillment_service": "manual",
50
50
  "gift_card": false,
51
51
  "grams": 567,
52
- "origin_location_id": 1015975121,
52
+ "origin_location_id": 1015975211,
53
53
  "presentment_title": "IPod Nano - 8GB",
54
54
  "presentment_variant_title": "Pink",
55
55
  "product_id": 632910392,
@@ -103,12 +103,12 @@
103
103
  {
104
104
  "applied_discounts": [],
105
105
  "discount_allocations": [],
106
- "key": "36ff9acde1828d8d047dbb5e351f2ec6",
107
- "destination_location_id": 1015975122,
106
+ "key": "d089fffc697298ee1507a5dc3248e605",
107
+ "destination_location_id": 1015975212,
108
108
  "fulfillment_service": "manual",
109
109
  "gift_card": false,
110
110
  "grams": 567,
111
- "origin_location_id": 1015975121,
111
+ "origin_location_id": 1015975211,
112
112
  "presentment_title": "IPod Nano - 8GB",
113
113
  "presentment_variant_title": "Pink",
114
114
  "product_id": 632910392,
@@ -15,8 +15,8 @@
15
15
  "admin_graphql_api_id": "gid://shopify/DiscountAutomaticNode/1",
16
16
  "title": "Automatic free shipping",
17
17
  "status": "ACTIVE",
18
- "created_at": "2016-08-29T15:00:00-04:00",
19
- "updated_at": "2016-08-29T15:00:00-04:00"
18
+ "created_at": "2016-08-29T12:00:00-04:00",
19
+ "updated_at": "2016-08-29T12:00:00-04:00"
20
20
  },
21
21
  "shop_feature": false
22
22
  }
@@ -13,7 +13,7 @@
13
13
  "related_resource": "PriceRule",
14
14
  "response": {
15
15
  "admin_graphql_api_id": "gid://shopify/DiscountAutomaticNode/1",
16
- "deleted_at": "2018-08-29T15:00:00-04:00"
16
+ "deleted_at": "2018-08-29T12:00:00-04:00"
17
17
  },
18
18
  "shop_feature": false
19
19
  }
@@ -17,7 +17,7 @@
17
17
  "id": "gid://shopify/DiscountRedeemCode/1",
18
18
  "code": "code1"
19
19
  },
20
- "updated_at": "2018-08-29T19:00:00.000Z"
20
+ "updated_at": "2018-08-29T16:00:00.000Z"
21
21
  },
22
22
  "shop_feature": false
23
23
  }
@@ -17,7 +17,7 @@
17
17
  "id": "gid://shopify/DiscountRedeemCode/1",
18
18
  "code": "code1"
19
19
  },
20
- "updated_at": "2018-08-29T19:00:00.000Z"
20
+ "updated_at": "2018-08-29T16:00:00.000Z"
21
21
  },
22
22
  "shop_feature": false
23
23
  }
@@ -15,8 +15,8 @@
15
15
  "admin_graphql_api_id": "gid://shopify/DiscountAutomaticNode/1",
16
16
  "title": "Automatic free shipping updated",
17
17
  "status": "ACTIVE",
18
- "created_at": "2016-08-29T15:00:00-04:00",
19
- "updated_at": "2016-08-29T15:00:00-04:00"
18
+ "created_at": "2016-08-29T12:00:00-04:00",
19
+ "updated_at": "2016-08-29T12:00:00-04:00"
20
20
  },
21
21
  "shop_feature": false
22
22
  }
@@ -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": "#D139",
29
29
  "allow_discount_codes_in_checkout?": false,
30
30
  "b2b?": false,
31
31
  "status": "open",
32
32
  "line_items": [
33
33
  {
34
- "id": 2500367,
34
+ "id": 4798195,
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": 9,
41
+ "quantity": 2,
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/2500367"
53
+ "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/4798195"
54
54
  },
55
55
  {
56
- "id": 4904190,
56
+ "id": 92534,
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": 2,
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/4904190"
75
+ "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/92534"
76
76
  },
77
77
  {
78
- "id": 2754594,
78
+ "id": 2239589,
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": 10,
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/2754594"
97
+ "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/2239589"
98
98
  }
99
99
  ],
100
100
  "api_client_id": null,
@@ -138,7 +138,7 @@
138
138
  "description": "ABC 123",
139
139
  "value": "10.0",
140
140
  "title": "ABC 123",
141
- "amount": "7.00",
141
+ "amount": "5.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": "1.00"
150
150
  },
151
151
  "tax_lines": [
152
152
  {
153
- "rate": 0.029616170000628814,
153
+ "rate": 0.04444801588051686,
154
154
  "title": "State tax",
155
155
  "price": "5.00"
156
156
  },
157
157
  {
158
- "rate": 0.029616170000628814,
158
+ "rate": 0.04444801588051686,
159
159
  "title": "State tax",
160
160
  "price": "4.00"
161
161
  },
162
162
  {
163
- "rate": 0.029616170000628814,
163
+ "rate": 0.04444801588051686,
164
164
  "title": "State tax",
165
- "price": "4.00"
165
+ "price": "5.00"
166
166
  }
167
167
  ],
168
168
  "tags": "",
169
169
  "note_attributes": [],
170
- "total_price": "469.00",
171
- "subtotal_price": "400.00",
172
- "total_tax": "435.00",
170
+ "total_price": "404.00",
171
+ "subtotal_price": "405.00",
172
+ "total_tax": "445.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": "469.00",
191
+ "amount": "404.00",
192
192
  "currency": "USD",
193
- "total_price": "469.00",
193
+ "total_price": "404.00",
194
194
  "total_price_currency": "USD",
195
- "balance_due": "469.00",
195
+ "balance_due": "404.00",
196
196
  "balance_due_currency": "USD",
197
- "total_balance": "469.00",
197
+ "total_balance": "404.00",
198
198
  "total_balance_currency": "USD",
199
- "outstanding_balance": "469.00",
199
+ "outstanding_balance": "404.00",
200
200
  "outstanding_balance_currency": "USD"
201
201
  }
202
202
  ],
@@ -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": "#D145",
28
+ "name": "#D163",
29
29
  "allow_discount_codes_in_checkout?": false,
30
30
  "b2b?": false,
31
31
  "status": "open",
32
32
  "line_items": [
33
33
  {
34
- "id": 241656,
34
+ "id": 679203,
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": 6,
41
+ "quantity": 5,
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/241656"
53
+ "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/679203"
54
54
  },
55
55
  {
56
- "id": 3964383,
56
+ "id": 640714,
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": 4,
63
+ "quantity": 8,
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/3964383"
75
+ "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/640714"
76
76
  },
77
77
  {
78
- "id": 2797471,
78
+ "id": 4341069,
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": 2,
85
+ "quantity": 10,
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/2797471"
97
+ "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/4341069"
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": "4.0",
139
+ "value": "9.0",
140
140
  "title": "ABC 123",
141
- "amount": "2.00",
141
+ "amount": "3.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": "6.00"
149
+ "price": "3.00"
150
150
  },
151
151
  "tax_lines": [
152
152
  {
153
- "rate": 0.034970118912206,
153
+ "rate": 0.011531227348011836,
154
154
  "title": "State tax",
155
- "price": "4.00"
155
+ "price": "1.00"
156
156
  },
157
157
  {
158
- "rate": 0.034970118912206,
158
+ "rate": 0.011531227348011836,
159
159
  "title": "State tax",
160
- "price": "1.00"
160
+ "price": "2.00"
161
161
  },
162
162
  {
163
- "rate": 0.034970118912206,
163
+ "rate": 0.011531227348011836,
164
164
  "title": "State tax",
165
165
  "price": "4.00"
166
166
  }
167
167
  ],
168
168
  "tags": "",
169
169
  "note_attributes": [],
170
- "total_price": "430.00",
171
- "subtotal_price": "447.00",
172
- "total_tax": "482.00",
170
+ "total_price": "402.00",
171
+ "subtotal_price": "422.00",
172
+ "total_tax": "433.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": "430.00",
191
+ "amount": "402.00",
192
192
  "currency": "USD",
193
- "total_price": "430.00",
193
+ "total_price": "402.00",
194
194
  "total_price_currency": "USD",
195
- "balance_due": "430.00",
195
+ "balance_due": "402.00",
196
196
  "balance_due_currency": "USD",
197
- "total_balance": "430.00",
197
+ "total_balance": "402.00",
198
198
  "total_balance_currency": "USD",
199
- "outstanding_balance": "430.00",
199
+ "outstanding_balance": "402.00",
200
200
  "outstanding_balance_currency": "USD"
201
201
  }
202
202
  ],
@@ -46,34 +46,34 @@
46
46
  },
47
47
  "line_items": [
48
48
  {
49
- "id": 866550311766439000,
50
- "variant_id": 808950810,
51
- "title": "IPod Nano - 8GB",
49
+ "id": 487817672276298560,
50
+ "variant_id": null,
51
+ "title": "Aviator sunglasses",
52
52
  "quantity": 1,
53
- "sku": "IPOD2008PINK",
53
+ "sku": "SKU2006-001",
54
54
  "variant_title": null,
55
55
  "vendor": null,
56
56
  "fulfillment_service": "manual",
57
- "product_id": 632910392,
57
+ "product_id": 788032119674292900,
58
58
  "requires_shipping": true,
59
59
  "taxable": true,
60
60
  "gift_card": false,
61
- "name": "IPod Nano - 8GB",
62
- "variant_inventory_management": "shopify",
61
+ "name": "Aviator sunglasses",
62
+ "variant_inventory_management": null,
63
63
  "properties": [],
64
64
  "product_exists": true,
65
65
  "fulfillable_quantity": 1,
66
- "grams": 567,
67
- "price": "199.00",
66
+ "grams": 100,
67
+ "price": "89.99",
68
68
  "total_discount": "0.00",
69
69
  "fulfillment_status": null,
70
70
  "price_set": {
71
71
  "shop_money": {
72
- "amount": "199.00",
72
+ "amount": "89.99",
73
73
  "currency_code": "USD"
74
74
  },
75
75
  "presentment_money": {
76
- "amount": "199.00",
76
+ "amount": "89.99",
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/866550311766439020",
92
+ "admin_graphql_api_id": "gid://shopify/LineItem/487817672276298554",
93
93
  "tax_lines": []
94
94
  },
95
95
  {
96
- "id": 141249953214522980,
97
- "variant_id": 808950810,
98
- "title": "IPod Nano - 8GB",
96
+ "id": 976318377106520300,
97
+ "variant_id": null,
98
+ "title": "Mid-century lounger",
99
99
  "quantity": 1,
100
- "sku": "IPOD2008PINK",
100
+ "sku": "SKU2006-020",
101
101
  "variant_title": null,
102
102
  "vendor": null,
103
103
  "fulfillment_service": "manual",
104
- "product_id": 632910392,
104
+ "product_id": 788032119674292900,
105
105
  "requires_shipping": true,
106
106
  "taxable": true,
107
107
  "gift_card": false,
108
- "name": "IPod Nano - 8GB",
109
- "variant_inventory_management": "shopify",
108
+ "name": "Mid-century lounger",
109
+ "variant_inventory_management": null,
110
110
  "properties": [],
111
111
  "product_exists": true,
112
112
  "fulfillable_quantity": 1,
113
- "grams": 567,
114
- "price": "199.00",
113
+ "grams": 1000,
114
+ "price": "159.99",
115
115
  "total_discount": "5.00",
116
116
  "fulfillment_status": null,
117
117
  "price_set": {
118
118
  "shop_money": {
119
- "amount": "199.00",
119
+ "amount": "159.99",
120
120
  "currency_code": "USD"
121
121
  },
122
122
  "presentment_money": {
123
- "amount": "199.00",
123
+ "amount": "159.99",
124
124
  "currency_code": "USD"
125
125
  }
126
126
  },
@@ -165,7 +165,54 @@
165
165
  }
166
166
  ],
167
167
  "duties": [],
168
- "admin_graphql_api_id": "gid://shopify/LineItem/141249953214522974",
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",
169
216
  "tax_lines": []
170
217
  }
171
218
  ],