Here's how the status_code and status_description fields correspond to each other and how they correspond to the status_description_details field of a label:
Status_code | Status_description | Status_description_details |
---|---|---|
0 | In transit | The shipment is on the way to the recipient. |
1 | Accepted | Carrier has picked up the shipment from the sender. |
2 | Exception | Custom hold, undelivered, returned shipment to sender, or any shipping exceptions. |
3 | Delivered | The shipment was delivered successfully. |
4 | Returned to sender | The sender has successfully received the return shipment. |
5 | Out for delivery | Carrier is about to deliver the shipment, or it is ready to pick up the shipment. |
6 | Returning to sender | The shipment is on its way back to the sender. |
7 | Transshipment | The shipment is transferred from one carrier to another before being shipped off to its intended destination. |
10 | Pending customs clearance | The shipment is waiting for customs clearance. |
11 | Customs clearance started | The shipment is handed over to customs for clearance. |
12 | Customs clearance completed | The customs clearance process is completed. |
13 | Exception(customs clearance) | An exception occurs in the customs clearance process. |
14 | Recipient refused | Delivery of the package failed as the recipient refused to take the package for some reason. |