Siparişleri sorgulama
Sipariş detaylarını almak için aşağıdaki sorguyu kullanabilirsiniz:
Sorgu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
query {
orders(first: 10) {
edges {
cursor
node {
id
accountOrderNumber
landedCosts {
amountSubtotals {
duties
fees
items
landedCostTotal
shipping
taxes
}
id
landedCostGuaranteeCode
}
}
}
}
}
Yanıt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"data": {
"orders": {
"edges": [
{
"cursor": "c2ltcGxlLW9mZnNldC1jdXJzb3Iw",
"node": {
"id": "order_d221c2d2-a26a-46b9-a5ee-c9984381944f",
"accountOrderNumber": "31124",
"landedCosts": [
{
"amountSubtotals": {
"duties": 0.0,
"fees": 8.19,
"items": 50.0,
"landedCostTotal": 51.15,
"shipping": 176.11,
"taxes": 42.96
},
"id": "landed_cost_9cbbb49c-3742-4d25-b79d-d8b2054ad15a",
"landedCostGuaranteeCode": "ZONOS"
}
]
}
}
]
}
}
}
Sipariş detaylarını al
Paylaşılan müşteriler için Zonos siparişlerini alın.GraphQL
Eğer Zonos'un bir ortağıysanız ve karşılıklı müşterilerimiz varsa, platformunuzun bu siparişleri görüntülemek veya Zonos tarafından oluşturulan etiketleri almak için kullanabileceği bir
orderoluşturup oluşturmadığımızı kontrol edebilirsiniz. Ayrıca siparişi oluşturmak için kullanılanlandedCosthakkında detayları da görüntüleyebilirsiniz.