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

Add Product API

This API is used to add a new product to the catalog

METHOD = POST

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

Field name Description Mandatory
product_code denotes of the product code to be added
by merchant.
NO
Merchant Reference number NO
status denotes product status Eg. A=>
(Active),D=>(Disabled),F=>(Feature Missing),X(Deleted).
No
list_price denotes MRP Of the product. Yes
price denotes selling price Of the products. No
quantity denotes quantity Of the products. No
shipping_freight denotes shipping price of the products. No
is_cod denotes COD feature whether it
applicable or not eg-
(Y=>Yes, N =>NO).
No
category denotes category of the products. Yes
hsn_code hsn code of product(GST). Yes
product_name denotes products name. Yes
description denotes Description of the products. Yes
features denotes features of the products. Yes
detailed_image_path denotes detailed image path eg : http://cdn.shopclues.com/images/detailed/
7333/mo_1410954160.jpg
Yes

Note: 1. In the feature element the key is the feature Id and value is a variant Id in that feature.

Note: 2.The quantity and SKU Id is defined on a variant. A variant is identified by the combination of option Ids eg. 612712_2176 denotes a variant is a combination of two options with option Ids 612712 and 2176 .


Details of response 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/product
  • Sandbox URL :
    http://sandbox.shopclues.com/api/v1/product

Sample JSON request

{ 
"Products": [ 
{ 
"product_code": 123, 
"merchant_reference_number": "SS1123", 
"status": "D", 
"list_price": 2345, 
"price": 2134, 
"Quantity": 2, 
"company_id":1, 
"shipping_freight": 0, 
"is_cod": "Y", 
"category": 355, 
"hsn_code":"10011090", 
"product_name": "Test Product Not For Sale084657830001", 
"description": "newest my name product hii", 
"features": 
{  
}, 
"detailed_image_path": "http://cdn.shopclues.com/images/detailed/45984/testproductimg13734394321468314520_1476865505.gif", 
"product_shipping_estimation": ""  
} 
], 
"company_id":1 
} 

'Sample JSON response

{ 
   "status": 1, 
   "code": 200, 
   "message": "Success", 
   "data": { 
       "product_id": 121532257, 
       "variants": [] 
   }, 
   "extra": "Successful" 
} 

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.