Documentation

🔑 Passport Track & Trace

The action is used to get the tracking information from Passport.

Inputs

NameTypeDescription
Tracking NumberStringPassport tracking number
TokenStringPassport API token

Outputs

NameTypeDescription
Found Tracking?BooleanWhether the tracking information was found
True / False
StatusStringTracking status:
Ready for Shipment,
Delivered,
In Transit,
Problem with Delivery,
Returning to Sender,
Ready for Pickup
Status DescriptionStringDetailed description of the tracking status
Tracking URLStringPassport tracking URL
Last Event DateStringThe date of the last tracking event.
Format:
YYYY-MM-DDThh:mm:ss
Ship DateStringThe date of the shipment.
Format:
YYYY-MM-DDThh:mm:ss
Estimating Delivery DateStringEstimating Delivery Date
Format:
YYYY-MM-DDThh:mm:ss
EventsListList 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