shopify-webhook-schemas 0.1.9 → 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 (109) hide show
  1. package/dist/src/infer-schema.js +90 -0
  2. package/metadatas/2025-04/app_purchases_one_time/update.json +1 -1
  3. package/metadatas/2025-04/app_subscriptions/approaching_capped_amount.json +1 -1
  4. package/metadatas/2025-04/app_subscriptions/update.json +5 -2
  5. package/metadatas/2025-04/bulk_operations/finish.json +1 -1
  6. package/metadatas/2025-04/checkouts/create.json +6 -6
  7. package/metadatas/2025-04/checkouts/update.json +6 -6
  8. package/metadatas/2025-04/discounts/create.json +2 -2
  9. package/metadatas/2025-04/discounts/delete.json +1 -1
  10. package/metadatas/2025-04/discounts/redeemcode_added.json +1 -1
  11. package/metadatas/2025-04/discounts/redeemcode_removed.json +1 -1
  12. package/metadatas/2025-04/discounts/update.json +2 -2
  13. package/metadatas/2025-04/draft_orders/create.json +24 -24
  14. package/metadatas/2025-04/draft_orders/update.json +26 -26
  15. package/metadatas/2025-04/fulfillments/create.json +71 -24
  16. package/metadatas/2025-04/fulfillments/update.json +71 -24
  17. package/metadatas/2025-04/inventory_items/create.json +2 -1
  18. package/metadatas/2025-04/inventory_items/delete.json +2 -1
  19. package/metadatas/2025-04/inventory_items/update.json +2 -1
  20. package/metadatas/2025-04/markets_backup_region/update.json +18 -0
  21. package/metadatas/2025-04/order_transactions/create.json +3 -3
  22. package/metadatas/2025-04/orders/cancelled.json +91 -41
  23. package/metadatas/2025-04/orders/create.json +91 -41
  24. package/metadatas/2025-04/orders/edited.json +1 -1
  25. package/metadatas/2025-04/orders/fulfilled.json +91 -41
  26. package/metadatas/2025-04/orders/paid.json +91 -41
  27. package/metadatas/2025-04/orders/partially_fulfilled.json +91 -41
  28. package/metadatas/2025-04/orders/updated.json +91 -41
  29. package/metadatas/2025-04/refunds/create.json +110 -34
  30. package/metadatas/2025-04/selling_plan_groups/create.json +2 -2
  31. package/metadatas/2025-04/selling_plan_groups/delete.json +2 -2
  32. package/metadatas/2025-04/selling_plan_groups/update.json +2 -2
  33. package/metadatas/2025-04/subscription_billing_attempts/challenged.json +2 -2
  34. package/metadatas/2025-04/subscription_billing_attempts/failure.json +2 -2
  35. package/metadatas/2025-04/subscription_billing_attempts/success.json +2 -2
  36. package/metadatas/2025-04/subscription_contracts/activate.json +4 -4
  37. package/metadatas/2025-04/subscription_contracts/cancel.json +4 -4
  38. package/metadatas/2025-04/subscription_contracts/create.json +4 -4
  39. package/metadatas/2025-04/subscription_contracts/expire.json +4 -4
  40. package/metadatas/2025-04/subscription_contracts/fail.json +4 -4
  41. package/metadatas/2025-04/subscription_contracts/pause.json +4 -4
  42. package/metadatas/2025-04/subscription_contracts/update.json +4 -4
  43. package/metadatas/2025-04/tender_transactions/create.json +1 -1
  44. package/package.json +1 -1
  45. package/schemas/2025-04/app_subscriptions/update.json +12 -0
  46. package/schemas/2025-04/carts/create.json +4 -1
  47. package/schemas/2025-04/carts/update.json +4 -1
  48. package/schemas/2025-04/checkouts/create.json +26 -16
  49. package/schemas/2025-04/checkouts/delete.json +3 -0
  50. package/schemas/2025-04/checkouts/update.json +26 -16
  51. package/schemas/2025-04/collections/create.json +20 -0
  52. package/schemas/2025-04/collections/update.json +20 -0
  53. package/schemas/2025-04/company_locations/create.json +37 -6
  54. package/schemas/2025-04/company_locations/delete.json +37 -6
  55. package/schemas/2025-04/company_locations/update.json +37 -6
  56. package/schemas/2025-04/customer_payment_methods/create.json +1 -1
  57. package/schemas/2025-04/customer_payment_methods/revoke.json +1 -1
  58. package/schemas/2025-04/customer_payment_methods/update.json +1 -1
  59. package/schemas/2025-04/customers/create.json +86 -4
  60. package/schemas/2025-04/customers/delete.json +78 -2
  61. package/schemas/2025-04/customers/disable.json +86 -4
  62. package/schemas/2025-04/customers/enable.json +86 -4
  63. package/schemas/2025-04/customers/update.json +86 -4
  64. package/schemas/2025-04/customers_email_marketing_consent/update.json +13 -3
  65. package/schemas/2025-04/customers_marketing_consent/update.json +13 -3
  66. package/schemas/2025-04/disputes/create.json +0 -1
  67. package/schemas/2025-04/disputes/update.json +0 -1
  68. package/schemas/2025-04/domains/create.json +4 -2
  69. package/schemas/2025-04/domains/destroy.json +4 -2
  70. package/schemas/2025-04/domains/update.json +4 -2
  71. package/schemas/2025-04/draft_orders/create.json +138 -4
  72. package/schemas/2025-04/draft_orders/update.json +138 -4
  73. package/schemas/2025-04/fulfillments/create.json +196 -66
  74. package/schemas/2025-04/fulfillments/update.json +196 -66
  75. package/schemas/2025-04/inventory_items/create.json +7 -3
  76. package/schemas/2025-04/inventory_items/update.json +7 -3
  77. package/schemas/2025-04/markets_backup_region/update.json +17 -0
  78. package/schemas/2025-04/order_transactions/create.json +15 -5
  79. package/schemas/2025-04/orders/cancelled.json +76 -4
  80. package/schemas/2025-04/orders/create.json +76 -4
  81. package/schemas/2025-04/orders/edited.json +8 -2
  82. package/schemas/2025-04/orders/fulfilled.json +76 -4
  83. package/schemas/2025-04/orders/paid.json +76 -4
  84. package/schemas/2025-04/orders/partially_fulfilled.json +76 -4
  85. package/schemas/2025-04/orders/risk_assessment_changed.json +9 -2
  86. package/schemas/2025-04/orders/shopify_protect_eligibility_changed.json +8 -1
  87. package/schemas/2025-04/orders/updated.json +76 -4
  88. package/schemas/2025-04/payment_terms/create.json +4 -1
  89. package/schemas/2025-04/payment_terms/update.json +4 -1
  90. package/schemas/2025-04/products/create.json +160 -64
  91. package/schemas/2025-04/products/update.json +160 -64
  92. package/schemas/2025-04/refunds/create.json +764 -17
  93. package/schemas/2025-04/selling_plan_groups/create.json +66 -10
  94. package/schemas/2025-04/selling_plan_groups/update.json +66 -10
  95. package/schemas/2025-04/shop/update.json +4 -3
  96. package/schemas/2025-04/subscription_billing_attempts/challenged.json +0 -1
  97. package/schemas/2025-04/subscription_billing_attempts/failure.json +0 -1
  98. package/schemas/2025-04/subscription_billing_attempts/success.json +0 -1
  99. package/schemas/2025-04/subscription_contracts/activate.json +8 -2
  100. package/schemas/2025-04/subscription_contracts/cancel.json +8 -2
  101. package/schemas/2025-04/subscription_contracts/create.json +8 -2
  102. package/schemas/2025-04/subscription_contracts/expire.json +8 -2
  103. package/schemas/2025-04/subscription_contracts/fail.json +8 -2
  104. package/schemas/2025-04/subscription_contracts/pause.json +8 -2
  105. package/schemas/2025-04/subscription_contracts/update.json +8 -2
  106. package/schemas/2025-04/tender_transactions/create.json +9 -16
  107. package/schemas/2025-04/themes/create.json +4 -1
  108. package/schemas/2025-04/themes/publish.json +4 -1
  109. package/schemas/2025-04/themes/update.json +4 -1
