Skip to main content

ProductWarehouseConfiguration

Per-warehouse configuration for a single product. One row per (product, warehouse) pair, storing the product's default bin location for that warehouse and its reorder thresholds. The default bin location is the bin proposed when stock for the product is put away in the warehouse.

type ProductWarehouseConfiguration implements Node {
id: ID!
productId: ID!
warehouseId: ID!
defaultBinLocationId: ID
reorderPoint: Int!
targetMaximumQuantity: Int
stockBelowReorderPoint: Int
product: Product
warehouse: Warehouse
defaultBinLocation: BinLocation
warehouseStock: WarehouseStock
}

Fields

ProductWarehouseConfiguration.id ● ID! non-null scalar

Global identifier for this entity.

ProductWarehouseConfiguration.productId ● ID! non-null scalar

ID of the product.

ProductWarehouseConfiguration.warehouseId ● ID! non-null scalar

ID of the warehouse.

ProductWarehouseConfiguration.defaultBinLocationId ● ID scalar

ID of the product's default bin location in this warehouse, or null when none is set.

ProductWarehouseConfiguration.reorderPoint ● Int! non-null scalar

Stock level at or below which the product is considered to need reordering in this warehouse.

ProductWarehouseConfiguration.targetMaximumQuantity ● Int scalar

Target maximum stock quantity used as the replenish-to level for this product in this warehouse.

ProductWarehouseConfiguration.stockBelowReorderPoint ● Int scalar

Derived amount by which the current warehouse stock falls below reorderPoint (kept up to date by the stock indexers). Non-positive when stock is at or above the reorder point.

ProductWarehouseConfiguration.product ● Product object

ProductWarehouseConfiguration.warehouse ● Warehouse object

ProductWarehouseConfiguration.defaultBinLocation ● BinLocation object

ProductWarehouseConfiguration.warehouseStock ● WarehouseStock object

Interfaces

Node interface

Any entity that can be loaded by its global id through the node(id: ID!) query.

Returned By

productWarehouseConfiguration query ● setProductDefaultBinLocation mutation ● setProductWarehouseReorderConfiguration mutation

Member Of

ProductWarehouseConfigurationEdge object ● WarehouseStock object