Inventory item
The InventoryItem family — 7 operations.
An inventory item is one variant’s stock position at one location — the on-hand, reserved, in-transit, damaged and held balances, what that leaves available to sell, and the average cost its movements have built up. Create it here to open the position before stock arrives (posting a receipt for a variant new to the location opens one as well; no other movement does), read its balances, and open its Stock Card for the movements behind them and its stock by bin for where the goods sit. Deactivating pauses it; retiring it needs every balance at zero.
Operations
| Operation | Kind | What it does |
|---|---|---|
| createInventoryItem | mutation | Create a new inventory item — one variant’s stock identity at your organization. |
| deactivateInventoryItem | mutation | Deactivate an inventory item — one variant’s stock identity — it stops being usable but keeps its history and can be reactivated. |
| doomInventoryItem | mutation | Permanently retire an inventory item — one variant’s stock identity. |
| inventoryItem | query | Look up one record — an inventory item — one variant’s stock identity. |
| inventoryItems | query | The inventory item list — each entry is an inventory item — one variant’s stock identity. |
| reactivateInventoryItem | mutation | Reactivate an inventory item — one variant’s stock identity — bring a deactivated record back into use. |
| updateInventoryItem | mutation | Edit an inventory item — one variant’s stock identity — change its details. |