@@ -624,4 +624,94 @@ exports.overrides = [
624
624
  },
625
625
  },
626
626
  },
627
+ {
628
+ topics: ["collections/create", "collections/update"],
629
+ schema: {
630
+ image: {
631
+ type: "object",
632
+ properties: {
633
+ alt: { type: "string" },
634
+ created_at: { type: "string" },
635
+ height: { type: "number" },
636
+ src: { type: "string" },
637
+ width: { type: "number" },
638
+ },
639
+ },
640
+ },
641
+ },
642
+ {
643
+ topics: ["fulfillments/create", "fulfillments/update"],
644
+ schema: {
645
+ origin_address: {
646
+ address1: { type: "string" },
647
+ city: { type: "string" },
648
+ country_code: { type: "string" },
649
+ province_code: { type: "string" },
650
+ zip: { type: "string" },
651
+ },
652
+ },
653
+ },
654
+ {
655
+ topics: ["products/create", "products/update"],
656
+ schema: {
657
+ image: {
658
+ properties: {
659
+ admin_graphql_api_id: {
660
+ format: "uri",
661
+ type: "string",
662
+ },
663
+ alt: {
664
+ type: ["string", "null"],
665
+ },
666
+ created_at: {
667
+ format: "date-time",
668
+ type: "string",
669
+ },
670
+ height: {
671
+ type: "integer",
672
+ },
673
+ id: {
674
+ type: "integer",
675
+ },
676
+ position: {
677
+ type: "integer",
678
+ },
679
+ product_id: {
680
+ type: "integer",
681
+ },
682
+ src: {
683
+ format: "uri",
684
+ type: "string",
685
+ },
686
+ updated_at: {
687
+ format: "date-time",
688
+ type: "string",
689
+ },
690
+ variant_ids: {
691
+ items: {
692
+ type: "integer",
693
+ },
694
+ type: "array",
695
+ },
696
+ width: {
697
+ type: "integer",
698
+ },
699
+ },
700
+ required: [
701
+ "admin_graphql_api_id",
702
+ "alt",
703
+ "created_at",
704
+ "height",
705
+ "id",
706
+ "position",
707
+ "product_id",
708
+ "src",
709
+ "updated_at",
710
+ "variant_ids",
711
+ "width",
712
+ ],
713
+ type: "object",
714
+ },
715
+ },
716
+ },
627
717
  ];
@@ -9,7 +9,7 @@
9
9
  "related_resource": "ApplicationCharge",
10
10
  "response": {
11
11
  "app_purchase_one_time": {
12
- "admin_graphql_api_id": "gid://shopify/AppPurchaseOneTime/1017262350",
12
+ "admin_graphql_api_id": "gid://shopify/AppPurchaseOneTime/1017262366",
13
13
  "name": "Webhook Test",
14
14
  "status": "PENDING",
15
15
  "admin_graphql_api_shop_id": "gid://shopify/Shop/548380009",
@@ -9,7 +9,7 @@
9
9
  "related_resource": "RecurringApplicationCharge",
10
10
  "response": {
11
11
  "app_subscription": {
12
- "admin_graphql_api_id": "gid://shopify/AppSubscription/1029266950",
12
+ "admin_graphql_api_id": "gid://shopify/AppSubscription/1029266975",
13
13
  "name": "Webhook Test",
14
14
  "balance_used": 0,
15
15
  "capped_amount": "20.0",
@@ -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
  ],