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

Update Product Inventory

This API is used to update the details of a product (ex- Price change, Quantity change etc).
Access token is required to call this API.
Click here to know more about access token (OAUTH2).
Update Product Details API



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

Sr. No. Field Visibility level Type Description
1. product_id public int The identifier of the product.
2. committed_quantity public int Represents committed quantity of the product.
3. status public string/char The status of any product can be one of the following at any time:
A – Active
X – Deleted
D – Disabled
F – Feature Missing
H – Hidden
R – Request Approval
W - POS Active
Z - POS Disabled
4. selling_price public int Selling price off the product.
5. max_retail_price public int Maximum retail price of the product.
6. variant public Json object {int : int} This represents variants for size and/or color options in the product.

Details of response Parameters

Fields Description
status API status

1: implies API responded successfully
0: implies validation failed

message Text response message
data Detailed information of the order with all required parameters.
extra It shows total records as well as pagination link

Click Here to view the ShopClues SDK.

Production URL:

Sandbox URL:

Sample JSON request

  "product_id": "84410837",
  "committed_quantity": "99",
  "status": "X",
  "selling_price": "1234.00",
  "max_retail_price": "4321.00",
  "variant": {
    "1367515445": "20",
    "4667514598": "40"

Sample JSON response

  "status": 1,
  "code": 200,
  "message": "Product Inventory Updated Succesfully|",
  "data": {
    "0": {
      "product_id": "84410837",
      "committed_quantity": "99",
      "MRP": "4321.00",
      "selling_price": "1234.00",
      "merchant_reference_number": "SS1123",
      "status": "W",
      "is_cod": "Y",
      "product_name": "",
      "description": "",
      "product_shipping_estimation": "1"
    "detailed_image_path": null,
    "additional_images": [
  "extra": {
    "shipping_cost": "0.00"

Sample error response

  "status": 500,
  "code": 200,
  "message": "Unable to Update Product/Inventory",
  "data": null,
  "extra": [

NOTE- We can update inventory and hsn code only, when product is on promotion.

Sample error response

    "status": 1,
    "code": 200,
    "message": "Product Inventory Updated Succesfully|",
    "data": "This product is on promotion,only amount and hsn has updated",
    "extra": {
        "shipping_cost": "56.00"

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.