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 Product Details

Catalogue: Once you generate token for the user, you can use the same to access our catalogue database. We provide you with customized catalogue which is curated as per your requirements to cater to the needs of your end users.These products listed are at negotiated price and shipping in line with business requirements and may differ with that on Shopclues website. After catalog, order APIs should be integrated for placing orders on ShopClues. You can use a single API to create orders directly. The other option is to create entire cart journey using cart, address and order API.The order is created for the same user whose token is used for authentication and should be used accordingly.Also, please refer to relevant requests for non variant and variant products.

NOTE : Catalogue- Inventory is available at both product and variant level(if applicable) and should be integrated accordingly

METHOD = POST,
SUPPORTED FORMAT = JSON,
SERVICE NAME = /getProductDetails

Headers :

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

Details of the fields.

Field name Description Permissible Values Mandatory
Header - “Authorization” Token with token type to identify user created using api call above.”Bearer bc1f461de” Yes
Header - “Content-Type” Input Content Type here it would be “application/json” Yes

Details of parameters:

Variable Description
D -> Desktop
M -> Mobile
A -> Android
I -> iOS
W -> Windows


NOTE : Info_type is optional. If not passed, then basic details about the product will be returned. If passed with ‘advanced’ then all details of the product will be returned.

  • JSON
  • PHP
Production Url-
http://developer.shopclues.com/api/v2/product/getProductInfo?product_id=<product_id>&platform=<platform>
Sandbox environment-
http://sandbox.shopclues.com/api/v2/product/getProductInfo?<product_id=<product_id>&platform=<platform>

Sample JSON Response:

{
  "info_type": "advanced"
}


Sample JSON REQUEST

