This is the endpoint can be used to get the status of an order and view the delivery timeline of that order.
This endpoints returns an order object which includes the status of the order, sender/recipient name and sender/recipient address. It also returns the history object which contains the history/timeline of the order.
Endpoint => /order/track/{orderNumber}
GET/order/track/{orderNumber}
Headers
{"status":"Success","description":"History Fetched","order": {"orderNo":"1T7002122309","orderStatus":"Dispatched","recipientAddress":"10","recipientName":"ferferf","senderAddress":"3A SULAIMON SHODERU STREET, HARUNA BUS STOP, IKORODU","senderName":" KIDS PLACE","recipientState":"Lagos","createdAt":"2023-12-02 06:14:09" },"history": [ {"orderStatus":"Dispatched","statusCreationDate":"2023-12-02 13:14:40","statusDescription":"Your package is on its way to the delivery address and is en route to the customer" }, {"orderStatus":"Picked-Up","statusCreationDate":"2023-12-02 13:14:09","statusDescription":"Our rider has picked-up your item and is heading back to the office" } ]}
{
"status": "Error",
"description": "Organization Secret Key is Required"
}