Upsert variant inventory
rms_upsert_variant_inventoryUpdate inventory quantity for a specific product variant by setting an absolute value or adjusting relative to current stock. Specify manage number, variant ID, and quantity.
Instructions
バリアント在庫更新(単体)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"manage_number": "<manage_number>",
"variant_id": "<variant_id>",
"quantity": "<quantity>"
},
"name": "rms_upsert_variant_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| quantity | Yes | ||
| variant_id | Yes | ||
| manage_number | Yes |