This request will send the parcel order results (including label and tracking numbers) upon completion to the webhook endpoint attached to the used token. The results will be sent to the webhook endpoint 4 times with 5 minute intervals just in case if the first time was not successful.
Please note that this endpoint has rate-limiting, therefore, it will only allow 1000 requests per minute.
| Method | URI | Headers |
|---|---|---|
| POST | parcel-orders/ship |
default |
{
"rate_id": 12345678
}
Successful
{
"success": true,
"data": {
"shipment_order_id": 863100211
},
"message": "Operation successful! We will send the shipment details to your webhook address as soon as it is ready"
}
Failed
{
"success": false,
"message": "The given data was invalid."
}
{
"shipment_order_id": 123123123,
"main_tracking_number": "1Z47D7YDHBEG123",
"sub_tracking_numbers": ["1Z47D7YDHBEG123", "1Z47D7YDHBEG124"],
"package_details": [
{
"tracking_number": "1Z5RR1050313482583",
"items": [
{
"sku": "SKU1",
"quantity": "1",
"price": "1.00"
},
{
"sku": "SKU2",
"quantity": "2",
"price": "2.00"
}
]
}
],
"final_price": "11.11",
"carrier": "ups",
"service": "UPSĀ® Ground",
"label": "/label/url/12355",
"customs_form": "/customs/url/123123"
}