Parcel Tracking
TRT Express Tracking API allows you to track the status of a parcel delivery. You can use the API to get the current status of a parcel delivery, as well as the estimated delivery time.
Request
Endpoint
GET /api/v1/tracking/{tracking_number}
Authorization: Basic bXktY2xpZW50LWlkOm15LWNsaWVudC1zZWNyZXQ=
Response
{
"tracking_number": "TRT123456",
"status": "in_transit",
"events": [
{
"status": "in_transit",
"location": "Toronto",
"timestamp": "2021-01-01T12:00:00Z"
},
{
"status": "out_for_delivery",
"location": "Toronto",
"timestamp": "2021-01-02T12:00:00Z"
},
{
"status": "delivered",
"location": "Toronto",
"timestamp": "2021-01-03T12:00:00Z"
}
]
}