Commerce

setInventory

Set Inventory

Set the on-hand inventory count on a product (turns inventory tracking on) or on one variant.

write

Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "set shilajit stock to 40", and it calls setInventory.

Example call

The MCP tools/call params, with the required arguments only.

{
  "arguments": {
    "appId": "<appId>",
    "quantity": 1
  },
  "name": "setInventory"
}

Arguments

Returns

The registry does not declare a return shape.

Declared limits

Ask for it

The Cloud routes these requests to this verb.

Pair it with

The verbs that finish the job.

Questions

Connect

One endpoint gives your AI this tool and every other one: connect Claude, ChatGPT, Cursor or Gemini, read what The Cloud is, or see pricing.