vtex_update_inventory
Update inventory quantity for a SKU in a VTEX warehouse to manage stock levels and prevent overselling.
Instructions
Update inventory quantity for a SKU in a warehouse
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": {
"skuId": "<skuId>",
"warehouseId": "<warehouseId>",
"quantity": "<quantity>"
},
"name": "vtex_update_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skuId | Yes | SKU ID | |
| warehouseId | Yes | Warehouse ID | |
| quantity | Yes | Quantity to set | |
| unlimitedQuantity | No | Set unlimited quantity |