Chronopost Track & Trace

Tracking information for Chronopost package

Inputs

NameTypeDescription
Tracking NumberStringTracking Number

Outputs

NameTypeDescription
Found Tracking?BooleanWhether any tracking info was found for the tracking number provided
StatusStringStatus of the package delivery
Delivered, In Transit, Ready for Shipment, Ready for Pickup, Problem with Delivery, Returning to Sender
Last Event DateStringDate of the last update in ISO format
Shipped DateStringDate when the package was shipped
Activity HistoryListHistory of events for this package
Last EventObjectLast event for the package
Status DescriptionStringStatus description
Tracking URLStringTracking URL
Days Since Last UpdateNumberDays Since Last Update

Statuses mapping

{
    'Ready for Shipment': ['A', 'AP', 'AR', 'AS', 'AV', 'BA', 'BD', 'CC', 'CD', 'CL', 'CP', 'CT', 'DC', 'DF', 'DP', 'DR', 'DS', 'I9', 'IV', 'K', 'M', 'V'],
    'Delivered': ['B', 'D', 'D1', 'D2', 'DD', 'RG', 'RI', 'VC', 'Y','U'],
    'In Transit': ['Z', 'A1', 'A2', 'AC', 'AT', 'BA', 'CL', 'BA', 'CA', 'DB', 'DI', 'DO', 'DS', 'DV', 'DY', 'DE', 'E', 'EA', 'EC', 'ED', 'EE', 'EI', 'EJ', 'G', 'FA', 'F', 'HD', 'I', 'I1', 'I2', 'IA', 'IP', 'IS', 'J', 'L', 'MD', 'NN', 'O', 'OD', 'PC', 'PE', 'PH', 'RB', 'RV', 'SC', 'SD', 'SE', 'SF', 'SI', 'SJ', 'SK', 'SO','SM', 'ST', 'SV', 'TA', 'TE', 'TI', 'TO', 'TS', 'TT', 'W', 'X', 'ZA', 'ZC', 'ZI', 'ZS', 'ZT'],
    'Returning to Sender': ['Q', 'R'],
    'Problem with Delivery': ['AN', 'BW', 'BL', 'CO', 'ER', 'FD', 'IN', 'KC', 'LC', 'LT', 'LR', 'LW', 'N', 'NA', 'P', 'PA', 'PR', 'PT', 'RA', 'RC', 'RL', 'RO', 'RR', 'RT', 'S', 'SR', 'UN', 'VC', 'VO', 'WD'],
    'Ready for Pickup': ['T', 'ZD', 'AB'],
}