Fedex Cross Border API - Tracking

The action is used to get the tracking information from FIC FedEx Cross Border API (aka. International Web Services).

Inputs

NameTypeDescription
Tracking NumberStringFedEx tracking number
API KeyStringAPI Key for authentication

Outputs

NameTypeDescription
SuccessBooleanWhether the tracking information was found
True / False
StatusStringTracking status:
Ready for Shipment,
In Transit,
Returning to Sender,
Ready for Pickup,
Delivered,
Problem with Delivery
Status DescriptionStringDetailed description of the tracking status
Shipped DateStringThe date of the shipment.
Format:
YYYY-MM-DDThh:mm:ss
Is null when the status is Ready for Shipment
Last Event DateStringThe date of the last tracking event.
Format:
YYYY-MM-DDThh:mm:ss
Tracking URLStringTracking URL
Pick Up LocationStringPick up location. Relevant only when status is Ready for Pickup
Days Since Last UpdateNumberNumber of days since last update
Activity HistoryListList of all the tracking events.
See the example below

📘

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. 106 - In Transit.

Statuses mapping

{
    STOP: "Unknown",
    99: "In Transit",
    100: "In Transit",
    105: "In Transit",
    106: "In Transit",
    185: "Return in Transit",
    186: "RTS Received",
    187: "RTS Received",
    188: "RTS Received",
    189: "RTS Complete",
    190: "RTS Received",
    191: "RTS Received",
    192: "RTS Received",
    193: "RTS Received",
    194: "RTS Received",
    195: "RTS Received",
    196: "RTS Received",
    198: "Accepted",
    201: "In Transit",
    202: "In Transit",
    203: "In Transit",
    204: "In Transit",
    209: "In Transit",
    210: "In Transit",
    211: "In Transit",
    212: "In Transit",
    215: "In Transit",
    216: "In Transit",
    217: "In Transit",
    218: "N/A",
    219: "N/A",
    224: "In Transit",
    225: "In Transit",
    230: "In Transit",
    240: "Delivery Exception",
    241: "Delivery Exception",
    243: "In Transit",
    244: "Customs Exception",
    245: "Customs Exception",
    246: "In Transit",
    247: "In Transit",
    248: "In Transit",
    250: "Delivery Exception",
    260: "Delivery Exception",
    261: "Delivery Exception",
    262: "In Transit",
    263: "In Transit",
    264: "In Transit",
    265: "In Transit",
    266: "Delivery Attempted",
    280: "Delivery Attempted",
    281: "Delivery Scheduled",
    282: "Delivery Attempted",
    283: "Delivery Attempted",
    284: "Delivery Attempted",
    290: "Delivery Exception",
    291: "Delivery Exception",
    292: "Delivered Awaiting Collection",
    293: "Delivered Awaiting Collection",
    294: "Delivered Awaiting Collection",
    295: "Customs Exception",
    296: "Customs Exception",
    297: "Customs Exception",
    298: "Delivered Awaiting Collection",
    299: "Accepted",
    300: "In Transit",
    301: "In Customs",
    302: "Delivery Exception",
    304: "Delivery Exception",
    311: "Delivery Exception",
    312: "Delivery Attempted",
    313: "In Transit",
    314: "Delivered Awaiting Collection",
    320: "In Transit",
    340: "In Transit",
    350: "Delivery Exception",
    360: "Delivery Exception",
    370: "Delivery Exception",
    390: "Delivery Exception",
    410: "Return in Transit",
    411: "Return in Transit",
    412: "Return in Transit",
    414: "Return in Transit",
    420: "In Transit",
    421: "In Transit",
    422: "Delivery Scheduled",
    432: "In Customs",
    433: "In Transit",
    435: "In Transit",
    436: "In Transit",
    437: "Customs Exception",
    438: "N/A",
    441: "Delivery Exception",
    442: "In Transit",
    443: "Customs Exception",
    444: "Return in Transit",
    445: "In Transit",
    446: "In Transit",
    449: "In Customs",
    450: "Delivery Exception",
    451: "Customs Exception",
    452: "Customs Exception",
    453: "Customs Exception",
    454: "Customs Exception",
    455: "Customs Exception",
    456: "Customs Exception",
    457: "Customs Exception",
    458: "Customs Exception",
    459: "Customs Exception",
    460: "Customs Exception",
    461: "Customs Exception",
    462: "Customs Exception",
    463: "Customs Exception",
    464: "Customs Exception",
    465: "Customs Exception",
    466: "Customs Exception",
    467: "Customs Exception",
    468: "Customs Exception",
    469: "Customs Exception",
    470: "Customs Exception",
    471: "Return in Transit",
    472: "Return in Transit",
    473: "Return in Transit",
    474: "Return in Transit",
    475: "Return in Transit",
    476: "Return in Transit",
    477: "Return in Transit",
    478: "Return in Transit",
    479: "Delivery Exception",
    500: "Delivery Exception",
    501: "Delivery Exception",
    502: "Delivery Exception",
    503: "Delivery Exception",
    504: "Delivery Exception",
    505: "Delivery Exception",
    506: "Delivery Exception",
    507: "Delivery Exception",
    508: "Delivery Exception",
    509: "Delivery Exception",
    510: "Delivery Exception",
    511: "Delivery Exception",
    600: "Delivery Exception",
    900: "Delivery Exception",
    998: "In Transit",
    999: "Delivered",
    1000: "Delivered",
    1001: "N/A",
    1002: "N/A",
    1003: "Delivered",
    1004: "N/A",
    1005: "Delivery Exception",
    1006: "Delivered",
    1007: "N/A",
    1008: "Return in Transit",
    1009: "Delivered",
    1011: "Customs Exception",
    1012: "Customs Exception",
    1013: "Customs Exception",
  }