Track Order V - 2.0.0
Get the package details and the current status of the package with package tracker API.
Staging URL
Production URL
Parameter
| Field | Type | Description | 
|---|---|---|
| access_token | String | You will get this from IThink Logistics team. | 
| secret_key | String | You will get this from IThink Logistics team. | 
| awb_number_list | String | List of AWB Number which you want to track. (Max Limit 10 AWB No. in one request) | 
Status - Status Code
| Status | Code | Description | 
|---|---|---|
| Manifested | UD | When forward shipment’s data is pushed using API or using System. | 
| Not Picked | UD | When forward shipment is not picked up for long period of time. | 
| Picked Up | UD | When forward consignment is physically picked up from vendor's warehouse. | 
| In Transit | UD | When forward consignment is in transit to its DC after physical pick up. | 
| Reached At Destination | UD | When forward shipment has reached DC but not yet dispatched for delivery. | 
| Out For Delivery | UD | When forward shipment is dispatched for delivery to end customer. | 
| Undelivered | UD | When forward shipment went for delivery but it was failed to deliver. | 
| Out of Delivery Area | UD | When forward shipment is out of delivery area. | 
| Delayed | UD | When forward shipment is dealyed due to operational issue. | 
| Damaged | UD | When forward shipment is damage. | 
| Misrouted | UD | When forward shipment is misrouted from its destination. | 
| Delivered | DL | When forward shipment is accepted by end customer. | 
| Cancelled | CN | When forward shipment is cancelled before getting picked up from client warehouse. | 
| RTO Pending | RT | When Return consignment is awaiting for RTO. | 
| RTO Processing | RT | When Return consignment is ready for RTO. | 
| RTO In Transit | RT | When Return consignment is in transit to its Return Center. | 
| Reached At Origin | RT | When Returned status consignment is reached at Return Center Hub. | 
| RTO Out For Delivery | RT | When Returned status consignment is dispatched for final RTO to vendor's warehouse. | 
| RTO Undelivered | RT | When Returned status consignment went for delivery but it was failed to deliver. | 
| RTO Delivered | DL | When Returned status consignment is accepted by vendor. | 
| Lost | Lost | When consignment is lost. | 
| Shortage | Shortage | When consignment is Shortage. | 
| RTO Shortage | RTO Shortage | When consignment is RTO Shortage. | 
| REV Manifest | UD | When reverse shipment’s data is pushed using API or using System. | 
| REV Out for Pick Up | UD | When reverse shipment’s is out for pickup. | 
| REV Picked Up | UD | When reverse consignment is physically picked up from customer. | 
| REV In Transit | UD | When reverse consignment is in transit to its DC after physical pick up. | 
| REV Cancelled | UD | When reverse shipment is cancelled before getting picked up from customer. | 
| REV Out For Delivery | UD | When reverse shipment is dispatched for delivery to vendor | 
| REV Delivered | DL | When reverse shipment is accepted by vendor. | 
| REV Closed | UD | When a reverse Pickup shipment is canceled and Request is Closed. | 
       {
       "data":    {
                          "awb_number_list"    : "1369010468790",      #List of AWB Number which you want to track.
                          "access_token" : "8ujik47cea32ed386b1f65c85fd9aaaf",
                          "secret_key" : "65tghjmads9dbcd892ad4987jmn602a7"
                          }
       }
                                
       {
       "status_code": 200,
       "data":
                     {
                     "1369010033902":
                                                                                {
                                                                                               "message": "success",
                                                                                               "awb_no": "1369010033902",
                                                                                               "logistic": "Delhivery",
                                                                                               "order_type": "forward",
                                                                                               "cancel_status": "Approved", // ( Pending, Approved, Request Rejected, Refunded)
                                                                                               "current_status": "In Transit",
                                                                                               "current_status_code": "UD",
                                                                                               "return_tracking_no": "",
                                                                                               "last_scan_details":
                                                                                                                                         {
                                                                                                                                         "status": "Undelivered",
                                                                                                                                         "status_code": "UD",
                                                                                                                                         "status_date_time": "2017-06-07 18:11:26",
                                                                                                                                         "scan_location": "Surat_Pandesra_Gateway (Gujarat)",
                                                                                                                                         "remark": "CONSIGNEE NOT AVAILABLE",
                                                                                                                                         "reason": "customer not available at the time of delivery"
                                                                                                                                         },
                                                                                               "order_details":
                                                                                                                                         {
                                                                                                                                         "order_type": "COD",
                                                                                                                                         "order_number": "11812",
                                                                                                                                         "sub_order_number": "11812",
                                                                                                                                         "order_sub_order_number": "11812-11812",
                                                                                                                                         "phy_weight": "200.00",
                                                                                                                                         "net_payment": "775.00",
                                                                                                                                         "ship_length": "10.00",
                                                                                                                                         "ship_width": "10.00",
                                                                                                                                         "ship_height": "10.00"
                                                                                                                                         },
                                                                                               "order_date_time":
                                                                                                                                         {
                                                                                                                                         "manifest_date_time": "2017-06-07 13:34:36",
                                                                                                                                         "pickup_date": "2017-06-07",
                                                                                                                                         "delivery_date": "",
                                                                                                                                         "rto_delivered_date": ""
                                                                                                                                         },
                                                                                               "customer_details":
                                                                                                                                         {
                                                                                                                                         "customer_name": "John Doe",
                                                                                                                                         "customer_address1": "60/40 st shenoy nagar",
                                                                                                                                         "customer_address2": "",
                                                                                                                                         "customer_address3": "",
                                                                                                                                         "customer_city": "Chennai",
                                                                                                                                         "customer_state": "Tamil Nadu",
                                                                                                                                         "customer_country": "India",
                                                                                                                                         "customer_pincode": "600030",
                                                                                                                                         "customer_mobile": "9876543210",
                                                                                                                                         "customer_phone": "2156789098"
                                                                                                                                         },
                                                                                            "scan_details":           [
                                                                                                                                                {
                                                                                                                                                          "status": "Manifested",
                                                                                                                                                          "status_code": "UD",
                                                                                                                                                          "scan_location": "HQ (Haryana)",
                                                                                                                                                          "remark": "Consignment Manifested",
                                                                                                                                                          "scan_date_time": "2017-06-07 14:05:57",
                                                                                                                                                          "status_reason": ""
                                                                                                                                                },
                                                                                                                                                {
                                                                                                                                                          "status": "In Transit",
                                                                                                                                                          "status_code": "UD",
                                                                                                                                                          "scan_location": "Surat_Pandesra_Gateway (Gujarat)",
                                                                                                                                                          "remark": "Shipment Picked Up from Client Location",
                                                                                                                                                          "scan_date_time": "2017-06-07 18:11:26",
                                                                                                                                                          "status_reason": ""
                                                                                                                                                },
                                                                                                                                                {
                                                                                                                                                          "status": "Undelivered",
                                                                                                                                                          "status_code": "UD",
                                                                                                                                                          "scan_location": "Surat_Pandesra_Gateway (Gujarat)",
                                                                                                                                                          "remark": "CONSIGNEE NOT AVAILABLE",
                                                                                                                                                          "scan_date_time": "2017-06-07 18:11:26",
                                                                                                                                                          "status_reason": "customer not available at the time of delivery"
                                                                                                                                                }
                                                                                                                                        ]
                                                                                }
                            }
        }
                                                             
                                    Sample Beta Code
  $curl = curl_init();
  curl_setopt_array($curl, array(
      CURLOPT_URL             => "https://pre-alpha.ithinklogistics.com/api_v2/order/track.json",
      CURLOPT_RETURNTRANSFER  => true,
      CURLOPT_ENCODING        => "",
      CURLOPT_MAXREDIRS       => 10,
      CURLOPT_TIMEOUT         => 30,
      CURLOPT_HTTP_VERSION    => CURL_HTTP_VERSION_1_1,
      CURLOPT_CUSTOMREQUEST   => "POST",
      CURLOPT_POSTFIELDS      => "{\"data\":{\"awb_number_list\":\"1369010468790\",\"access_token\":\"8ujik47cea32ed386b1f65c85fd9aaaf\",\"secret_key\":\"65tghjmads9dbcd892ad4987jmn602a7\"}}\n",
      CURLOPT_HTTPHEADER      => array(
          "cache-control: no-cache",
          "content-type: application/json"
      )
  ));
  $response = curl_exec($curl);
  $err      = curl_error($curl);
  curl_close($curl);
  if ($err) 
  {
      echo "cURL Error #:" . $err;
  }
  else
  {
      echo $response;
  }
                          
  import requests
  url = "https://pre-alpha.ithinklogistics.com/api_v2/order/track.json"
  payload = "{\"data\":{\"awb_number_list\":\"1369010468790\",\"access_token\":\"8ujik47cea32ed386b1f65c85fd9aaaf\",\"secret_key\":\"65tghjmads9dbcd892ad4987jmn602a7\"}}\n"
  headers = 
      {
          'content-type': "application/json",
          'cache-control': "no-cache"
      }
  response = requests.request("POST", url, data=payload, headers=headers)
  print(response.text)
                          
  OkHttpClient client = new OkHttpClient();
  MediaType mediaType = MediaType.parse("application/json");
  RequestBody body = RequestBody.create(mediaType, "{\"data\":{\"awb_number_list\":\"1369010468790\",\"access_token\":\"8ujik47cea32ed386b1f65c85fd9aaaf\",\"secret_key\":\"65tghjmads9dbcd892ad4987jmn602a7\"}}\n");
  Request request = new Request.Builder()
    .url("https://pre-alpha.ithinklogistics.com/api_v2/order/track.json")
    .post(body)
    .addHeader("content-type", "application/json")
    .addHeader("cache-control", "no-cache")
    .build();
  Response response = client.newCall(request).execute();
                          
  var client = new RestClient("https://pre-alpha.ithinklogistics.com/api_v2/order/track.json");
  var request = new RestRequest(Method.POST);
  request.AddHeader("cache-control", "no-cache");
  request.AddHeader("content-type", "application/json");
  request.AddParameter("application/json", "{\"data\":{\"awb_number_list\":\"1369010468790\",\"access_token\":\"8ujik47cea32ed386b1f65c85fd9aaaf\",\"secret_key\":\"65tghjmads9dbcd892ad4987jmn602a7\"}}\n", ParameterType.RequestBody);
  IRestResponse response = client.Execute(request);
                          
  require 'uri'
  require 'net/http'
  url = URI("https://pre-alpha.ithinklogistics.com/api_v2/order/track.json")
  http = Net::HTTP.new(url.host, url.port)
  http.use_ssl = true
  http.verify_mode = OpenSSL::SSL::VERIFY_NONE
  request = Net::HTTP::Post.new(url)
  request["content-type"] = 'application/json'
  request["cache-control"] = 'no-cache'
  request.body = "{\"data\":{\"awb_number_list\":\"1369010468790\",\"access_token\":\"8ujik47cea32ed386b1f65c85fd9aaaf\",\"secret_key\":\"65tghjmads9dbcd892ad4987jmn602a7\"}}\n"
  response = http.request(request)
  puts response.read_body
                          Reason List
