This method returns tracking information for a shipment, including each of the tracking events that have occurred for the shipment.
Most carrier applications should implement this method, unless you don't support tracking shipments.
An object containing information about the label to track.
An object with tracking information for the specified shipment.
{- "tracking_number": "12345678901234567890",
- "is_return": false,
- "identifiers": [
- {
- "type": "tracking_number",
- "value": "12345678901234567890"
}, - {
- "type": "carrier_transaction_id",
- "value": "US-12345678901234567890-1"
}
], - "attributes": [
- {
- "type": "marketplace_order_token",
- "value": "123456abcdefg7890"
}
], - "transaction_id": "00000000-0000-0000-0000-000000000000",
- "metadata": {
- "username": "auctane-next-day",
- "password": "password!",
- "meter_number": "8675309"
}
}
{- "tracking_info": {
- "carrier_name": "UPS",
- "tracking_number": "12345678901234567890",
- "standardized_status_code": "DE",
- "carrier_status_code": "11",
- "carrier_status_description": "Delivered",
- "estimated_delivery_datetime": "2021-08-11T00:00:00",
- "actual_delivery_datetime": "2021-08-11T21:15:00Z",
- "weight": 500,
- "dimensions": {
- "length": 10,
- "width": 10,
- "height": 10
}, - "service": {
- "code": "03",
- "name": "UPS® Ground"
}, - "packaging": "package",
- "package_count": 1,
- "events": [
- {
- "event_datetime": "2021-08-08T21:15:00Z",
- "event_datetime_local": "2021-08-08T16:15:00",
- "event_code": "3",
- "description": "Order Processed: Ready for UPS",
- "city": "Austin",
- "state": "TX",
- "postal_code": "78756",
- "country": "US",
- "geo": {
- "lat": 30.31,
- "long": -97.74
}, - "status_code": "AC"
}, - {
- "event_datetime": "2021-08-09T09:15:00Z",
- "event_datetime_local": "2021-08-09T04:15:00",
- "event_code": "5",
- "description": "In Transit",
- "city": "Austin",
- "state": "TX",
- "postal_code": "78756",
- "country": "US",
- "geo": {
- "lat": 30.2,
- "long": -97.66
}, - "status_code": "IT"
}, - {
- "event_datetime": "2021-08-10T09:15:00Z",
- "event_datetime_local": "2021-08-10T04:15:00",
- "event_code": "6",
- "description": "On Vehicle for Delivery",
- "city": "Los Angeles",
- "state": "CA",
- "postal_code": "90045",
- "country": "US",
- "geo": {
- "lat": 33.95,
- "long": -118.38
}, - "status_code": "IT"
}, - {
- "event_datetime": "2021-08-10T15:15:00Z",
- "event_datetime_local": "2021-08-10T10:15:00",
- "event_code": "21",
- "description": "On Vehicle for Delivery Today",
- "city": "Los Angeles",
- "state": "CA",
- "postal_code": "90045",
- "country": "US",
- "geo": {
- "lat": 33.95,
- "long": -118.38
}, - "status_code": "IT"
}, - {
- "event_datetime": "2021-08-10T21:15:00Z",
- "event_datetime_local": "2021-08-10T16:15:00",
- "event_code": "22",
- "description": "First Attempt Made",
- "city": "El Segundo",
- "state": "CA",
- "postal_code": "90245",
- "country": "US",
- "geo": {
- "lat": 33.95,
- "long": -118.38
}, - "status_code": "AT"
}, - {
- "event_datetime": "2021-08-11T03:15:00Z",
- "event_datetime_local": "2021-08-10T22:15:00",
- "event_code": "21",
- "description": "On Vehicle for Delivery Today",
- "city": "Los Angeles",
- "state": "CA",
- "postal_code": "90045",
- "country": "US",
- "geo": {
- "lat": 33.95,
- "long": -118.38
}, - "status_code": "IT"
}, - {
- "event_datetime": "2021-08-11T21:15:00Z",
- "event_datetime_local": "2021-08-11T16:15:00",
- "event_code": "11",
- "description": "Delivered",
- "city": "El Segundo",
- "state": "CA",
- "postal_code": "90245",
- "country": "US",
- "geo": {
- "lat": 33.95,
- "long": -118.38
}, - "status_code": "DE"
}
], - "shipping_problem": false,
- "carrierEnum": 0
}
}