Store Order List V - 1.0.0

Get the Order list along with the product against the given date range.

POST
Staging URL
Production URL
Parameter
Field Type Description Mandatory
platform_id Integer Platform Id whose data is needed. Yes
start_date String Date from which order data is needed. Yes
end_date String Date till which order data is needed. Yes
access_token String You will get this from IThink Logistics team. Yes
secret_key String You will get this from IThink Logistics team. Yes
       {
       "data":    {
                          "platform_id" : "2",   # 2 - Shopify, 3 - Magento, 4 - Woocommerce, 5 - Opencart, 6 - Prestashop, 7 - Amazon India, 8 - Ebay, 9 - API V2, 10 - Sshopy, 11 - CS Cart, 12 - Ecwid, 13 - Bulk Upload V2, 14 - API V3, 15 - Create Order, 16 - Etsy, 17 - Big Commerce, 19 - Zoho Commerce, 20 - Instamojo, 21 - API 
                          "start_date":"2022-04-01",   #Date range from which order's data is needed, You can keep this empty if you want data for entered awb in awb_number_list field.
                          "end_date":"2022-05-12",
                          "access_token" : "8ujik47cea32ed386b1f65c85fd9aaaf",
                          "secret_key" : "65tghjmads9dbcd892ad4987jmn602a7"
                          }
       }
       {
       "status": "success",
       "status_code": 200,
       "data": [
                                "123", 
                                "456",
                                "789"             
                        ]
       }
Sample Beta Code
  $curl = curl_init();
  curl_setopt_array($curl, array(
      CURLOPT_URL             => "https://pre-alpha.ithinklogistics.com/api/store/get-order-list.json",
      CURLOPT_RETURNTRANSFER  => true,
      CURLOPT_ENCODING        => "",
      CURLOPT_MAXREDIRS       => 10,
      CURLOPT_TIMEOUT         => 0,
      CURLOPT_FOLLOWLOCATION  => true,
      CURLOPT_HTTP_VERSION    => CURL_HTTP_VERSION_1_1,
      CURLOPT_CUSTOMREQUEST   => "POST",
      CURLOPT_POSTFIELDS      => '{
                                    "data" : 
                                            {
                                               "platform_id" : "2",
                                               "start_date": "2022-03-01",
                                               "end_date": "2022-03-15",
                                               "access_token" : "8ujik47cea32ed386b1f65c85fd9aaaf",
                                               "secret_key" : "65tghjmads9dbcd892ad4987jmn602a7"
                                            }
                                   }',
      CURLOPT_HTTPHEADER      => array(
          "content-type: application/json",
          "Cookie: PHPSESSID=u9b55bcm15ich1vpfei1ggpf46"
      )
  ));

  $response = curl_exec($curl);
  $err      = curl_error($curl);
  curl_close($curl);
  if ($err) 
  {
      echo "cURL Error #:" . $err;
  }
  else
  {
      echo $response;
  }
  import requests
  import json
  url = "https://pre-alpha.ithinklogistics.com/api/store/get-order-list.json"

  payload = json.dumps({
                          "data": {
                                      "platform_id": "2",
                                      "start_date": "2022-03-01",
                                      "end_date": "2022-03-15",
                                      "access_token" : "8ujik47cea32ed386b1f65c85fd9aaaf",
                                      "secret_key" : "65tghjmads9dbcd892ad4987jmn602a7"
                                  }
                      })

  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, "{\r\n\"data\" : \r\n\t\t{\r\n\"platform_id\" : \"2\",\r\n\"start_date\": \"2022-03-01\",\r\n\"end_date\": \"2022-03-15\",\r\n\"access_token\" : \"8ujik47cea32ed386b1f65c85fd9aaaf\",\r\n\"secret_key\" : \"65tghjmads9dbcd892ad4987jmn602a7\"\r\n}\r\n}");
  Request request = new Request.Builder()
    .url("https://pre-alpha.ithinklogistics.com/api/store/get-order-list.json")
    .post(body)
    .addHeader("content-type", "application/json")
    .addHeader("Cookie", "PHPSESSID=dv7c795l2mqpa96crjl291r5r1")
    .build();

  Response response = client.newCall(request).execute();
  var client = new RestClient("https://pre-alpha.ithinklogistics.com/api/store/get-order-list.json");
  var request = new RestRequest(Method.POST);
  request.AddHeader("cache-control", "no-cache");
  request.AddHeader("content-type", "application/json");
  request.AddParameter("application/json", "{\"platform_id\":\"2\",\"start_date\":\"2022-04-01\",\"end_date\":\"2022-05-12\",\"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/store/get-order-list.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 = JSON.dump({
                             "data": {
                                        "platform_id": "2",
                                        "start_date": "2022-03-01",
                                        "end_date": "2022-03-15",
                                        "access_token": "8ujik47cea32ed386b1f65c85fd9aaaf",
                                        "secret_key": "65tghjmads9dbcd892ad4987jmn602a7"
                                     }
                            })
  response = http.request(request)
  puts response.read_body