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

Get Order To Fulfill

This API is used to view the list of all new orders of particular merchant which needs to process.

Method= GET

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

Details of return parameters :

Variable Description
status Api status if 1: implies success , 0:implies fail error.
message Text response message
data Array of user with basic parameters. For detailed information about a user.


  • JSON
  • PHP
Production Url: :
 http://developer.shopclues.com/api/v2/app/fulfillmentorderapi/getOrdersToFulfill
Sandbox Url: :
 http://sandbox.shopclues.com/api/v2/app/fulfillmentorderapi/getOrdersToFulfill

Sample Response

{
  "status": 1,
  "code": 200,
  "message": "success",
  "data": {
    "valid_orders": {
      "41692509": {
        "order_id": "41692509",
        "order_date": "2015-03-13 14:45:33",
        "order_staus": "Paid",
        "product_name": "Premium Micro Sim Microsim Cutter (For Iphone 4 & Ipad 3g) + 2 Sim Adapters",
        "product_options": "",
        "customer_name": "DR VIJAY",
        "customer_address": "H.NO: 3002 # 5THMAIN # 6THCROSS (1st Floor) KUMARASWAMYLAYOUT",
        "customer_city": "BANGALORE",
        "customer_state": "KR",
        "customer_pincode": "560078",
        "item_count": "1",
        "payment_type": "PAID",
        "order_total": "116.00",
        "order_subtotal": "62.00",
        "sku_id": "1578509545"
      }
    },
    "invalid_orders": {
      "hsn_code_not_assigned_orders": {
        "38464249": {
          "order_id": "38464249",
          "order_date": "2015-02-18 18:03:31",
          "order_staus": "Paid",
          "product_name": "Onion & Vegetable Manual Cutter Chopper,all in ONE Speaker Bluetooth Speaker",
          "product_options": "",
          "customer_name": "RUPESH KUMAR",
          "customer_address": "GAYA PRASAD OIL SHOP HATA GODOWN NEAR DURGA MANDIR",
          "customer_city": "GAYA",
          "customer_state": "BH",
          "customer_pincode": "823001",
          "item_count": "2",
          "payment_type": "COD",
          "order_total": "52.00",
          "order_subtotal": "61.00",
          "sku_id": "423266178,15390"
        },
        "43733847": {
          "order_id": "43733847",
          "order_date": "2015-03-28 13:58:05",
          "order_staus": "Complete",
          "product_name": "Protoner Weight Lifting Package 20 Kgs + 3\" Curl Rod",
          "product_options": "",
          "customer_name": "Mayur  Vasy",
          "customer_address": "8th Floor,801/802 Sakar-3, Nr Income tax cericel, Nr CU Shah collage, ahmedabad Ahmedabad",
          "customer_city": "Ahmedabad",
          "customer_state": "GJ",
          "customer_pincode": "380009",
          "item_count": "1",
          "payment_type": "COD",
          "order_total": "1198.00",
          "order_subtotal": "999.00",
          "sku_id": "322422689"
        }
      },
      "dss_carrier_not_assigned_orders": [],
      "awb_no_not_assigned_orders": {
        "41672445": {
          "order_id": "41672445",
          "order_date": "2015-03-13 10:08:57",
          "order_staus": "Paid",
          "product_name": "Tenda N4 2.4Ghz 150Mbps Wireless N Broadband Router + 3 years warranty",
          "product_options": "",
          "customer_name": "Naushad Ali",
          "customer_address": "House no:48, Gali No:1, Sanjay Colony, Near Radha Krishna Mandir,arthala, Mohan Nagar",
          "customer_city": "Ghaziabad",
          "customer_state": "UP",
          "customer_pincode": "201007",
          "item_count": "1",
          "payment_type": "PAID",
          "order_total": "784.00",
          "order_subtotal": "789.00",
          "sku_id": "3364718951"
        }
      }
    }
  },
  "extra": null
}
Click here for access token documentation.
<?php
$token="<token>";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, " http://sandbox.shopclues.com/api/v2/app/fulfillmentorderapi/getOrdersToFulfill");
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.