v1
latestOpenAPI 3.1.02026-07-2277219695.0 KBTracking Status
Register a tracking webhook
Registers a webhook that will send HTTP notifications to you when the status of your tracked package changes. For more details on creating a webhook, see our guides on Webhooks and Tracking.
post/tracks
Headers
SHIPPO-API-VERSIONstring
Example:2018-02-08
Optional string used to pick a non-default API version to use. See our API version guide.
Request body
Example request
{
"carrier": "usps",
"metadata": "Order 000123",
"tracking_number": "9205590164917312751089"
}Response
Tracking status
Example response
{
"address_from": {
"city": "Las Vegas",
"country": "US",
"state": "NV",
"zip": "89101"
},
"address_to": {
"city": "Las Vegas",
"country": "US",
"state": "NV",
"zip": "89101"
},
"carrier": "usps",
"metadata": "Order 000123",
"original_eta": "2021-07-23T00:00:00Z",
"servicelevel": {
"name": "Priority Mail Express",
"token": "usps_priority_express",
"parent_servicelevel": {
"name": "Priority Mail Express",
"token": "usps_priority_express"
}
},
"tracking_history": [
{
"location": {
"city": "Las Vegas",
"country": "US",
"state": "NV",
"zip": "89101"
},
"status": "DELIVERED",
"substatus": {
"code": "information_received",
"text": "Information about the package received."
},
"status_date": "2016-07-23T00:00:00Z",
"status_details": "Your shipment has been delivered at the destination mailbox."
}
],
"tracking_number": "9205590164917312751089",
"tracking_status": {
"location": {
"city": "Las Vegas",
"country": "US",
"state": "NV",
"zip": "89101"
},
"status": "DELIVERED",
"substatus": {
"code": "information_received",
"text": "Information about the package received."
},
"status_date": "2016-07-23T00:00:00Z",
"status_details": "Your shipment has been delivered at the destination mailbox."
}
}