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 Name | Data Type | Field | Description | Max Length | Example |
|---|---|---|---|---|---|
key | String | Mandatory | Unique license key that is given to you by Clickpost team | 100 | "34be9be5-3de8-4223-ad14-d7391159b80e" |
username | String | Mandatory | Registered username given to you by Clickpost team | 100 | "test-enterprise" |
waybill | String | Mandatory | Waybill 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 carrier | 100 | "TESTAWB000001" |
cp_id | String | Mandatory | cp_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 Name | Data Type | Description |
|---|---|---|
meta | Object | Metadata for the result, e.g. status code, error messages. |
result | Object | Actual result of the request |
Response Meta
| Field Name | Data Type | Description |
|---|---|---|
status | Integer | Status code of the response (including, but not limited to HTTP Status codes) |
message | String | Error message (if any errors) for the request. |
success | Boolean | Whether the request is successful or not. |
Response Result
| Field Name | Data Type | Description |
|---|---|---|
<AWB>(The AWB value itself) | String | The AWB itself that is being tracked |
The <AWB> field can have the following fields:
| Field Name | Data Type | Description |
|---|---|---|
latest_status | Object[Status Object] | Status object representing the last recorded status of the shipment |
scans | List[Status Object] | List of status objects, each denoting one scan of the status of the shipment |
valid | Boolean | Whether the AWB provided is valid/existing or not |
additional | Object | An object encapsulating additional details of the shipment |
The Status Objects mentioned above can have the following fields:
| Field Name | Data Type | Description |
|---|---|---|
timestamp | String | Timestamp of the Status object, i.e. the time when this status was recorded (in YYYY-MM-DD HH:MM:SS format) |
location | String | Location where this status was recorded |
remark | String | Remarks/comments regarding this status |
status | String | Actual status string of the object as passed by the carrier/courier partner |
clickpost_status_code | Integer | Clickpost defined status code. This is the field you shall apply the status check |
clickpost_status_description | String | Description of the clickpost status code of the order |
clickpost_status_bucket | Integer | A 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_description | String | Description of the status, corresponding to the clickpost_status_bucket field. |
The additional object can have the following fields:
| Field Name | Data Type | Description |
|---|---|---|
is_stuck | Boolean | Whether the shipment is stuck somewhere mid-journey |
order_id | String | Order Number of the shipment |
sku | List | List of SKUs of the items in the shipment |
edd | Object | Object containing details of the estimated date of delivery of the shipment |
invoice_number | String | Invoice number of the shipment |
pickup_city | String | City of pickup of the shipment |
drop_city | String | City of delivery of the shipment |
cod_value | Float | COD Value of the shipment |
currency_code | String | Currency code of the shipment |
courier_partner_edd | String/Null | Estimated date of delivery of the shipment (YYYY-MM-DD format if not null) |
channel_name | String | Name of the channel through which the order was placed |
qc_images | List | List of URLs for any images of the product, for use in quality checking. |
ndr | Object | Details regarding the Non-Delivery Report status |
courier_partner_id | Integer | Partner ID of the carrier shipping the order |
courier_name | String | Name of the carrier shipping the order |
The edd object can have the following fields
| Field Name | Data Type | Description |
|---|---|---|
min_sla | Integer | Minimum estimated days of delivery agreed upon by the SLA |
max_sla | Integer | Maximum estimated days of delivery agreed upon by the SLA |
exact_sla | Integer/Null | Exact estimated days (if any) of delivery agreed upon by the SLA |
The ndr object can have the following fields:
| Field Name | Data Type | Description |
|---|---|---|
ndr_bucket_code | Integer | Clickpost-defined status ID of the NDR status |
ndr_description | String | Description 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 Name | Data Type | Field | Description | Max Length | Example |
|---|---|---|---|---|---|
key | String | Mandatory | Unique license key that is given to you by the Clickpost team | 100 | dd8a2854-a958-4423-976c-95bca101bdc7 |
username | String | Mandatory | Registered username given to you by the Clickpost team | 100 | "test-tracking" |
order_ids | String | Mandatory | Order 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_idis 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 Name | Data Type | Description |
|---|---|---|
meta | Object | Metadata for the result, e.g. status code, error messages |
result | Object | Actual result of the request |
Response Meta
| Field Name | Data Type | Description |
|---|---|---|
status | Integer | Status code of the response (including, but not limited to, HTTP status codes) |
message | String | Error message (if any) for the request |
success | Boolean | Whether the request is successful or not |
Response Result
| Field Name | Data Type | Description |
|---|---|---|
<order_id> (the order ID value itself) | Object | Keyed 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 Name | Data Type | Description |
|---|---|---|
<awb> (the AWB value itself) | Object | Shipment-level tracking object for this AWB under the given order_id |
Each <awb> object contains:
| Field Name | Data Type | Description |
|---|---|---|
latest_status | Object [Status Object] | Status object representing the last recorded status of the shipment |
scans | List [Status Object] | List of status objects, each denoting one scan/checkpoint of the shipment |
valid | Boolean | Whether the Order ID provided is valid/existing or not |
additional | Object | An object encapsulating additional details of the shipment |
Status Object (used in latest_status and scans)
latest_status and scans)| Field Name | Data Type | Description |
|---|---|---|
timestamp | String | Timestamp when this status was recorded (YYYY-MM-DD HH:MM:SS) |
location | String | Location where this status was recorded |
remark | String | Remarks/comments regarding this status |
status | String | Actual status string of the object |
clickpost_status_code | Integer | Status code of the order |
clickpost_status_description | String | Description of the status code |
clickpost_status_bucket | Integer | Consolidated status ID built on top of clickpost_status_code, used to display status on the Track Orders page |
clickpost_status_bucket_description | String | Description of the clickpost_status_bucket |
checkpoint_id | Integer | Unique ID of this scan/checkpoint (present only in scans) |
tracking_id | Integer | Internal tracking ID for the shipment (present only in scans) |
created_at | String | Timestamp when this scan record was created in Clickpost's system |
additional Object
additional Object| Field Name | Data Type | Description |
|---|---|---|
is_stuck | Boolean | Whether the shipment is stuck somewhere mid-journey |
order_id | String | Order Number of the shipment |
sku | List | List of SKUs of the items in the shipment |
edd | Object | Estimated date of delivery details (see below) |
invoice_number | String | Invoice number of the shipment |
pickup_city | String | City of pickup of the shipment |
drop_city | String | City of delivery of the shipment |
cod_value | Float | COD value of the shipment |
currency_code | String | Currency code of the shipment |
courier_partner_edd | String/Null | Estimated date of delivery, YYYY-MM-DD format (if not null) |
channel_name | String/Null | Name of the channel through which the order was placed |
is_rvp | Boolean | Whether this AWB corresponds to a reverse pickup (RVP) shipment rather than a forward shipment |
rto_awb | String/Null | RTO AWB number, populated if the shipment has been marked RTO |
qc_images | List | List of URLs for any quality-check images of the product |
npr | Object | Details 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_inscan | Boolean | Whether the shipment has been inscanned at the destination hub |
rto_intransit_timestamp | String/Null | Timestamp of when the shipment went into RTO transit (if applicable) |
feDetails | Object/Null | Field executive (delivery agent) details, if available |
courier_partner_id | Integer | Partner ID of the carrier shipping the order |
courier_partner_name | String | Name of the carrier shipping the order (replaces courier_name used in the AWB-based API) |
npr Object
npr Object| Field Name | Data Type | Description |
|---|---|---|
npr_bucket_code | Integer | Clickpost-defined status ID of the NPR (Non-Pickup Report) status |
npr_description | String | Description of the NPR status, e.g. "Pickup cancelled by customer" |
edd Object
edd Object| Field Name | Data Type | Description |
|---|---|---|
min_sla | Integer | Minimum estimated days of delivery agreed upon by SLA |
max_sla | Integer | Maximum estimated days of delivery agreed upon by SLA |
exact_sla | Integer/Null | Exact 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 ofwaybill. - Max 5
order_idsper request (vs. max 5 waybills, and waybills must belong to the same carrier — no such carrier restriction applies here). cp_idis 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, whereresult[awb]is a single flat shipment object.
Updated about 1 month ago
