Track package
Tracking allows for obtaining information concerning the state of the shipment. It provides information on where the shipment is at that moment and where it was previously.
Request
Track | ||
---|---|---|
URI |
/track/ABC123/ |
|
Method | GET | |
Authorization |
optional |
Example
Response
{ "code" : 200 , "message" : "OK" , "result" : { "tracking" : { "tracking_number" : "ABC123" , "events" : [ { "type" : "pickup" , "description" : "Package was picked up." , "timestamp" : "2012-09-03T11:25:10+02:00" , "address" : { "country" : "Australia" , "city" : "Melbourne" , "postcode" : "3000" , "address_lines" : [ "address line 1" , "address line 2" , "address line 3" ] } } ] } } } |
Event type
|
Description
|
---|---|
pickup |
Shipment was collected |
delivery |
Shipment was collected |
intransit |
Shipment reached transit point |
Note
Timestamp field is in ISO 8601 format: http://en.wikipedia.org/wiki/ISO_8601