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 Returns Property

This Api provide all the return reason and their descriptions.

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

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

  • JSON
  • PHP


Production Url:
 http://developer.shopclues.com/api/v1/returnproperty/R

Sample response:

{
  "status": 1,
  "code": 200,
  "message": "success",
  "data": [
    {
      "property_id": "24",
      "position": "2",
      "status": "A",
      "type": "R",
      "update_totals_and_inventory": "N",
      "picture_required": "Y",
      "approval_required": "Y",
      "sc_approval_required": "Y",
      "merchant_approval_required": "",
      "customer_message": "",
      "image_capturing_rules": "[\"2\"]",
      "lang_code": "EN",
      "property": "Parts are missing",
      "description": "Some parts of the product are missing.",
      "bucket_id": null,
      "bucket_name": null
    }

For specific property ids:

Production Url:
 http://developer.shopclues.com/api/v1/returnproperty/R?id=22,6

Sample response:

{
  "status": 1,
  "code": 200,
  "message": "success",
  "data": [
    {
      "property_id": "22",
      "position": "22",
      "status": "A",
      "type": "R",
      "update_totals_and_inventory": "N",
      "picture_required": "Y",
      "approval_required": "Y",
      "sc_approval_required": "Y",
      "merchant_approval_required": "",
      "customer_message": "",
      "image_capturing_rules": "[\"3\"]",
      "lang_code": "EN",
      "property": "Authenticity",
      "description": "The product is not authentic.",
      "bucket_id": null,
      "bucket_name": null
    }
}

Failed response:

{
  "status": 0,
  "code": 200,
  "message": "OK",
  "data": {
    "message": "No Records Found"
  },
  "extra": {
    "total_records": 0
  }
}

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, " http://developer.shopclues.com/api/v1/returnproperty/R");
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.