π Passport Track & Trace
The action is used to get the tracking information from Passport.
Inputs
| Name | Type | Description | 
|---|---|---|
| Tracking Number | String | Passport tracking number | 
| Token | String | Passport API token | 
Outputs
| Name | Type | Description | 
|---|---|---|
| Found Tracking? | Boolean | Whether the tracking information was found True / False  | 
| Status | String | Tracking status: Ready for Shipment, Delivered, In Transit, Problem with Delivery, Returning to Sender, Ready for Pickup  | 
| Status Description | String | Detailed description of the tracking status | 
| Tracking URL | String | Passport tracking URL | 
| Last Event Date | String | The date of the last tracking event. Format: YYYY-MM-DDThh:mm:ss  | 
| Ship Date | String | The date of the shipment. Format: YYYY-MM-DDThh:mm:ss  | 
| Estimating Delivery Date | String | Estimating Delivery Date Format: YYYY-MM-DDThh:mm:ss  | 
| Events | List | List of all the tracking events. | 
Statuses mapping
{
  LABEL_CREATED: [],
  READY_FOR_SHIPMENT: [340],
  IN_TRANSIT: [
    99, 100, 200, 205, 210, 211, 212, 213, 214, 216, 305, 315, 320, 321, 322, 323, 324, 325, 326, 330, 350, 350, 400,
    405, 430, 470, 480, 500, 505, 525, 550, 560, 570, 580, 590, 600, 605, 610, 630, 651,
  ],
  RETURNING_TO_SENDER: [91, 642, 800, 810, 820, 830, 835, 840, 850, 855, 860, 870, 900],
  PROBLEM_WITH_DELIVERY: [220, 221, 222, 520, 521, 551, 631, 641, 643, 644, 646, 647, 648, 649, 680, 681, 682, 699],
  READY_FOR_PICKUP: [650],
  DELIVERED: [700],
}
Statuses description

Updated over 1 year ago
