Tracking Shipment using Polling

This API uses polling to track order statuses, given details for the order and the carrier partner involved.

Overview

Enterprise can get the latest tracking updates from Clickpost in two ways: Polling or Webhooks. This API uses polling to track order statuses. Polling API retrieves the historic statuses and the current status of the package.

Usecase

This is a standard API which applies to all MPS (Multi-Piece Shipment) and SPS (Single Piece Shipment) orders

Geography

This API is applicable for all geographies (Indian, worldwide and cross-border shipments).

Path

API type: GET API

Sample URL:
https://api.clickpost.in/api/v2/track-order/?username=*&key=*&waybill=*&cp_id=*

URL Parameters

Field NameData TypeFieldDescriptionMax LengthExample
keyStringMandatoryUnique license key that is given to you by Clickpost team100"34be9be5-3de8-4223-ad14-d7391159b80e"
usernameStringMandatoryRegistered username given to you by Clickpost team100"test-enterprise"
waybillStringMandatoryWaybill of the shipment to be used for tracking. You can pass multiple waybills [comma seperated, upto 5] in a single request, make sure all AWBs belong to same carrier100"TESTAWB000001"
cp_idStringMandatorycp_id of the carrier to which this AWB belongs.25

Response

Sample Response

{
    "meta": {
        "status": 200,
        "success": true,
        "message": "SUCCESS"
    },
    "result": {
        "4210610508756": {
            "latest_status": {
                "timestamp": "2022-10-31 19:56:16",
                "location": "Faridabad_Mthurard_CP (Haryana)",
                "remark": "Shipment not received from client",
                "status": "Not Picked",
                "clickpost_status_code": 2,
                "clickpost_status_description": "PickupPending",
                "clickpost_status_bucket": 1,
                "clickpost_status_bucket_description": "Order Placed",
                "created_at": "2022-10-27 11:10:28"
            },
            "scans": [
                {
                    "timestamp": "2022-10-31 19:56:16",
                    "location": "Faridabad_Mthurard_CP (Haryana)",
                    "remark": "Shipment not received from client",
                    "status": "Not Picked",
                    "clickpost_status_code": 2,
                    "checkpoint_id": 9629321255,
                    "tracking_id": 493656670,
                    "created_at": "2022-10-31 15:30:31",
                    "clickpost_status_description": "PickupPending",
                    "clickpost_status_bucket": 1,
                    "clickpost_status_bucket_description": "Order Placed"
                },
                {
                    "timestamp": "2022-10-29 19:56:42",
                    "location": "Faridabad_Mthurard_CP (Haryana)",
                    "remark": "Shipper unavailable",
                    "status": "Manifested",
                    "clickpost_status_code": 3,
                    "checkpoint_id": 9577278643,
                    "tracking_id": 493656670,
                    "created_at": "2022-10-29 15:29:30",
                    "clickpost_status_description": "PickupFailed",
                    "clickpost_status_bucket": 1,
                    "clickpost_status_bucket_description": "Order placed"
                },
                {
                    "timestamp": "2022-10-29 09:26:32",
                    "location": "Faridabad_Mthurard_CP (Haryana)",
                    "remark": "Out for Pickup",
                    "status": "Out for Pickup",
                    "clickpost_status_code": 25,
                    "checkpoint_id": 9562545783,
                    "tracking_id": 493656670,
                    "created_at": "2022-10-29 05:45:22",
                    "clickpost_status_description": "OutForPickup",
                    "clickpost_status_bucket": 1,
                    "clickpost_status_bucket_description": "Order placed"
                },
                {
                    "timestamp": "2022-10-28 14:53:24",
                    "location": "Faridabad_Mthurard_CP (Haryana)",
                    "remark": "Pickup scheduled",
                    "status": "Manifested",
                    "clickpost_status_code": 1,
                    "checkpoint_id": 9540836463,
                    "tracking_id": 493656670,
                    "created_at": "2022-10-28 09:49:16",
                    "clickpost_status_description": "OrderPlaced",
                    "clickpost_status_bucket": 1,
                    "clickpost_status_bucket_description": "Order placed"
                },
                {
                    "timestamp": "2022-10-28 14:53:22",
                    "location": "Faridabad_Mthurard_CP (Haryana)",
                    "remark": "Shipment not ready for pickup",
                    "status": "Manifested",
                    "clickpost_status_code": 2,
                    "checkpoint_id": 9540836456,
                    "tracking_id": 493656670,
                    "created_at": "2022-10-28 09:49:16",
                    "clickpost_status_description": "PickupPending",
                    "clickpost_status_bucket": 1,
                    "clickpost_status_bucket_description": "Order Placed"
                },
                {
                    "timestamp": "2022-10-28 12:34:10",
                    "location": "Faridabad_Mthurard_CP (Haryana)",
                    "remark": "Out for Pickup",
                    "status": "Out for Pickup",
                    "clickpost_status_code": 25,
                    "checkpoint_id": 9537993020,
                    "tracking_id": 493656670,
                    "created_at": "2022-10-28 07:58:23",
                    "clickpost_status_description": "OutForPickup",
                    "clickpost_status_bucket": 1,
                    "clickpost_status_bucket_description": "Order placed"
                },
                {
                    "timestamp": "2022-10-27 16:40:32",
                    "location": "Faridabad_Mthurard_CP (Haryana)",
                    "remark": "Pickup scheduled",
                    "status": "Manifested",
                    "clickpost_status_code": 1,
                    "checkpoint_id": 9519481038,
                    "tracking_id": 493656670,
                    "created_at": "2022-10-27 14:16:37",
                    "clickpost_status_description": "OrderPlaced",
                    "clickpost_status_bucket": 1,
                    "clickpost_status_bucket_description": "Order placed"
                },
                {
                    "timestamp": "2022-10-27 16:40:27",
                    "location": "Faridabad_Mthurard_CP (Haryana)",
                    "remark": "Shipment details manifested",
                    "status": "Manifested",
                    "clickpost_status_code": 1,
                    "checkpoint_id": 9519481036,
                    "tracking_id": 493656670,
                    "created_at": "2022-10-27 14:16:37",
                    "clickpost_status_description": "OrderPlaced",
                    "clickpost_status_bucket": 1,
                    "clickpost_status_bucket_description": "Order placed"
                }
            ],
            "valid": true,
            "additional": {
                "is_stuck": false,
                "order_id": "1234556689",
                "sku": [
                    "Footwear"
                ],
                "edd": {
                    "max_sla": 3,
                    "min_sla": 2,
                    "exact_sla": null
                },
                "invoice_number": "ABCD11111",
                "pickup_city": "Delhi",
                "drop_city": "Bangalore",
                "cod_value": 1000.0,
                "currency_code": "INR",
                "courier_partner_edd": null,
                "channel_name": "ABCDEF",
                "qc_images": [],
                "ndr": {
                    "ndr_bucket_code": 1,
                    "ndr_description": "Customer Unavailable"
                },
                "courier_partner_id": 4,
                "courier_name": "Delhivery"
            }
        }
    }
}
{
    "meta": {
        "status": 200,
        "success": true,
        "message": "SUCCESS"
    },
    "result": null
}
{
    "meta": {
        "status": 200,
        "success": true,
        "message": "SUCCESS"
    },
    "result": {
        "319416685": {
            "latest_status": {
                "timestamp": "2024-11-19 16:13:40",
                "location": "",
                "remark": "DELIVERED",
                "status": "DELIVERED",
                "clickpost_status_code": 8,
                "clickpost_status_description": "Delivered",
                "clickpost_status_bucket": 6,
                "clickpost_status_bucket_description": "Delivered",
                "created_at": "2024-11-19 10:30:26"
            },
            "scans": [
                {
                    "timestamp": "2024-11-19 16:13:40",
                    "location": "",
                    "remark": "DELIVERED",
                    "status": "DELIVERED",
                    "checkpoint_id": 28001617342,
                    "tracking_id": 1316464802,
                    "created_at": "2024-11-19 16:13:40",
                    "clickpost_status_code": 8,
                    "clickpost_status_description": "Delivered",
                    "clickpost_status_bucket": 6,
                    "clickpost_status_bucket_description": "Delivered"
                },
                {
                    "timestamp": "2024-11-19 16:10:40",
                    "location": "",
                    "remark": "ARRIVED_CUSTOMER_DOORSTEP",
                    "status": "ARRIVED_CUSTOMER_DOORSTEP",
                    "checkpoint_id": 28001516208,
                    "tracking_id": 1316464802,
                    "created_at": "2024-11-19 16:10:40",
                    "clickpost_status_code": 44,
                    "clickpost_status_description": "ReachedDropLocation",
                    "clickpost_status_bucket": 3,
                    "clickpost_status_bucket_description": "In transit"
                },
                {
                    "timestamp": "2024-11-19 14:50:40",
                    "location": "",
                    "remark": "ARRIVED",
                    "status": "ARRIVED",
                    "checkpoint_id": 28001050014,
                    "tracking_id": 1316464802,
                    "created_at": "2024-11-19 14:50:40",
                    "clickpost_status_code": 43,
                    "clickpost_status_description": "ReachedPickupLocation",
                    "clickpost_status_bucket": 1,
                    "clickpost_status_bucket_description": "Order placed"
                },
                {
                    "timestamp": "2024-11-19 14:00:40",
                    "location": "",
                    "remark": "ALLOTTED",
                    "status": "ALLOTTED",
                    "checkpoint_id": 28001029249,
                    "tracking_id": 1316464802,
                    "created_at": "2024-11-19 14:00:40",
                    "clickpost_status_code": 42,
                    "clickpost_status_description": "RiderAllocated",
                    "clickpost_status_bucket": 1,
                    "clickpost_status_bucket_description": "Order placed"
                },
                {
                    "timestamp": "2024-11-19 13:38:40",
                    "location": "",
                    "remark": "ALLOCATION FAILED",
                    "status": "ALLOCATION FAILED",
                    "checkpoint_id": 28001029249,
                    "tracking_id": 1316464802,
                    "created_at": "2024-11-19 13:38:41",                    
                    "clickpost_status_code": 41,
                    "clickpost_status_description": "RiderAllocationFailed",
                    "clickpost_status_bucket": 1,
                    "clickpost_status_bucket_description": "Order placed"
                },
                {
                    "timestamp": "2024-11-19 13:28:40",
                    "location": "",
                    "remark": "AWAITED",
                    "status": "AWAITED",
                    "checkpoint_id": 28001029249,
                    "tracking_id": 1316464802,
                    "created_at": "2024-11-19 13:28:41",
                    "clickpost_status_code": 40,
                    "clickpost_status_description": "RiderAllocationAwaited",
                    "clickpost_status_bucket": 1,
                    "clickpost_status_bucket_description": "Order placed"
                }
            ],
            "valid": true,
            "additional": {
                "is_stuck": false,
                "order_id": "TESTORDERHLD0004",
                "sku": [
                    "53813"
                ],
                "edd": {
                    "max_sla": null,
                    "min_sla": null,
                    "exact_sla": null
                },
                "invoice_number": "Test-2024-11-WS-00040",
                "pickup_city": "Mumbai",
                "drop_city": "Mumbai",
                "cod_value": 5000.0,
                "currency_code": "INR",
                "courier_partner_edd": null,
                "channel_name": null,
                "rto_awb": null,
                "qc_images": [],
                "npr": {
                    "npr_bucket_code": 0,
                    "npr_description": "Exception"
                },
                "dest_hub_inscan": false,
                "rto_intransit_timestamp": null,
                "courier_partner_id": 10001,
                "courier_partner_name": "TEST COURIER"
            }
        }
    }
}

