DOCS

Retrieve order details

Retrieve order details

Fetch Zonos orders for shared customers.

GraphQL

If you are a partner of Zonos and we share mutual customers, you can check to see if we have created an order that can be used by your platform to display those orders or use them to retrieve labels generated by Zonos. You can also surface details about the landedCost that was used to create the order.

Query orders 

To pull in order details, you can use the following query:

1query {
2 orders(first: 10) {
3 edges {
4 cursor
5 node {
6 id
7 accountOrderNumber
8 landedCosts {
9 amountSubtotals {
10 duties
11 fees
12 items
13 landedCostTotal
14 shipping
15 taxes
16 }
17 id
18 landedCostGuaranteeCode
19 }
20 }
21 }
22 }
23}

Was this page helpful?