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!
defaultBinLocationId: ID
productId: ID!
reorderPoint: Int!
stockBelowReorderPoint: Int
targetMaximumQuantity: Int
warehouseId: ID!
defaultBinLocation: BinLocation
product: Product
warehouse: Warehouse
warehouseStock: WarehouseStock
}

Fields​

ProductWarehouseConfiguration.id ● ID! non-null scalar​

Global identifier for this entity.

ProductWarehouseConfiguration.defaultBinLocationId ● ID scalar​

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

ProductWarehouseConfiguration.productId ● ID! non-null scalar​

ID of the product.

ProductWarehouseConfiguration.reorderPoint ● Int! non-null scalar​

Stock level at or below which the product is considered to need reordering 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.targetMaximumQuantity ● Int scalar​

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

ProductWarehouseConfiguration.warehouseId ● ID! non-null scalar​

ID of the warehouse.

ProductWarehouseConfiguration.defaultBinLocation ● BinLocation object​

ProductWarehouseConfiguration.product ● Product object​

ProductWarehouseConfiguration.warehouse ● Warehouse 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