Skip to main content

InventoryResponse

Inventory information response with associated warehouse details.

Contains inventory data linked to a specific warehouse location. Used for inventory management, stock tracking, and warehouse-specific inventory operations.

type InventoryResponse {
id: ID!
productId: Int!
quantity: Int!
costPrice: Float!
supplier: String!
supplierCode: String!
sku: String!
dateModified: DateTime @deprecated
warehouseId: Int!
companyId: Int
location: String!
nextDeliveryDate: DateTime
notes: String!
createdAt: DateTime!
lastModifiedAt: DateTime!
messages: [String!]! @deprecated
total: Int! @deprecated
warehouse: Warehouse
}

Fields

InventoryResponse.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.

InventoryResponse.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.

InventoryResponse.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.

InventoryResponse.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.

InventoryResponse.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.

InventoryResponse.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.

InventoryResponse.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.

InventoryResponse.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.

InventoryResponse.companyId ● Int scalar

Company identifier for inventory ownership.

References the company this inventory is reserved for, used for multi-tenant inventory management and reporting.

InventoryResponse.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.

InventoryResponse.nextDeliveryDate ● DateTime 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.

InventoryResponse.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.

InventoryResponse.createdAt ● DateTime! non-null scalar

InventoryResponse.lastModifiedAt ● DateTime! non-null scalar

InventoryResponse.warehouse ● Warehouse object

Complete warehouse information for the inventory location.

Detailed warehouse object including address, operational settings, and facility information where this inventory is stored.

Show deprecated

Returned By

inventory query ● inventoryCreate mutation ● inventoryUpdate mutation