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.
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +3 -0
- package/dist/src/infer-schema.d.ts +18 -0
- package/dist/src/infer-schema.js +717 -0
- package/dist/src/scrape.js +11 -623
- package/metadatas/2025-04/app_purchases_one_time/update.json +1 -1
- package/metadatas/2025-04/app_subscriptions/approaching_capped_amount.json +1 -1
- package/metadatas/2025-04/app_subscriptions/update.json +5 -2
- package/metadatas/2025-04/bulk_operations/finish.json +1 -1
- package/metadatas/2025-04/checkouts/create.json +6 -6
- package/metadatas/2025-04/checkouts/update.json +6 -6
- package/metadatas/2025-04/discounts/create.json +2 -2
- package/metadatas/2025-04/discounts/delete.json +1 -1
- package/metadatas/2025-04/discounts/redeemcode_added.json +1 -1
- package/metadatas/2025-04/discounts/redeemcode_removed.json +1 -1
- package/metadatas/2025-04/discounts/update.json +2 -2
- package/metadatas/2025-04/draft_orders/create.json +24 -24
- package/metadatas/2025-04/draft_orders/update.json +26 -26
- package/metadatas/2025-04/fulfillments/create.json +71 -24
- package/metadatas/2025-04/fulfillments/update.json +71 -24
- package/metadatas/2025-04/inventory_items/create.json +2 -1
- package/metadatas/2025-04/inventory_items/delete.json +2 -1
- package/metadatas/2025-04/inventory_items/update.json +2 -1
- package/metadatas/2025-04/markets_backup_region/update.json +18 -0
- package/metadatas/2025-04/order_transactions/create.json +3 -3
- package/metadatas/2025-04/orders/cancelled.json +91 -41
- package/metadatas/2025-04/orders/create.json +91 -41
- package/metadatas/2025-04/orders/edited.json +1 -1
- package/metadatas/2025-04/orders/fulfilled.json +91 -41
- package/metadatas/2025-04/orders/paid.json +91 -41
- package/metadatas/2025-04/orders/partially_fulfilled.json +91 -41
- package/metadatas/2025-04/orders/updated.json +91 -41
- package/metadatas/2025-04/refunds/create.json +110 -34
- package/metadatas/2025-04/selling_plan_groups/create.json +2 -2
- package/metadatas/2025-04/selling_plan_groups/delete.json +2 -2
- package/metadatas/2025-04/selling_plan_groups/update.json +2 -2
- package/metadatas/2025-04/subscription_billing_attempts/challenged.json +2 -2
- package/metadatas/2025-04/subscription_billing_attempts/failure.json +2 -2
- package/metadatas/2025-04/subscription_billing_attempts/success.json +2 -2
- package/metadatas/2025-04/subscription_contracts/activate.json +4 -4
- package/metadatas/2025-04/subscription_contracts/cancel.json +4 -4
- package/metadatas/2025-04/subscription_contracts/create.json +4 -4
- package/metadatas/2025-04/subscription_contracts/expire.json +4 -4
- package/metadatas/2025-04/subscription_contracts/fail.json +4 -4
- package/metadatas/2025-04/subscription_contracts/pause.json +4 -4
- package/metadatas/2025-04/subscription_contracts/update.json +4 -4
- package/metadatas/2025-04/tender_transactions/create.json +1 -1
- package/package.json +6 -6
- package/schemas/2025-04/app_subscriptions/update.json +12 -0
- package/schemas/2025-04/carts/create.json +4 -1
- package/schemas/2025-04/carts/update.json +4 -1
- package/schemas/2025-04/checkouts/create.json +26 -16
- package/schemas/2025-04/checkouts/delete.json +3 -0
- package/schemas/2025-04/checkouts/update.json +26 -16
- package/schemas/2025-04/collections/create.json +20 -0
- package/schemas/2025-04/collections/update.json +20 -0
- package/schemas/2025-04/company_locations/create.json +37 -6
- package/schemas/2025-04/company_locations/delete.json +37 -6
- package/schemas/2025-04/company_locations/update.json +37 -6
- package/schemas/2025-04/customer_payment_methods/create.json +1 -1
- package/schemas/2025-04/customer_payment_methods/revoke.json +1 -1
- package/schemas/2025-04/customer_payment_methods/update.json +1 -1
- package/schemas/2025-04/customers/create.json +86 -4
- package/schemas/2025-04/customers/delete.json +78 -2
- package/schemas/2025-04/customers/disable.json +86 -4
- package/schemas/2025-04/customers/enable.json +86 -4
- package/schemas/2025-04/customers/update.json +86 -4
- package/schemas/2025-04/customers_email_marketing_consent/update.json +13 -3
- package/schemas/2025-04/customers_marketing_consent/update.json +13 -3
- package/schemas/2025-04/disputes/create.json +0 -1
- package/schemas/2025-04/disputes/update.json +0 -1
- package/schemas/2025-04/domains/create.json +4 -2
- package/schemas/2025-04/domains/destroy.json +4 -2
- package/schemas/2025-04/domains/update.json +4 -2
- package/schemas/2025-04/draft_orders/create.json +138 -4
- package/schemas/2025-04/draft_orders/update.json +138 -4
- package/schemas/2025-04/fulfillments/create.json +196 -66
- package/schemas/2025-04/fulfillments/update.json +196 -66
- package/schemas/2025-04/inventory_items/create.json +7 -3
- package/schemas/2025-04/inventory_items/update.json +7 -3
- package/schemas/2025-04/markets_backup_region/update.json +17 -0
- package/schemas/2025-04/order_transactions/create.json +15 -5
- package/schemas/2025-04/orders/cancelled.json +76 -4
- package/schemas/2025-04/orders/create.json +76 -4
- package/schemas/2025-04/orders/edited.json +8 -2
- package/schemas/2025-04/orders/fulfilled.json +76 -4
- package/schemas/2025-04/orders/paid.json +76 -4
- package/schemas/2025-04/orders/partially_fulfilled.json +76 -4
- package/schemas/2025-04/orders/risk_assessment_changed.json +9 -2
- package/schemas/2025-04/orders/shopify_protect_eligibility_changed.json +8 -1
- package/schemas/2025-04/orders/updated.json +76 -4
- package/schemas/2025-04/payment_terms/create.json +4 -1
- package/schemas/2025-04/payment_terms/update.json +4 -1
- package/schemas/2025-04/products/create.json +160 -64
- package/schemas/2025-04/products/update.json +160 -64
- package/schemas/2025-04/refunds/create.json +764 -17
- package/schemas/2025-04/selling_plan_groups/create.json +66 -10
- package/schemas/2025-04/selling_plan_groups/update.json +66 -10
- package/schemas/2025-04/shop/update.json +4 -3
- package/schemas/2025-04/subscription_billing_attempts/challenged.json +0 -1
- package/schemas/2025-04/subscription_billing_attempts/failure.json +0 -1
- package/schemas/2025-04/subscription_billing_attempts/success.json +0 -1
- package/schemas/2025-04/subscription_contracts/activate.json +8 -2
- package/schemas/2025-04/subscription_contracts/cancel.json +8 -2
- package/schemas/2025-04/subscription_contracts/create.json +8 -2
- package/schemas/2025-04/subscription_contracts/expire.json +8 -2
- package/schemas/2025-04/subscription_contracts/fail.json +8 -2
- package/schemas/2025-04/subscription_contracts/pause.json +8 -2
- package/schemas/2025-04/subscription_contracts/update.json +8 -2
- package/schemas/2025-04/tender_transactions/create.json +9 -16
- package/schemas/2025-04/themes/create.json +4 -1
- package/schemas/2025-04/themes/publish.json +4 -1
- 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/
|
|
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-
|
|
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": "
|
|
48
|
-
"destination_location_id":
|
|
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":
|
|
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": "
|
|
107
|
-
"destination_location_id":
|
|
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":
|
|
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": "
|
|
48
|
-
"destination_location_id":
|
|
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":
|
|
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": "
|
|
107
|
-
"destination_location_id":
|
|
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":
|
|
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-
|
|
19
|
-
"updated_at": "2016-08-
|
|
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
|
}
|
|
@@ -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-
|
|
19
|
-
"updated_at": "2016-08-
|
|
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": "#
|
|
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":
|
|
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":
|
|
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/
|
|
53
|
+
"admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/4798195"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
|
-
"id":
|
|
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":
|
|
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/
|
|
75
|
+
"admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/92534"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
|
-
"id":
|
|
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":
|
|
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/
|
|
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": "
|
|
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": "
|
|
149
|
+
"price": "1.00"
|
|
150
150
|
},
|
|
151
151
|
"tax_lines": [
|
|
152
152
|
{
|
|
153
|
-
"rate": 0.
|
|
153
|
+
"rate": 0.04444801588051686,
|
|
154
154
|
"title": "State tax",
|
|
155
155
|
"price": "5.00"
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
|
-
"rate": 0.
|
|
158
|
+
"rate": 0.04444801588051686,
|
|
159
159
|
"title": "State tax",
|
|
160
160
|
"price": "4.00"
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
|
-
"rate": 0.
|
|
163
|
+
"rate": 0.04444801588051686,
|
|
164
164
|
"title": "State tax",
|
|
165
|
-
"price": "
|
|
165
|
+
"price": "5.00"
|
|
166
166
|
}
|
|
167
167
|
],
|
|
168
168
|
"tags": "",
|
|
169
169
|
"note_attributes": [],
|
|
170
|
-
"total_price": "
|
|
171
|
-
"subtotal_price": "
|
|
172
|
-
"total_tax": "
|
|
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": "
|
|
191
|
+
"amount": "404.00",
|
|
192
192
|
"currency": "USD",
|
|
193
|
-
"total_price": "
|
|
193
|
+
"total_price": "404.00",
|
|
194
194
|
"total_price_currency": "USD",
|
|
195
|
-
"balance_due": "
|
|
195
|
+
"balance_due": "404.00",
|
|
196
196
|
"balance_due_currency": "USD",
|
|
197
|
-
"total_balance": "
|
|
197
|
+
"total_balance": "404.00",
|
|
198
198
|
"total_balance_currency": "USD",
|
|
199
|
-
"outstanding_balance": "
|
|
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": "#
|
|
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":
|
|
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":
|
|
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/
|
|
53
|
+
"admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/679203"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
|
-
"id":
|
|
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":
|
|
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/
|
|
75
|
+
"admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/640714"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
|
-
"id":
|
|
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":
|
|
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/
|
|
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": "
|
|
139
|
+
"value": "9.0",
|
|
140
140
|
"title": "ABC 123",
|
|
141
|
-
"amount": "
|
|
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": "
|
|
149
|
+
"price": "3.00"
|
|
150
150
|
},
|
|
151
151
|
"tax_lines": [
|
|
152
152
|
{
|
|
153
|
-
"rate": 0.
|
|
153
|
+
"rate": 0.011531227348011836,
|
|
154
154
|
"title": "State tax",
|
|
155
|
-
"price": "
|
|
155
|
+
"price": "1.00"
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
|
-
"rate": 0.
|
|
158
|
+
"rate": 0.011531227348011836,
|
|
159
159
|
"title": "State tax",
|
|
160
|
-
"price": "
|
|
160
|
+
"price": "2.00"
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
|
-
"rate": 0.
|
|
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": "
|
|
171
|
-
"subtotal_price": "
|
|
172
|
-
"total_tax": "
|
|
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": "
|
|
191
|
+
"amount": "402.00",
|
|
192
192
|
"currency": "USD",
|
|
193
|
-
"total_price": "
|
|
193
|
+
"total_price": "402.00",
|
|
194
194
|
"total_price_currency": "USD",
|
|
195
|
-
"balance_due": "
|
|
195
|
+
"balance_due": "402.00",
|
|
196
196
|
"balance_due_currency": "USD",
|
|
197
|
-
"total_balance": "
|
|
197
|
+
"total_balance": "402.00",
|
|
198
198
|
"total_balance_currency": "USD",
|
|
199
|
-
"outstanding_balance": "
|
|
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":
|
|
50
|
-
"variant_id":
|
|
51
|
-
"title": "
|
|
49
|
+
"id": 487817672276298560,
|
|
50
|
+
"variant_id": null,
|
|
51
|
+
"title": "Aviator sunglasses",
|
|
52
52
|
"quantity": 1,
|
|
53
|
-
"sku": "
|
|
53
|
+
"sku": "SKU2006-001",
|
|
54
54
|
"variant_title": null,
|
|
55
55
|
"vendor": null,
|
|
56
56
|
"fulfillment_service": "manual",
|
|
57
|
-
"product_id":
|
|
57
|
+
"product_id": 788032119674292900,
|
|
58
58
|
"requires_shipping": true,
|
|
59
59
|
"taxable": true,
|
|
60
60
|
"gift_card": false,
|
|
61
|
-
"name": "
|
|
62
|
-
"variant_inventory_management":
|
|
61
|
+
"name": "Aviator sunglasses",
|
|
62
|
+
"variant_inventory_management": null,
|
|
63
63
|
"properties": [],
|
|
64
64
|
"product_exists": true,
|
|
65
65
|
"fulfillable_quantity": 1,
|
|
66
|
-
"grams":
|
|
67
|
-
"price": "
|
|
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": "
|
|
72
|
+
"amount": "89.99",
|
|
73
73
|
"currency_code": "USD"
|
|
74
74
|
},
|
|
75
75
|
"presentment_money": {
|
|
76
|
-
"amount": "
|
|
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/
|
|
92
|
+
"admin_graphql_api_id": "gid://shopify/LineItem/487817672276298554",
|
|
93
93
|
"tax_lines": []
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
|
-
"id":
|
|
97
|
-
"variant_id":
|
|
98
|
-
"title": "
|
|
96
|
+
"id": 976318377106520300,
|
|
97
|
+
"variant_id": null,
|
|
98
|
+
"title": "Mid-century lounger",
|
|
99
99
|
"quantity": 1,
|
|
100
|
-
"sku": "
|
|
100
|
+
"sku": "SKU2006-020",
|
|
101
101
|
"variant_title": null,
|
|
102
102
|
"vendor": null,
|
|
103
103
|
"fulfillment_service": "manual",
|
|
104
|
-
"product_id":
|
|
104
|
+
"product_id": 788032119674292900,
|
|
105
105
|
"requires_shipping": true,
|
|
106
106
|
"taxable": true,
|
|
107
107
|
"gift_card": false,
|
|
108
|
-
"name": "
|
|
109
|
-
"variant_inventory_management":
|
|
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":
|
|
114
|
-
"price": "
|
|
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": "
|
|
119
|
+
"amount": "159.99",
|
|
120
120
|
"currency_code": "USD"
|
|
121
121
|
},
|
|
122
122
|
"presentment_money": {
|
|
123
|
-
"amount": "
|
|
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/
|
|
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
|
],
|