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 Feature List

Get feature by category id

This API provides the list of features (ex- Brand, Model Id etc) available for a product of any category

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

Fields description

Response have feature_id based key value pairs

Sr. No. Field Visibility Level Type Description
1. FeatureId public int ID for the feature uniquely identified throughout.
2. FeatureName public string Name of the feature.
3. FeatureType public char Expected values that a product expects to suit user interface.
4. IsFilterFeature public boolean If feature can be used to filter lists of product.
5. IsRequiredFeature public string If feature is mandatory for a product.

Feature type detail

Feature Type Description
S Dropdown list allows the user to select a single option out of a large number of items.
M Checkbox if user want's to select from one or more options.
N Selectbox with numeric values only.
E Extended Select Box which is a dropdown with a list of options that drops down when you click on the arrow button and user can also insert a new option.
T Textbox.
O Number field.
D Date field.
Z Text Area for line of text.
C Single checkbox.

Get feature by feature id

To list the different variants available for a particular feature (ex- for "Color Family" feature, the variants may be: Black, Blue, Bronze, Copper etc)

Details of Return Parameters

Fields Description
status API status

1: implies API responded successfully
0: implies validation failed

code
message Text response message
data Detailed information of the order with all required parameters.
extra It shows total records as well as pagination link
Total:
First:
Last:
Previous:
Next:

Production url:
http://developer.shopclues.com/api/v1/feature?category_id=1371
Sandbox url:
http://sandbox.shopclues.com/api/v1/feature?category_id=1371

Sample JSON response

{
  "status": 1,
  "code": 200,
  "message": "success",
  "data": {
    "53": {
      "FeatureId": "53",
      "FeatureName": "Brand",
      "FeatureType": "S",
      "IsFilterFeature": "",
      "IsRequiredFeature": ""
    },
    "2557": {
      "FeatureId": "2557",
      "FeatureName": "Model ID",
      "FeatureType": "T",
      "IsFilterFeature": "N",
      "IsRequiredFeature": "N"
    },
    "2558": {
      "FeatureId": "2558",
      "FeatureName": "Part Number",
      "FeatureType": "T",
      "IsFilterFeature": "N",
      "IsRequiredFeature": "N"
    },
    "5554": {
      "FeatureId": "5554",
      "FeatureName": "Fabric",
      "FeatureType": "M",
      "IsFilterFeature": "Y",
      "IsRequiredFeature": "Y"
    },
    "5556": {
      "FeatureId": "5556",
      "FeatureName": "Color Family",
      "FeatureType": "M",
      "IsFilterFeature": "Y",
      "IsRequiredFeature": "Y"
    },
    "5562": {
      "FeatureId": "5562",
      "FeatureName": "Wire Support",
      "FeatureType": "S",
      "IsFilterFeature": "Y",
      "IsRequiredFeature": "N"
    },
    "5564": {
      "FeatureId": "5564",
      "FeatureName": "Straps",
      "FeatureType": "S",
      "IsFilterFeature": "Y",
      "IsRequiredFeature": "N"
    },
    "5566": {
      "FeatureId": "5566",
      "FeatureName": "Padding",
      "FeatureType": "S",
      "IsFilterFeature": "Y",
      "IsRequiredFeature": "N"
    },
    "7161": {
      "FeatureId": "7161",
      "FeatureName": "Lifestyle",
      "FeatureType": "S",
      "IsFilterFeature": "N",
      "IsRequiredFeature": "N"
    },
    "7162": {
      "FeatureId": "7162",
      "FeatureName": "Model Name",
      "FeatureType": "S",
      "IsFilterFeature": "N",
      "IsRequiredFeature": "N"
    },
    "7163": {
      "FeatureId": "7163",
      "FeatureName": "Series",
      "FeatureType": "S",
      "IsFilterFeature": "N",
      "IsRequiredFeature": "N"
    },
    "7692": {
      "FeatureId": "7692",
      "FeatureName": "Style",
      "FeatureType": "S",
      "IsFilterFeature": "Y",
      "IsRequiredFeature": "Y"
    },
    "7809": {
      "FeatureId": "7809",
      "FeatureName": "Ideal For",
      "FeatureType": "S",
      "IsFilterFeature": "Y",
      "IsRequiredFeature": "N"
    },
    "8094": {
      "FeatureId": "8094",
      "FeatureName": "Prints & Patterns",
      "FeatureType": "S",
      "IsFilterFeature": "Y",
      "IsRequiredFeature": "Y"
    },
    "8194": {
      "FeatureId": "8194",
      "FeatureName": "Wash Care",
      "FeatureType": "S",
      "IsFilterFeature": "Y",
      "IsRequiredFeature": "N"
    }
  },
  "extra": [
    
  ]
}

