Skip to main content

ProductInventory

Aggregated inventory information for a specific product across all locations.

Provides a consolidated view of product inventory including total quantities, supplier vs local stock, and detailed inventory breakdowns.

type ProductInventory {
productId: Int!
totalQuantity: Int!
supplierQuantity: Int!
localQuantity: Int!
nextDeliveryDate: DateTime
balance: [Inventory!]
}

Fields

ProductInventory.productId ● Int! non-null scalar

Product identifier for this inventory summary.

References the specific product that this inventory aggregation represents, linking to the product catalog.

ProductInventory.totalQuantity ● Int! non-null scalar

Total quantity available across all locations.

Sum of all inventory quantities for this product across all warehouses and locations.

ProductInventory.supplierQuantity ● Int! non-null scalar

Quantity available from external suppliers.

Stock quantity that can be sourced from suppliers, including drop-ship inventory and supplier-managed stock.

ProductInventory.localQuantity ● Int! non-null scalar

Quantity available in local warehouses.

Stock quantity physically held in company-owned warehouses and storage facilities, immediately available for fulfillment.

ProductInventory.nextDeliveryDate ● DateTime scalar

Earliest expected delivery date for replenishment.

The soonest date when additional inventory is expected to arrive, used for stock planning and customer communication about future availability.

ProductInventory.balance ● [Inventory!] list object

Detailed inventory records for this product.

Complete list of individual inventory entries showing stock levels, locations, suppliers, and costs for comprehensive inventory management.

Member Of

Product object