shopify-webhook-schemas 0.1.9 → 0.2.1
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/infer-schema.js +90 -0
- 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/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 +1 -1
- 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
package/dist/src/infer-schema.js
CHANGED
|
@@ -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/
|
|
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/
|
|
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/
|
|
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
|
],
|