/
Mutation
mutation OrderCreate($input: OrderCreateInput!) {
orderCreate(input: $input) {
id
organization
references {
key
value
}
landedCosts {
id
}
}
}
Variables
{
"input": {
"accountOrderNumber": "12343244",
"billTo": "party_393c12af-58a5-454d-9868-bfbc1212e82d",
"grandTotal": 2346.12,
"landedCostId": "landed_cost_37e60995-dd97-4fcc-97da-1c71baedcfed",
"trackingNumber": "9205500000000000000000"
}
}
Response
{
"data": {
"orderCreate": {
"id": "order_41ed89de-26e1-4701-8398-205ef7c00232",
"organization": "organization_ea9f1c48-a140-43a6-89bb-71b4dea3507e",
"references": [
{
"key": "zonosOrderNumber",
"value": "1001019"
}
],
"landedCosts": [
{
"id": "landed_cost_37e60995-dd97-4fcc-97da-1c71baedcfed"
}
]
}
}
}
Create orders
Get up and running to create orders with Zonos.
This will tie the
landedCost
quote you received to an order enabling our Landed Cost guarantee. Once an order is created, you will be charged our Zonos fee. If you are performing theorderCreate
mutation and the order has shipped, you must include atrackingNumber
which will trigger the duty and tax billing. If you still need to ship the order, atrackingNumber
is not required and you can use a separate mutation to addtrackingNumbers
once theorder
has been shipped. Once you have created or calculated alandedCost
, you will need to use theorderCreate
mutation