Use Cases
Examples of request body as UpdateOrderDispatchRequest
Order description for this section :
product-A in quantity 1
product-B in quantity 2
Single Parcel Shipping
Single call
{
"OrderId": "100018322",
"Parcels": [
{
"ParcelCode": "100018322-1",
"Products": [
{
"ProductCode": "product-A",
"DeliveryQuantity": 1
},
{
"ProductCode": "product-B",
"DeliveryQuantity": 2
}
]
}
]
}Multi Parcel
Single call
{
"OrderId": "100018322",
"Parcels": [
{
"ParcelCode": "100018322-1",
"Products": [
{
"ProductCode": "product-A",
"DeliveryQuantity": 1
}
]
},
{
"ParcelCode": "100018322-2",
"Products": [
{
"ProductCode": "product-B",
"DeliveryQuantity": 2
}
]
}
]
}Split Parcels
First call (“day 1”)
{
"OrderId": "100018322",
"Parcels": [
{
"ParcelCode": "100018322-1",
"Products": [
{
"ProductCode": "product-A",
"DeliveryQuantity": 1
},
{
"ProductCode": "product-B",
"DeliveryQuantity": 1
}
]
}
]
}
Subsequent call (“day 2”)
{
"OrderId": "100018322",
"Parcels": [
{
"ParcelCode": "100018322-2",
"Products": [
{
"ProductCode": "product-B",
"DeliveryQuantity": 1
}
]
}
]
}