The sample response can have the following fields

Field NameData TypeDescription
metaObjectMetadata for the result, e.g. status code, error messages.
resultObjectActual result of the request

Response Meta

Field NameData TypeDescription
statusIntegerStatus code of the response (including, but not limited to HTTP Status codes)
messageStringError message (if any errors) for the request.
successBooleanWhether the request is successful or not.

Response Result

Field NameData TypeDescription
<AWB>(The AWB value itself)StringThe AWB itself that is being tracked

The <AWB> field can have the following fields:

Field NameData TypeDescription
latest_statusObject[Status Object]Status object representing the last recorded status of the shipment
scansList[Status Object]List of status objects, each denoting one scan of the status of the shipment
validBooleanWhether the AWB provided is valid/existing or not
additionalObjectAn object encapsulating additional details of the shipment

The Status Objects mentioned above can have the following fields:

Field NameData TypeDescription
timestampStringTimestamp of the Status object, i.e. the time when this status was recorded (in YYYY-MM-DD HH:MM:SS format)
locationStringLocation where this status was recorded
remarkStringRemarks/comments regarding this status
statusStringActual status string of the object as passed by the carrier/courier partner
clickpost_status_codeIntegerClickpost defined status code. This is the field you shall apply the status check
clickpost_status_descriptionStringDescription of the clickpost status code of the order
clickpost_status_bucketIntegerA consolidated ID of the status, built on top of clickpost_status_codes. They are used to show the status to the customer on the Track Orders page.
clickpost_status_bucket_descriptionStringDescription of the status, corresponding to the clickpost_status_bucket field.

