Top
Developers Your place to code all things handmade

Welcome to the Shopclues Developer Platform

We believe in code as craft. Join the community of developers, creators and build tools that enrich the ways you can shop, sell and connect with the India's largest merchant base most easily.

Get Started

Register, Upload, Search and Connect

Explore Shopclues' marketplace of over 8.5 million products from over 3.5 lakh merchants. Connect buyers with the items they'll love.

Learn More About Catalog Management

Login, Integrate and Create

Build the best tools for Shopclues merchants. Simply login, Integrate and start developing you own apps.

Learn More About Start Developing
<
>
Jump to: navigation, search

Order Status

This API use for get order status.

Method= GET

Authorization : “Bearer bc1f461de4f193”
Content-Type :”application/json”

Headers

Field name Description Mandatory
Header - “Authorization” Access token is passed to identify the user. Eg- ”Bearer bc1f461de4f193" Yes
Header - “Content-Type” Input Content Type here it would be “application/json" Yes

  • JSON
  • PHP
Production Url:
http://developer.shopclues.com/api/ordertracking/orderstatus?order_id={order_id}
Sandbox Url:
https://sandbox.shopclues.com/api/ordertracking/orderstatus?order_id={order_id}

Sample response:

 {
  "status": 1,
  "code": 200,
  "message": "success",
  "data": {
    "status_info": [
      {
        "status": "100",
        "timestamp": "1507389380",
        "description": "Cash Before Delivery - Payment Confirmation Pending"
      },
      {
        "status": "P",
        "timestamp": "1507541631",
        "description": "Payment Successful"
      },
      {
        "status": "E",
        "timestamp": "1507575940",
        "description": "Order Confirmed - Pickup Initiated "
      },
      {
        "status": "E",
        "timestamp": "1507575940",
        "description": "Order Confirmed - Pickup Initiated "
      },
      {
        "status": "33",
        "timestamp": "1507652716",
        "description": "Processing - Order Picked up"
      },
      {
        "status": "G",
        "timestamp": "1507652988",
        "description": "Order Ready for Shipment"
      },
      {
        "status": "L",
        "timestamp": "1507653548",
        "description": "Processing - Ready for Dispatch"
      },
      {
        "status": "104",
        "timestamp": "1507654151",
        "description": "Order is dispatched"
      },
      {
        "status": "A",
        "timestamp": "1507660609",
        "description": "Shipped"
      },
      {
        "status": "H",
        "timestamp": "1507896500",
        "description": "Delivered"
      },
      {
        "status": "C",
        "timestamp": "1508013066",
        "description": "Delivered"
      },
      {
        "status": "S",
        "timestamp": "1508295555",
        "description": "Return Request Approved"
      },
      {
        "status": "C",
        "timestamp": "1509719671",
        "description": "Delivered"
      },
      {
        "status": "S",
        "timestamp": "1510737247",
        "description": "Return Request Approved"
      },
      {
        "status": "1",
        "timestamp": "1510739373",
        "description": "Return Received"
      },
      {
        "status": "115",
        "timestamp": "1510740519",
        "description": "Order in Return Shipment"
      },
      {
        "status": "81",
        "timestamp": "1510906201",
        "description": "Return Complete"
      },
      {
        "status": "108",
        "timestamp": "1510979247",
        "description": "Order ready for reverse shipment to seller"
      },
      {
        "status": "64",
        "timestamp": "1510986661",
        "description": "Return Request Complete"
      },
      {
        "status": "65",
        "timestamp": "1510986801",
        "description": "Return Request Complete"
      }
    ],
    "estimated_dates": {
      "approval": "1507389378",
      "processing": "1507389378",
      "quality_check": "1507956208",
      "shipping": "1507956208",
      "delivery": "1508733808"
    },
    "shipped_info": "Order has been shipped through Xpressbees Courier with tracking number 1229175870123.",
    "payment_info": {
      "transaction_method": "Cash Before Delivery",
      "payment_method": "Cash Before Delivery"
    }
  },
  "extra": {
    "total": 1
  }
}

Make sure you define API_KEY to be your unique, registered key

Click here for access token documentation.
<?php
$token="<token>";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://sandbox.shopclues.com/api/ordertracking/orderstatus?order_id={order_id}");
curl_setopt($ch,CURLOPT_HTTPHEADER,array('Content-Type: application/json','Authorization: Bearer .$token'));
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);

?>

Looking for ShopClues Apps?

Check out our new
App Gallery!

It's the best way to find cool and useful tools built upon Shopclues's API.