🌐 AI搜索 & 代理 主页
Skip to content

Commit c81f7bb

Browse files
committed
Fixed props in queries
1 parent 9ace4d5 commit c81f7bb

File tree

1 file changed

+14
-18
lines changed

1 file changed

+14
-18
lines changed

components/shopify/common/queries.mjs

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -629,17 +629,16 @@ const GET_DRAFT_ORDER = `
629629
id
630630
name
631631
email
632-
note
633632
note2
634633
createdAt
635634
updatedAt
636635
completedAt
637636
invoiceSentAt
638637
status
639-
totalPrice
640-
subtotalPrice
641-
totalShippingPrice
642-
totalTax
638+
totalPriceSet
639+
subtotalPriceSet
640+
totalShippingPriceSet
641+
totalTaxSet
643642
currencyCode
644643
taxExempt
645644
taxesIncluded
@@ -650,7 +649,7 @@ const GET_DRAFT_ORDER = `
650649
city
651650
company
652651
country
653-
countryCode
652+
countryCodeV2
654653
firstName
655654
lastName
656655
phone
@@ -667,7 +666,7 @@ const GET_DRAFT_ORDER = `
667666
city
668667
company
669668
country
670-
countryCode
669+
countryCodeV2
671670
firstName
672671
lastName
673672
phone
@@ -680,7 +679,7 @@ const GET_DRAFT_ORDER = `
680679
}
681680
customer {
682681
id
683-
email
682+
defaultEmailAddress
684683
firstName
685684
lastName
686685
phone
@@ -904,10 +903,8 @@ const GET_CUSTOMER = `
904903
query ($id: ID!) {
905904
customer(id: $id) {
906905
id
907-
email
908906
firstName
909907
lastName
910-
phone
911908
createdAt
912909
updatedAt
913910
state
@@ -921,7 +918,7 @@ const GET_CUSTOMER = `
921918
city
922919
company
923920
country
924-
countryCode
921+
countryCodeV2
925922
firstName
926923
lastName
927924
phone
@@ -935,15 +932,14 @@ const GET_CUSTOMER = `
935932
city
936933
company
937934
country
938-
countryCode
935+
countryCodeV2
939936
firstName
940937
lastName
941938
phone
942939
province
943940
provinceCode
944941
zip
945942
}
946-
ordersCount
947943
}
948944
}
949945
`;
@@ -970,7 +966,7 @@ const LIST_CUSTOMERS = `
970966
city
971967
company
972968
country
973-
countryCode
969+
countryCodeV2
974970
firstName
975971
lastName
976972
phone
@@ -984,7 +980,7 @@ const LIST_CUSTOMERS = `
984980
city
985981
company
986982
country
987-
countryCode
983+
countryCodeV2
988984
firstName
989985
lastName
990986
phone
@@ -1024,7 +1020,7 @@ const LIST_ASSIGNED_FULFILLMENT_ORDERS = `
10241020
address2
10251021
city
10261022
company
1027-
countryCode
1023+
countryCodeV2
10281024
firstName
10291025
lastName
10301026
phone
@@ -1075,7 +1071,7 @@ const GET_FULFILLMENT_ORDER = `
10751071
city
10761072
company
10771073
country
1078-
countryCode
1074+
countryCodeV2
10791075
firstName
10801076
lastName
10811077
phone
@@ -1123,7 +1119,7 @@ const LIST_FULFILLMENT_ORDERS = `
11231119
address2
11241120
city
11251121
company
1126-
countryCode
1122+
countryCodeV2
11271123
firstName
11281124
lastName
11291125
phone

0 commit comments

Comments
 (0)