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

This API provides the complete list of all the available categories at Shopclues.com

METHOD = GET

Headers

Field name Description Mandatory
Header - “Authorization” Token with token type to identify user. ”Bearer bc1f461de" Yes
Header - “Content-Type” Input Content Type will be “application/json" Yes

Fields description

Sr. No. Field Visibility Level Type Description
1. category_id public int Unique id assigned to every category.
2. category public string Name of the category.
3. is_leaf_category public char 'Y' If it's a leaf category.
4. has_options public char 'Y' If there are product variants available in that leaf category.

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/category
Sandbox url:
http://sandbox.shopclues.com/api/v1/category

Sample JSON response

{
  "status": 1,
  "code": 200,
  "message": "success",
  "data": [
    {
      "category_id": "8689",
      "category": "Brand Store",
      "is_leaf_category": "Y",
      "has_options": "N"
    }
  ],
  "extra": {
    "count": 1,
    "category_title": "Laptops"
  }
}

Sample ERROR response

{
  "status": 0,
  "code": 200,
  "message": "OK",
  "data": {
    "message": "Either leaf category id or Invalid category id"
  },
  "extra": {
    "count": 0
  }
}

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.