Skip to main content

DemandStockException

A product with recorded demand and current low-stock or oversold inventory.

type DemandStockException {
availableQuantity: QuantityValue!
inventoryId: ID!
name: String
productId: ID!
recordedQuantity: Int!
recordedQuantityTotal: UnitTotal!
recordedUnit: UnitOfMeasure!
restockThreshold: QuantityValue!
sku: String!
stockDepth: DepthEnum!
}

Fields​

DemandStockException.availableQuantity ● QuantityValue! non-null object inventory​

Current available inventory in the product unit of measure.

DemandStockException.inventoryId ● ID! non-null scalar common​

The current company inventory record.

DemandStockException.name ● String scalar common​

The product name.

DemandStockException.productId ● ID! non-null scalar common​

The matched active product.

DemandStockException.recordedQuantity ● Int! non-null scalar common​

Recorded demand in recordedUnit, rounded half up to a whole number; not a forecast or an inventory quantity.

DemandStockException.recordedQuantityTotal ● UnitTotal! non-null object inventory​

Exact recorded demand in recordedUnit; not a forecast or an inventory quantity.

DemandStockException.recordedUnit ● UnitOfMeasure! non-null object products​

Unit shared by the demand quantities used to rank these products.

DemandStockException.restockThreshold ● QuantityValue! non-null object inventory​

Configured restock threshold in the product unit of measure.

DemandStockException.sku ● String! non-null scalar common​

The exact SKU shared by demand and product.

DemandStockException.stockDepth ● DepthEnum! non-null enum inventory​

Current inventory classification: LOW_STOCK or OVERSOLD.

Member Of​

DemandStockExceptions object