FedEx Track & Trace
The action is used to get the tracking information from FedEx.
Inputs
Name | Type | Description |
---|---|---|
Tracking Number | String | FedEx tracking number |
Client ID | Optional Credentials | FedEx Client ID |
Client Secret | Optional Credentials | FedEx Client Secret |
Outputs
Name | Type | Description |
---|---|---|
Success | Boolean | Whether the tracking information was found True / False |
Found Tracking? | String | Tracking status: Ready for Shipment, In Transit, Returning to Sender, Ready for Pickup, Delivered, Problem with Delivery |
Status Description | String | Detailed description of the tracking status |
Shipped Date | String | The date of the shipment. Format: YYYY-MM-DDThh:mm:ss Is null when the status is Ready for Shipment |
Last Event Date | String | The date of the last tracking event. Format: YYYY-MM-DDThh:mm:ss |
Tracking URL | String | Tracking URL |
Pick Up Location | String | Pick up location. Relevant only when status is Ready for Pickup |
Days Since Last Update | Number | Number of days since last update |
Activity History | List | List of all the tracking events. See the example below |
Sample Response
Activity History
[
{
"Timestamp": "2021-05-14T10:45:15-05:00",
"EventType": "DL",
"EventDescription": "Delivered",
"StatusExceptionCode": 14,
"StatusExceptionDescription": "Left at front door. Signature Service not requested.",
"Address": {
"City": " City",
"StateOrProvinceCode": "",
"PostalCode": ,
"CountryCode": "US",
"CountryName": "United States",
"Residential": false
},
"ArrivalLocation": "DELIVERY_LOCATION"
}
]
Tracking Status
FedEx API returns a status code for each tracking event. DG maps this status code to one of the predefined statuses. E.g. OC - Ready for Shipment.
Statuses mapping
Ready for Shipment: [OC, OF]
Delivered: [DL]
In Transit: [AA, AC, AD, AF, AP, AR, AX, DP, DR, DS, EA, ED, EO, EP, FD, IT, LO, OD, OX, PF, PL, PM, PU, SF, SP, TR, CC, CP, EA]
Returning to Sender: [RS, RP]
Problem with Delivery: [CA, CH, DD, DE, DY, IX, PD, PX, RR, RM, RC, LP, RG, RD, SE, CD]
Ready for Pickup: [HL]
Updated 5 months ago