AlmondTill/G3N API

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

OperationKindWhat it does
createInventoryItemmutationCreate a new inventory item — one variant’s stock identity at your organization.
deactivateInventoryItemmutationDeactivate an inventory item — one variant’s stock identity — it stops being usable but keeps its history and can be reactivated.
doomInventoryItemmutationPermanently retire an inventory item — one variant’s stock identity.
inventoryItemqueryLook up one record — an inventory item — one variant’s stock identity.
inventoryItemsqueryThe inventory item list — each entry is an inventory item — one variant’s stock identity.
reactivateInventoryItemmutationReactivate an inventory item — one variant’s stock identity — bring a deactivated record back into use.
updateInventoryItemmutationEdit an inventory item — one variant’s stock identity — change its details.