Skip to main content
Version: 3.x

CheckoutLineProblemInsufficientStock

Indicates insufficient stock for a given checkout line.Placing the order will not be possible until solving this problem.

Added in Saleor 3.15
This API is currently in Feature Preview and can be subject to changes at later point.
type CheckoutLineProblemInsufficientStock {
availableQuantity: Int
line: CheckoutLine!
variant: ProductVariant!
}

Fields

CheckoutLineProblemInsufficientStock.availableQuantity ● Int scalar

Available quantity of a variant.

CheckoutLineProblemInsufficientStock.line ● CheckoutLine! non-null object

The line that has variant with insufficient stock.

CheckoutLineProblemInsufficientStock.variant ● ProductVariant! non-null object

The variant with insufficient stock.

Implemented by

CheckoutLineProblem union ● CheckoutProblem union


Was this page helpful?