The additional object can have the following fields:

Field NameData TypeDescription
is_stuckBooleanWhether the shipment is stuck somewhere mid-journey
order_idStringOrder Number of the shipment
skuListList of SKUs of the items in the shipment
eddObjectObject containing details of the estimated date of delivery of the shipment
invoice_numberStringInvoice number of the shipment
pickup_cityStringCity of pickup of the shipment
drop_cityStringCity of delivery of the shipment
cod_valueFloatCOD Value of the shipment
currency_codeStringCurrency code of the shipment
courier_partner_eddString/NullEstimated date of delivery of the shipment (YYYY-MM-DD format if not null)
channel_nameStringName of the channel through which the order was placed
qc_imagesListList of URLs for any images of the product, for use in quality checking.
ndrObjectDetails regarding the Non-Delivery Report status
courier_partner_idIntegerPartner ID of the carrier shipping the order
courier_nameStringName of the carrier shipping the order

The edd object can have the following fields

Field NameData TypeDescription
min_slaIntegerMinimum estimated days of delivery agreed upon by the SLA
max_slaIntegerMaximum estimated days of delivery agreed upon by the SLA
exact_slaInteger/NullExact estimated days (if any) of delivery agreed upon by the SLA

The ndr object can have the following fields:

Field NameData TypeDescription
ndr_bucket_codeIntegerClickpost-defined status ID of the NDR status
ndr_descriptionStringDescription of the NDR status

