Skip to main content

Inventory

Inventory record representing stock levels and location details for products.

Contains comprehensive inventory information including stock quantities, supplier details and warehouse locations.

type Inventory {
id: ID!
productId: Int!
quantity: Int!
costPrice: Float!
supplier: String!
supplierCode: String!
sku: String!
dateModified: DateTime
warehouseId: Int!
location: String!
nextDeliveryDate: DateTime!
notes: String!
}

Fields

Inventory.id ● ID! non-null scalar

Unique identifier for the inventory record.

Primary key used to reference this specific inventory entry throughout the system and for inventory operations.

Inventory.productId ● Int! non-null scalar

Product identifier associated with this inventory.

References the specific product that this inventory record tracks, linking stock levels to product catalog entries.

Inventory.quantity ● Int! non-null scalar

Current stock quantity available.

The number of units currently in stock at this location. Used for availability calculations and stock level monitoring.

Inventory.costPrice ● Float! non-null scalar

Cost price per unit for this inventory batch.

The cost incurred to acquire each unit in this inventory batch, used for margin calculations and inventory valuation.

Inventory.supplier ● String! non-null scalar

Supplier name for this inventory batch.

The company or organization that supplied the products in this inventory record, used for supplier management and procurement tracking.

Inventory.supplierCode ● String! non-null scalar

Supplier's code for cross-referencing.

The supplier's own identifier used for ordering, communication, and inventory reconciliation with supplier systems.

Inventory.sku ● String! non-null scalar

Stock Keeping Unit for inventory tracking.

Unique product code used for inventory management and product identification across all warehouse operations.

Inventory.dateModified ● DateTime scalar

Last modification timestamp for the inventory record.

Date and time when this inventory record was last updated, used for change tracking and synchronization.

Inventory.warehouseId ● Int! non-null scalar

Warehouse identifier where the inventory is located.

References the specific warehouse or storage facility where this inventory is physically stored.

Inventory.location ● String! non-null scalar

Specific location within the warehouse.

Detailed location information such as aisle, shelf, or bin number for precise inventory placement and picking operations.

Inventory.nextDeliveryDate ● DateTime! non-null scalar

Estimated date for next inventory replenishment.

Expected delivery date for the next shipment of this product, used for stock planning and customer communication about availability.

Inventory.notes ● String! non-null scalar

Additional notes and comments about this inventory.

Free-form text for storing special handling instructions, quality notes, or other relevant information about this inventory batch.

Member Of

ProductInventory object