Retrieve a Tracking
Endpoint
GET /v1/trackings/:id
This endpoint can only be used when you order via our order API. Biteship will generate tracking_id separately if you create an Order through Biteship API.
API Response Fields
The indication of whether this API has provided the desired response.
The brief explanation of this API response.
The returned object of this API response.
The ID of the tracking object.
The air waybill number of this shipment.
The courier information from this shipment.courier .companyREQUIRED
courier .nameDeprecated
courier .phoneDeprecated
courier .driver_nameNullable
courier .driver_phoneNullable
courier .driver_photo_urlNullable
courier .driver_plate_numberNullable
Show child parameters
The courier company.
The driver's name.
The driver's phone number.
The driver's name.
The driver's phone number.
The driver's photo url.
The driver's vehicle registration number.
The shipment origin.origin .contact_nameNullable
origin .addressNullable
Show child parameters
The shipment origin contact person's name.
The shipment pickup address.
The shipment destination.destination .contact_nameNullable
destination .addressNullable
Show child parameters
The package receiver's name.
The package receiver's address.
The tracking history.history .noteREQUIRED
history .service_typeOptional
history .updated_atREQUIRED
Show child parameters
The note of tracking history.
The service type of shipment.
The datetime of tracking history.
The link from courier to track this shipment.
If this tracking belongs to Biteship's order, then the order ID will be shown.
The shipment status. Must have value from one of the Tracking Status.
API Response
Response
{
"success": true,
"messsage": "Successfully get tracking info",
"object": "tracking",
"id": "6051861741a37414e6637fab",
"waybill_id": "0123082100003094",
"courier": {
"company": "grab",
"name": "John Doe", // Deprecated
"phone": "0888888888", // Deprecated
"driver_name": "John Doe",
"driver_phone": "0888888888",
"driver_photo_url": "https://picsum.photos/200",
"driver_plate_number": "B 1234 ABC"
},
"origin": {
"contact_name": "John Doe",
"address": "Jl. Medan Merdeka Barat, Gambir, Jakarta Pusat"
},
"destination": {
"contact_name": "Doe John",
"address": "Jl. Medan Merdeka Timur, Gambir, Jakarta Pusat"
},
"history": [
{
"note": "Order has been confirmed. Locating nearest driver to pick up.",
"service_type": "instant",
"updated_at": "2021-03-16T18:17:00+07:00",
"status": "confirmed"
},
{
"note": "Courier has been allocated. Waiting to pick up.",
"service_type": "instant",
"updated_at": "2021-03-16T21:15:00+07:00",
"status": "allocated"
},
{
"note": "Courier is on the way to pick up item.",
"service_type": "instant",
"updated_at": "2021-03-16T23:12:00+07:00",
"status": "picking_up"
},
{
"note": "Item has been picked and ready to be shipped.",
"service_type": "instant",
"updated_at": "2021-03-16T23:43:00+07:00",
"status": "picked"
},
{
"note": "Item has been picked and ready to be shipped.",
"service_type": "instant",
"updated_at": "2021-03-17T09:29:00+07:00",
"status": "dropping_off"
},
{
"note": "Item is on the way to customer.",
"service_type": "instant",
"updated_at": "2021-03-17T11:15:00+07:00",
"status": "delivered"
}
],
"link": "https://example.com/01803918209312093",
"order_id": "6251863341sa3714e6637fab",
"status": "delivered"
}