Set inventory levels
loyverse_set_inventorySet absolute inventory counts for product variants at a store, replacing current stock with the specified quantity.
Instructions
Set stock to an absolute figure for one or more variants at a store. stock_after is the resulting stock level, not a delta: sending 5 leaves 5 in stock regardless of what was there before. Read the current level with loyverse_get_inventory first if you mean to add or remove a quantity.
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": {
"inventory_levels": "<inventory_levels>"
},
"name": "loyverse_set_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inventory_levels | Yes |