Inventory
The stock of one product variant in one warehouse.
type Inventory {
availableQuantity: Float!
averageCost: Float!
batchNumber: String
createdAt: DateTime!
effectiveReorderPoint: Float
expiryDate: DateTime
id: ID!
incomingQuantity: Float!
lastCountedAt: DateTime
lastCountedQty: Float
lastMovement: StockMovement
leadTimeDays: Float!
maximumQuantity: Float
minimumQuantity: Float!
product: Product!
quantity: Float!
reorderPoint: Float!
reorderQuantity: Float!
reservedQuantity: Float!
serialNumber: String
stockLevel: String
totalValue: Float!
uom: UnitOfMeasure!
updatedAt: DateTime!
valuation: InventoryValuation
variant: ProductVariant
warehouse: Warehouse!
}
Fields
Inventory.availableQuantity ● Float! non-null scalar
The quantity free to allocate.
Inventory.averageCost ● Float! non-null scalar
The average cost of one unit.
Inventory.batchNumber ● String scalar
The batch number of the stock.
Inventory.createdAt ● DateTime! non-null scalar
When the record was created.
Inventory.effectiveReorderPoint ● Float scalar
The low stock threshold in force for the row: its own reorder point or minimum, else the organization's setting. 0 means none is set, so the row is never low.
Inventory.expiryDate ● DateTime scalar
The date the stock expires.
Inventory.id ● ID! non-null scalar
The unique ID of this record.
Inventory.incomingQuantity ● Float! non-null scalar
The quantity on order and not yet received.
Inventory.lastCountedAt ● DateTime scalar
When the stock was last counted.
Inventory.lastCountedQty ● Float scalar
The quantity found at the last count.
Inventory.lastMovement ● StockMovement object
The most recent stock movement on the row.
Inventory.leadTimeDays ● Float! non-null scalar
The days it takes to replenish the stock.
Inventory.maximumQuantity ● Float scalar
The highest quantity the row should hold.
Inventory.minimumQuantity ● Float! non-null scalar
The lowest quantity the row should hold.
Inventory.product ● Product! non-null object
The product.
Inventory.quantity ● Float! non-null scalar
The quantity on hand, reservations included.
Inventory.reorderPoint ● Float! non-null scalar
The quantity at which the row counts as low stock.
Inventory.reorderQuantity ● Float! non-null scalar
How much to buy when the reorder point is reached. Advisory, nothing orders by itself.
Inventory.reservedQuantity ● Float! non-null scalar
The quantity held by confirmed orders.
Inventory.serialNumber ● String scalar
The serial number of the stock.
Inventory.stockLevel ● String scalar
The stock status worked out on the server: OUT_OF_STOCK, LOW_STOCK, OVERSTOCK or IN_STOCK.
Inventory.totalValue ● Float! non-null scalar
The value of the stock.
Inventory.uom ● UnitOfMeasure! non-null object
The unit of measure the stock is kept in.
Inventory.updatedAt ● DateTime! non-null scalar
When the record was last changed.
Inventory.valuation ● InventoryValuation object
What the stock is worth.
Inventory.variant ● ProductVariant object
The product variant.
Inventory.warehouse ● Warehouse! non-null object
The warehouse holding the stock.
Returned By
inventory query ● updateInventoryThresholds mutation
Member Of
PaginatedInventories object