Set stock level
set_stock_levelSet an item's stocked quantity at a location or adjust it by +/- using inventory_item_id or SKU; if not stocked there, it is added.
Instructions
Sets the stocked quantity of an item at a location. Provide either an absolute 'stocked_quantity' or a relative 'adjust_by' (+/-). Identify the item by inventory_item_id or SKU. Without location_id the item's only location is used. If the item is not stocked at the given location yet, it is added there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | ||
| adjust_by | No | E.g. +10 when restocking, -2 when writing off | |
| location_id | No | ||
| stocked_quantity | No | ||
| inventory_item_id | No |