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

Serviceability

This API will returns the product shipping information, i.e. the product id provided in the url is delivered on the given pincode or not. The delivery is described in either postpaid or prepaid as some pincode allow only prepaid orders.

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

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

  • JSON
  • PHP

Production Url:

 http://developer.shopclues.com/api/v2/app/serviceability/product?product_ids=130477618&pincode_no=743357
Sample Response:
{
  "status": "success",
  "code": 200,
  "message": null,
  "data": {
    "pin_result": 4,
    "pin_result_txt": "Only Prepaid",
    "fdate": "Tue 21 Feb",
    "sdate": "Wed 22 Feb"
  },
  "extra": null
}

Click here for access token documentation.

<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://developer.shopclues.com/api/v2/app/serviceability/product?product_ids=130477618&pincode_no=743357");
curl_setopt($ch,CURLOPT_HTTPHEADER,array('Content-Type: application/json',
  'Authorization: Bearer a242cf87319d9ab9f207efecf11e8dea14bd1d24'));
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.