post
https://api.smoothpos.net/inventory/set.json
Sets stock on hand to an exact quantity.
The response comes back in the same shape as Adjust stock, with adjustment holding the difference applied. Rows that can't be applied are skipped without an error. Fires the inventory_adjust hook.
Required permission:
| Group | Permission |
|---|---|
| Inventory | Set, adjust and move stock (includes view) |
