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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inventory_levels | Yes |