| Not Picked Reasons | Undelivered Reasons | RTO Undelivered Reasons | 
|---|---|---|
| Pickup Missed By The Courier | Address Incomplete / Unlocatable | Sellers Address Incomplete / Unlocatable | 
| Pickup Attempted Shipments Not Ready | Open Delivery Request By Customer | Seller Wants Open Delivery Request By Customer | 
| Pickup Attempted - Partial Handover | Out Of Delivery Area | Seller Address Is Out Of Delivery Area | 
| Vendor Not Responding | Customer Not Available At The Time Of Delivery | Seller Is Available At The Time Of Delivery | 
| Pickup Attempted - Seller Unavailable | Customer Requested For Future Delivery | Seller Requested For Future Delivery | 
| Warehouse Contact Issue | Customer Cancelled The Order | Seller Refused To Accept The Order | 
| Pickup Attempted Shipment Not Ready | Otp Not Received / Incorrect Mobile Number | Seller Otp Not Received / Incorrect Mobile Number | 
| Vendor Confirm Pickup Done | Cod Amount Not Ready With Customer | Seller Shifted To Different Address | 
| Pickup Done Scan Not Updated | Customer Shifted To Different Address | Seller Snatched Shipment | 
| Pickup Attempted Seller Initiated Delay | Payment Mode Or Amount Dispute | Seller Address Is Under Entry Restricted Area | 
| Warehouse Number Not Registered Properly | Customer Snatched Shipment | Seller Will Self Collect The Package | 
| Vendor Was Not Available At Location | Entry Restricted Area | Seller Requested For Delay Delivery | 
| Short Address | Customer Not Receiving The Call | Seller Residence Closed At The Time Of Delivery | 
| Regulatory Paperwork Insufficient-Geofenced | Return As Per Client Instruction | |
| Fe Unable To Deliver Packet To Customer | ||
| Self Collect | ||
| Customer Requested For Digital Payment | ||
| Customer Residence Closed At The Time Of Delivery |