Track only order code examples
Track only orders are booked and allocated outside of Shippit, and only tracking notifications are required within Shippit.
{
"order": {
"courier_allocation": "Eparcel",
"courier_job_id": "SAMPLE-LN-000",
"tracking_only": true,
"tracking_histories": [
{
"status": "order_placed",
"timestamp": "2023-08-01T12:34:56Z"
},
{
"status": "ready_for_pickup",
"timestamp": "2023-08-05T12:34:56Z"
}
],
"delivery_address": "1 Union Street",
"delivery_postcode": "2009",
"delivery_state": "NSW",
"delivery_suburb": "Pyrmont",
"authority_to_leave": "Yes",
"parcel_attributes": [
{
"qty": 1,
"weight": 2.1,
"label_number": "SAMPLE-LN-888888"
}
],
"user_attributes": {
"email": "test@shippit.com",
"first_name": "John",
"last_name": "Smith",
"mobile": "0401152002"
}
}
}
Track order without tracking history
{
"order": {
"delivery_address": "1 Union Street",
"delivery_postcode": "2099",
"delivery_state": "NSW",
"delivery_suburb": "Dee Why",
"delivery_country_code": "au",
"courier_allocation": "CouriersPlease",
"courier_job_id": "SAMPLE-LN-111",
"authority_to_leave": "Yes",
"tracking_only": true,
"parcel_attributes": [
{
"qty": 1,
"weight": 2.1,
"label_number": "SAMPLE-LN-111001"
}
],
"user_attributes": {
"email": "test@shippit.com",
"first_name": "John",
"last_name": "Smith"
}
}
}
Track order with tracking history
{
"order": {
"delivery_address": "1 Union Street",
"delivery_postcode": "2099",
"delivery_state": "NSW",
"delivery_suburb": "Dee Why",
"delivery_country_code": "au",
"courier_allocation": "CouriersPlease",
"courier_job_id": "SAMPLE-LN-111",
"authority_to_leave": "Yes",
"tracking_only": true,
"parcel_attributes": [
{
"qty": 1,
"weight": 2.1,
"label_number": "SAMPLE-LN-111001"
}
],
"user_attributes": {
"email": "test@shippit.com",
"first_name": "John",
"last_name": "Smith"
},
"tracking_histories": [
{
"status": "order_placed",
"timestamp": "2018-10-10T05:28:12.693Z"
},
{
"status": "ready_for_pickup",
"timestamp": "2018-10-11T05:28:12.693Z"
}
]
}
}