Track Order API (Track by Order IDs)

Usecase

This is a standard API which applies to all MPS (Multi-Piece Shipment) and SPS (Single Piece Shipment) orders. It allows tracking of shipments using the merchant's own Order ID(s) instead of the carrier AWB, and is useful when the caller does not have the AWB/cp_id readily available but knows the Order ID(s).

Geography

This API is applicable for all geographies (Indian, worldwide and cross-border shipments).

Path

API type: GET API

Sample URL:

https://api.clickpost.in/api/v2/track-order/?username=*&key=*&order_ids=*

URL Parameters

Field NameData TypeFieldDescriptionMax LengthExample
keyStringMandatoryUnique license key that is given to you by the Clickpost team100dd8a2854-a958-4423-976c-95bca101bdc7
usernameStringMandatoryRegistered username given to you by the Clickpost team100"test-tracking"
order_idsStringMandatoryOrder ID(s) of the shipment(s) to be tracked. You can pass multiple order IDs [comma separated, up to 5] in a single request—"PT9949842"

Note: Unlike the AWB-based tracking API, cp_id is not required here, since a single request can fetch order IDs that may map to shipments across different courier partners.

Response

Sample Response — 200 OK

{
    "meta": {
        "status": 200,
        "success": true,
        "message": "SUCCESS"
    },
    "result": {
        "WG523417": {
            "29123115358076": {
                "latest_status": {
                    "timestamp": "2026-06-28 14:13:59",
                    "location": "Bangalore_NewTipasandra_D (Karnataka)",
                    "remark": "Delivered at Mailroom/Security",
                    "status": "Delivered",
                    "clickpost_status_code": 8,
                    "clickpost_status_description": "Delivered",
                    "clickpost_status_bucket": 6,
                    "clickpost_status_bucket_description": "Delivered",
                    "created_at": "2026-06-27 03:44:45"
                },
                "scans": [
                    {
                        "timestamp": "2026-06-28 14:13:59",
                        "location": "Bangalore_NewTipasandra_D (Karnataka)",
                        "remark": "Delivered at Mailroom/Security",
                        "status": "Delivered",
                        "clickpost_status_code": 8,
                        "checkpoint_id": 41598077655,
                        "tracking_id": 2039581815,
                        "created_at": "2026-06-28 14:13:59",
                        "clickpost_status_description": "Delivered",
                        "clickpost_status_bucket": 6,
                        "clickpost_status_bucket_description": "Delivered"
                    }
                   
                ],
                "valid": true,
                "additional": {
                    "is_stuck": false,
                    "order_id": "WG523417",
                    "sku": ["8905834828542"],
                    "edd": {
                        "max_sla": 2,
                        "min_sla": 1,
                        "exact_sla": null
                    },
                    "invoice_number": "34316817",
                    "pickup_city": "VIRGO NAGAR POST, BENGALURU",
                    "drop_city": "BANGALORE",
                    "cod_value": 0.0,
                    "currency_code": "INR",
                    "courier_partner_edd": "2026-06-28",
                    "channel_name": "USPL_SHOPIFY",
                    "is_rvp": false,
                    "rto_awb": null,
                    "qc_images": [],
                    "dest_hub_inscan": false,
                    "rto_intransit_timestamp": null,
                    "courier_partner_id": 4,
                    "courier_partner_name": "Delhivery"
                }
            },
            "55406810150220": {
                "latest_status": {
                    "timestamp": "2026-07-06 00:24:29",
                    "location": "Bangalore_NewTipasandra_D (Karnataka)",
                    "remark": "Closed Reverse Pickup",
                    "status": "Closed",
                    "clickpost_status_code": 10,
                    "clickpost_status_description": "Cancelled",
                    "clickpost_status_bucket": 1,
                    "clickpost_status_bucket_description": "Order placed",
                    "created_at": "2026-06-30 12:07:37"
                },
                "scans": [
                    {
                        "timestamp": "2026-07-06 00:24:29",
                        "location": "Bangalore_NewTipasandra_D (Karnataka)",
                        "remark": "Closed Reverse Pickup",
                        "status": "Closed",
                        "clickpost_status_code": 10,
                        "checkpoint_id": 41776956290,
                        "tracking_id": 2043500291,
                        "created_at": "2026-07-06 00:24:29",
                        "clickpost_status_description": "Cancelled",
                        "clickpost_status_bucket": 1,
                        "clickpost_status_bucket_description": "Order placed"
                    }
                    // ... additional scan objects, one per checkpoint
                ],
                "valid": true,
                "additional": {
                    "is_stuck": false,
                    "order_id": "WG523417",
                    "sku": ["8905834828542"],
                    "edd": {
                        "max_sla": 1,
                        "min_sla": 1,
                        "exact_sla": null
                    },
                    "invoice_number": "RE86890471",
                    "pickup_city": "BANGALORE",
                    "drop_city": "VIRGO NAGAR POST, BENGALURU",
                    "cod_value": 0.0,
                    "currency_code": "INR",
                    "courier_partner_edd": null,
                    "channel_name": null,
                    "is_rvp": true,
                    "rto_awb": null,
                    "qc_images": [],
                    "npr": {
                        "npr_bucket_code": 2,
                        "npr_description": "Pickup cancelled by customer"
                    },
                    "dest_hub_inscan": false,
                    "rto_intransit_timestamp": null,
                    "courier_partner_id": 25,
                    "courier_partner_name": "Delhivery Reverse"
                }
            }
        }
    }
}
{
    "meta": {
        "status": 400,
        "success": false,
        "message": "order_id WG534709 not found"
    },
    "result": {}
}
{
    "meta": {
        "status": 301,
        "message": "Authentication Failed: Invalid Token or API Key",
        "success": false
    }
}

