LCS-Push_API_Documentation
LCS-Push_API_Documentation
Version 1.0
Leopards API Documentation
API Method: Push Consignment Status (version: 1.0)
Introduction
This document describes the push consignment status API. The API will push the status updates
when new status is updated on any of your consignments on the LCS ECOM Portal via provided
callback URL.
Because the Leopards API is based on open standards, you can use any web development
language to implement this on your end.
To implement this, you have to create a callback URL. And it will be the standard HTTP method
like POST.
"data": [
"cn_number": "string",
"status": "string",
"receiver_name": "string",
"reason": "string",
},
"cn_number": "string",
"status": "string",
"receiver_name": "string",
"reason": "string",
]
}
Response
In case of success your API method will return the following:
Status_code 202
The result in JSON format like:
[
"status": 1,
"errors": []
]
In case of error your API method will return the following:
status_code: 401
status_code: 400
"status": 0,
"errors": [
"String"
},
]
Shipment Journey
Serial
Status Name Status short code
No.
1 Consignment Booked (Shipment Scanned In LCS Facility) RC
2 Assigned To Courier (Out For Delivery) AC
3 Delivered (Terminal Status) DV
4 First Attempt In Forward Leg PN1
5 Second Attempt In Forward Leg PN2
6 Being Return RO
7 First Attempt In Reverse Leg RN1
8 Second Attempt In Reverse Leg RN2
9 Returned to Warehouse (Terminal Status) RW
10 Delivered to Warehouse (Terminal Status) DW
11 Returned to Shipper (Terminal Status) RS
12 Delivered to Vendor (Terminal Status) DR
13 Arrived At Station AR
14 Dispatched DP
15 Ready for Return NR
16 Shipment Picked SP