Set stock level
set_stock_levelSet or adjust an inventory item's stock level at a location by providing an absolute quantity or a +/- adjustment, identified by SKU or inventory_item_id.
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.
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 |