Documentation

🔑 OCS Track & Trace

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

https://ecommerce.ocsworldwide.co.uk/documentation/#tracking

Inputs

NameTypeDescription
Tracking NumberStringQuiver tracking number
Tracking TokenStringTracking Token received from OCS

Outputs


NameTypeDescription
Found Tracking?BooleanWhether the tracking information was found
True / False
SuccessBooleanWhether API Call was successful
Shipping StatusStringTracking status:
Ready for Shipment,
Delivered,
In Transit,
Problem with Delivery,
Returning to Sender,
Ready for Pickup
Tracking URLStringOCS Tracking URL
Last Event DateStringThe date of the last tracking event.
Format:
YYYY-MM-DDThh:mm:ss
Raw DataObjectTracking Data

Statuses mapping

{
    "Label Created, More Information Needed": [
    ],
    "Ready for Shipment": [
        "1",
        "36"
    ],
    "Delivered": [
        "55",
        "56",
        "65",
        "15",
        "58"
    ],
    "In Transit": [
        "44",
        "48",
        "46",
        "53",
        "43",
        "42",
        "41",
        "40",
        "39",
        "59",
        "60",
        "61",
        "63",
        "68",
        "69",
        "72",
        "34",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9",
        "10",
        "11",
        "12",
        "13",
        "14",
        "35",
        "33",
        "32",
        "29"
    ],
    "Returning to Sender": [
        "38",
        "50",
        "51",
        "52",
        "37",
        "57",
        "70",
        "71",
        "22",
        "19"
    ],
    "Problem with Delivery": [
        "49",
        "47",
        "45",
        "26",
        "31",
        "30",
        "67",
        "66",
        "64",
        "28",
        "27",
        "21",
        "25",
        "24",
        "23",
        "16",
        "17",
        "18",
        "20"
    ],
    "Ready for Pickup": [
        "62",
        "54"
    ]
}

OCS Tracking Codes + Descriptions