"status": 1,
"code": 200,
"message": "success",
"data": {
  "product_id": "130317763",
  "company_id": "449568",
  "min_qty": "1",
  "is_pbp": "Y",
  "product_group": "0",
  "product": "Salora Bullet 2SV (1.8 Inch, 1000mAh, FM, Bluetooth)",
  "tracking": "O",
  "previous_third_price": "674.00",
  "product_shipping_estimation_id": "1",
  "neighbourhood_marketplace": "1",
  "object_collate": "10",
  "deal_handover_time": "172800",
  "merchant_reference_number": "",
  "SKU": "",
  "is_returnable": "Y",
  "return_period": "10",
  "exempt_packingfee": "N",
  "master_id": "0",
  "is_master": "N",
  "status": "H",
  "product_badge": "0",
  "max_qty": "0",
  "is_edp": "N",
  "freebee_inside": "0",
  "product_type": "P",
  "edp_shipping": "N",
  "free_shipping": "Y",
  "is_shippable": "Y",
  "full_description": "<table style=\"border-collapse: collapse; width: 1343pt;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"1790\">\r\n<tbody>\r\n<tr style=\"height: 15.0pt;\" height=\"20\">\r\n<td style=\"height: 15.0pt; width: 1343pt;\" width=\"1790\" height=\"20\">\r\n<p>4.5CM (1.8\")   TFT SCREEN, DUAL SIM, 3.5 STEREO HEADPHONE PHORT, LOUD SOUND,   CAMERA,VIBERATOR, BLUETOOTH,</p>\r\n<p>AUDIO & VIDEO PLAYER & VIDEO RECORDING,   FM RADIO WITH RECORDING, GPRS (INTERNET), LED TORCH,</p>\r\n<p>1000 mAH BATTERY, AUTO   CALL RECORDING, MOBILE TRACKER, MICRO SD CARD SUPPORT 16GB MICRO USB CHARGER     </p>\r\n<p> </p>\r\n</td>\r\n</tr>\r\n</tbody>\r\n</table>",
  "is_op": "N",
  "short_description": "",
  "product_code": "",
  "freebie_promotion_id": "0",
  "meta_keywords": "",
  "meta_description": "",
  "search_words": "",
  "page_title": "",
  "is_dg": "0",
  "list_price": "979.00",
  "is_cod": "1",
  "promotion_id": "6496681",
  "is_neighbourhood_cod": "0",
  "max_amount": "8771",
  "product_dynamic_fields": [
    
  ],
  "rating_info": {
    "avg_rating": "0.0000",
    "rating_count": "0"
  },
  "weight": "500",
  "tp_info": {
    "tp": {
      "product_id": "130317763",
      "tp": "585",
      "type": "tp",
      "start_date": "1509388200",
      "end_date": "1540924200",
      "latest": "1",
      "user": "39858706"
    },
    "deal_tp": {
      "product_id": "130317763",
      "tp": "585",
      "type": "deal_tp",
      "start_date": "1510726835",
      "end_date": "1546280940",
      "latest": "1",
      "user": "20649119"
    }
  },
  "prices": {
    "0": {
      "price": "674.00",
      "lower_limit": "1",
      "retail_price": "979.00",
      "price_in_dollar": null
    }
  },
  "icon_images": {
    "0": {
      "object_id": "130317763",
      "object_type": "product",
      "dim_id": "4",
      "images_image_id": "73574662",
      "type": "A",
      "image_path": "images/thumbnails/87033/160/160/130317763R11509440959.png",
      "cdn_partial_path": "images/thumbnails/87033/160/160/130317763R11509440959.png",
      "image_x": "160",
      "image_y": "160",
      "alt": "",
      "image_url": "http://cdn02.shopclues.net/images/thumbnails/87033/160/160/130317763R11509440959.png",
      "icon_image_path": "http://cdn02.shopclues.net/images/thumbnails/87033/160/160/130317763R11509440959.png"
    },
    "1": {
      "object_id": "130317763",
      "object_type": "product",
      "dim_id": "4",
      "images_image_id": "73574659",
      "type": "A",
      "image_path": "images/thumbnails/87033/160/160/130317763G21509440954.png",
      "cdn_partial_path": "images/thumbnails/87033/160/160/130317763G21509440954.png",
      "image_x": "160",
      "image_y": "160",
      "alt": "",
      "image_url": "http://cdn02.shopclues.net/images/thumbnails/87033/160/160/130317763G21509440954.png",
      "icon_image_path": "http://cdn02.shopclues.net/images/thumbnails/87033/160/160/130317763G21509440954.png"
    },
    "2": {
      "object_id": "130317763",
      "object_type": "product",
      "dim_id": "4",
      "images_image_id": "73574657",
      "type": "A",
      "image_path": "images/thumbnails/87033/160/160/130317763O21509440950.png",
      "cdn_partial_path": "images/thumbnails/87033/160/160/130317763O21509440950.png",
      "image_x": "160",
      "image_y": "160",
      "alt": "",
      "image_url": "http://cdn02.shopclues.net/images/thumbnails/87033/160/160/130317763O21509440950.png",
      "icon_image_path": "http://cdn02.shopclues.net/images/thumbnails/87033/160/160/130317763O21509440950.png"
    },
    "3": {
      "object_id": "130317763",
      "object_type": "product",
      "dim_id": "4",
      "images_image_id": "73574656",
      "type": "A",
      "image_path": "images/thumbnails/87033/160/160/130317763R21509440945.png",
      "cdn_partial_path": "images/thumbnails/87033/160/160/130317763R21509440945.png",
      "image_x": "160",
      "image_y": "160",
      "alt": "",
      "image_url": "http://cdn02.shopclues.net/images/thumbnails/87033/160/160/130317763R21509440945.png",
      "icon_image_path": "http://cdn02.shopclues.net/images/thumbnails/87033/160/160/130317763R21509440945.png"
    },
    "4": {
      "object_id": "130317763",
      "object_type": "product",
      "dim_id": "4",
      "images_image_id": "73574654",
      "type": "A",
      "image_path": "images/thumbnails/87033/160/160/130317763BLACKGREEN1509440939.png",
      "cdn_partial_path": "images/thumbnails/87033/160/160/130317763BLACKGREEN1509440939.png",
      "image_x": "160",
      "image_y": "160",
      "alt": "",
      "image_url": "http://cdn02.shopclues.net/images/thumbnails/87033/160/160/130317763BLACKGREEN1509440939.png",
      "icon_image_path": "http://cdn02.shopclues.net/images/thumbnails/87033/160/160/130317763BLACKGREEN1509440939.png"
    },
    "5": {
      "object_id": "130317763",
      "object_type": "product",
      "dim_id": "4",
      "images_image_id": "73574652",
      "type": "A",
      "image_path": "images/thumbnails/87033/160/160/130317763ORANGE1509440934.png",
      "cdn_partial_path": "images/thumbnails/87033/160/160/130317763ORANGE1509440934.png",
      "image_x": "160",
      "image_y": "160",
      "alt": "",
      "image_url": "http://cdn02.shopclues.net/images/thumbnails/87033/160/160/130317763ORANGE1509440934.png",
      "icon_image_path": "http://cdn02.shopclues.net/images/thumbnails/87033/160/160/130317763ORANGE1509440934.png"
    },
    "6": {
      "object_id": "130317763",
      "object_type": "product",
      "dim_id": "4",
      "images_image_id": "73574649",
      "type": "A",
      "image_path": "images/thumbnails/87033/160/160/130317763BLACKRED1509440929.png",
      "cdn_partial_path": "images/thumbnails/87033/160/160/130317763BLACKRED1509440929.png",
      "image_x": "160",
      "image_y": "160",
      "alt": "",
      "image_url": "http://cdn02.shopclues.net/images/thumbnails/87033/160/160/130317763BLACKRED1509440929.png",
      "icon_image_path": "http://cdn02.shopclues.net/images/thumbnails/87033/160/160/130317763BLACKRED1509440929.png"
    },
    "7": {
      "object_id": "130317763",
      "object_type": "product",
      "dim_id": "4",
      "images_image_id": "73574663",
      "type": "A",
      "image_path": "images/thumbnails/87033/160/160/130317763O11509440964.png",
      "cdn_partial_path": "images/thumbnails/87033/160/160/130317763O11509440964.png",
      "image_x": "160",
      "image_y": "160",
      "alt": "",
      "image_url": "http://cdn02.shopclues.net/images/thumbnails/87033/160/160/130317763O11509440964.png",
      "icon_image_path": "http://cdn02.shopclues.net/images/thumbnails/87033/160/160/130317763O11509440964.png"
    },
    "8": {
      "object_id": "130317763",
      "object_type": "product",
      "dim_id": "4",
      "images_image_id": "73540132",
      "type": "M",
      "image_path": "images/thumbnails/87033/160/160/130317763G11509440924.png",
      "cdn_partial_path": "images/thumbnails/87033/160/160/130317763G11509440924.png",
      "image_x": "160",
      "image_y": "160"
    }
  }
}
}
Click here for access token documentation.
<?php
$curl = curl_init();
  $token="<token>";
  curl_setopt_array($curl, array(
  CURLOPT_URL => "http://sandbox.shopclues.com/api/v2/product/getProductInfo?<product_id=<product_id>&platform=<platform>",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => '{
  "info_type": "advanced"
}',
        

  CURLOPT_HTTPHEADER => array(
    "authorization: Bearer .$token",
    "content-type: application/json",
  ),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}

?>

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.