Important: Since one Order ID can be linked to multiple AWBs — for example an MPS order with several piece-level AWBs, or an order that has both a forward shipment AWB and a reverse-pickup (RVP) AWB — the response for each order_id is itself a dictionary keyed by AWB, not a single shipment object.

Response Fields

Field NameData TypeDescription
metaObjectMetadata for the result, e.g. status code, error messages
resultObjectActual result of the request

Response Meta

Field NameData TypeDescription
statusIntegerStatus code of the response (including, but not limited to, HTTP status codes)
messageStringError message (if any) for the request
successBooleanWhether the request is successful or not

Response Result

Field NameData TypeDescription
<order_id> (the order ID value itself)ObjectKeyed by the Order ID that was passed in the request

Each <order_id> object is itself a dictionary keyed by AWB, since a single Order ID can have multiple associated AWBs (e.g. MPS piece-level AWBs, or a forward AWB plus a reverse-pickup/RVP AWB):

Field NameData TypeDescription
<awb> (the AWB value itself)ObjectShipment-level tracking object for this AWB under the given order_id

Each <awb> object contains:

Field NameData TypeDescription
latest_statusObject [Status Object]Status object representing the last recorded status of the shipment
scansList [Status Object]List of status objects, each denoting one scan/checkpoint of the shipment
validBooleanWhether the Order ID provided is valid/existing or not
additionalObjectAn object encapsulating additional details of the shipment

