CheckoutLineProblemInsufficientStock
Indicates insufficient stock for a given checkout line.Placing the order will not be possible until solving this problem.
Added in Saleor 3.15This 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 miscellaneous
Available quantity of a variant.
CheckoutLineProblemInsufficientStock.line
● CheckoutLine!
non-null object checkout
The line that has variant with insufficient stock.
CheckoutLineProblemInsufficientStock.variant
● ProductVariant!
non-null object products
The variant with insufficient stock.
Implemented By
CheckoutLineProblem
union ● CheckoutProblem
union