Sample JSON error response

{
  "status": 1,
  "code": 200,
  "message": "success",
  "data": {
    "ResponseMessage": "_service_error_incorrect_feature_id",
    "ResponseCode": 1
  },
  "extra": []
}


Production url:
http://developer.shopclues.com/api/v1/feature/{feature_id}
Sandbox url:
http://sandbox.shopclues.com/api/v1/feature/{feature_id}


Sample JSON response

{
  "status": 1,
  "code": 200,
  "message": "success",
  "data": [
    {
      "VariantId": "339298",
      "VariantName": "Beige",
      "Description": ""
    },
    {
      "VariantId": "339308",
      "VariantName": "Black",
      "Description": ""
    },
    {
      "VariantId": "339306",
      "VariantName": "Blue",
      "Description": ""
    },
    {
      "VariantId": "975539",
      "VariantName": "Bronze",
      "Description": ""
    },
    {
      "VariantId": "339310",
      "VariantName": "Brown",
      "Description": ""
    },
    {
      "VariantId": "975540",
      "VariantName": "Copper",
      "Description": ""
    },
    {
      "VariantId": "975541",
      "VariantName": "Cream",
      "Description": ""
    },
    {
      "VariantId": "872687",
      "VariantName": "Dark Green",
      "Description": ""
    },
    {
      "VariantId": "339302",
      "VariantName": "Gold",
      "Description": ""
    },
    {
      "VariantId": "339304",
      "VariantName": "Green",
      "Description": ""
    },
    {
      "VariantId": "906859",
      "VariantName": "Grey",
      "Description": ""
    },
    {
      "VariantId": "339322",
      "VariantName": "Khaki",
      "Description": ""
    },
    {
      "VariantId": "339312",
      "VariantName": "Light Blue",
      "Description": ""
    },
    {
      "VariantId": "339318",
      "VariantName": "Light Green",
      "Description": ""
    },
    {
      "VariantId": "339324",
      "VariantName": "Maroon",
      "Description": ""
    },
    {
      "VariantId": "928921",
      "VariantName": "Multi",
      "Description": ""
    },
    {
      "VariantId": "339320",
      "VariantName": "Orange",
      "Description": ""
    },
    {
      "VariantId": "339316",
      "VariantName": "Peach",
      "Description": ""
    },
    {
      "VariantId": "906858",
      "VariantName": "Pink",
      "Description": ""
    },
    {
      "VariantId": "339296",
      "VariantName": "Purple",
      "Description": ""
    },
    {
      "VariantId": "339314",
      "VariantName": "Red",
      "Description": ""
    },
    {
      "VariantId": "928916",
      "VariantName": "Silver",
      "Description": ""
    },
    {
      "VariantId": "975538",
      "VariantName": "Skin",
      "Description": ""
    },
    {
      "VariantId": "928917",
      "VariantName": "Tan",
      "Description": ""
    },
    {
      "VariantId": "928918",
      "VariantName": "Turquoise",
      "Description": ""
    },
    {
      "VariantId": "928919",
      "VariantName": "White",
      "Description": ""
    },
    {
      "VariantId": "929618",
      "VariantName": "Wine",
      "Description": ""
    },
    {
      "VariantId": "928920",
      "VariantName": "Yellow",
      "Description": ""
    }
  ],
  "extra": [
    
  ]
}


Sample Error response

{
  "status": 1,
  "code": 200,
  "message": "success",
  "data": {
    "ResponseMessage": "_service_error_no_data",
    "ResponseCode": 1
  },
  "extra": []
}

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.