Documentation

Canpar Track and Trace

Inputs

NameTypeDescription
Tracking NumberStringTracking number

Outputs

NameTypeDescription
SuccessBooleanWhether successfully retrieved any tracking information
StatusStringTracking status:
Delivered, In Transit, Ready for Shipment, Ready for Pickup, Problem with Delivery, Returning to Sender, Label Created, More Information Needed
Status DescriptionStringStatus description
Status SummaryStringStatus summary
Last Event DateStringDate of the last update
Tracking URLStringTracking URL
Tracking EventsListTracking events
Tracking DataObjectTracking data

Statuses mapping

{
    "Label Created, More Information Needed": [],
    "Ready for Shipment": [
        "PIC"
    ],
    "Delivered": [
        "DEL",
        "NSR"
    ],
    "In Transit": [
        "SRT",
        "ARR",
        "XC",
        "INO",
        "WC",
        "DPT"
    ],
    "Returning to Sender": [],
    "Problem with Delivery": [
        "INO",
        "NH",
        "DLY"
    ],
    "Ready for Pickup": [
        "DRP"
    ]
}