Status Object (used in latest_status and scans)

Field NameData TypeDescription
timestampStringTimestamp when this status was recorded (YYYY-MM-DD HH:MM:SS)
locationStringLocation where this status was recorded
remarkStringRemarks/comments regarding this status
statusStringActual status string of the object
clickpost_status_codeIntegerStatus code of the order
clickpost_status_descriptionStringDescription of the status code
clickpost_status_bucketIntegerConsolidated status ID built on top of clickpost_status_code, used to display status on the Track Orders page
clickpost_status_bucket_descriptionStringDescription of the clickpost_status_bucket
checkpoint_idIntegerUnique ID of this scan/checkpoint (present only in scans)
tracking_idIntegerInternal tracking ID for the shipment (present only in scans)
created_atStringTimestamp when this scan record was created in Clickpost's system

additional Object

Field NameData TypeDescription
is_stuckBooleanWhether the shipment is stuck somewhere mid-journey
order_idStringOrder Number of the shipment
skuListList of SKUs of the items in the shipment
eddObjectEstimated date of delivery details (see below)
invoice_numberStringInvoice number of the shipment
pickup_cityStringCity of pickup of the shipment
drop_cityStringCity of delivery of the shipment
cod_valueFloatCOD value of the shipment
currency_codeStringCurrency code of the shipment
courier_partner_eddString/NullEstimated date of delivery, YYYY-MM-DD format (if not null)
channel_nameString/NullName of the channel through which the order was placed
is_rvpBooleanWhether this AWB corresponds to a reverse pickup (RVP) shipment rather than a forward shipment
rto_awbString/NullRTO AWB number, populated if the shipment has been marked RTO
qc_imagesListList of URLs for any quality-check images of the product
nprObjectDetails regarding the Non-Pickup Report status (see below) — present when a pickup-related exception has occurred (only seen on reverse/RVP shipments in samples so far)
dest_hub_inscanBooleanWhether the shipment has been inscanned at the destination hub
rto_intransit_timestampString/NullTimestamp of when the shipment went into RTO transit (if applicable)
feDetailsObject/NullField executive (delivery agent) details, if available
courier_partner_idIntegerPartner ID of the carrier shipping the order
courier_partner_nameStringName of the carrier shipping the order (replaces courier_name used in the AWB-based API)

npr Object

Field NameData TypeDescription
npr_bucket_codeIntegerClickpost-defined status ID of the NPR (Non-Pickup Report) status
npr_descriptionStringDescription of the NPR status, e.g. "Pickup cancelled by customer"

edd Object

Field NameData TypeDescription
min_slaIntegerMinimum estimated days of delivery agreed upon by SLA
max_slaIntegerMaximum estimated days of delivery agreed upon by SLA
exact_slaInteger/NullExact estimated days of delivery agreed upon by SLA, if any

Differences vs. AWB-based Track Order API

  • Query parameter is order_ids (comma separated) instead of waybill.
  • Max 5 order_ids per request (vs. max 5 waybills, and waybills must belong to the same carrier — no such carrier restriction applies here).
  • cp_id is not required.
  • Result is nested two levels deep: result[order_id][awb] = {latest_status, scans, valid, additional} — because one Order ID can map to multiple AWBs (MPS piece-level AWBs, or a forward + reverse/RVP AWB pair). This is different from the AWB-based API, where result[awb] is a single flat shipment object.

Did this page help you?