Skip to main content

CheckoutProblem

A problem that would prevent this checkout from completing.

type CheckoutProblem {
code: CheckoutProblemCode!
message: String!
lineId: ID
variantName: String
availableQuantity: Int
}

Fields

CheckoutProblem.code ● CheckoutProblemCode! non-null enum

Machine-addressable problem code.

CheckoutProblem.message ● String! non-null scalar

Human-readable explanation.

CheckoutProblem.lineId ● ID scalar

Global ID of the affected checkout line, for line-scoped problems.

CheckoutProblem.variantName ● String scalar

Display name of the affected variant, for line-scoped problems.

CheckoutProblem.availableQuantity ● Int scalar

Quantity currently available, for INSUFFICIENT_STOCK problems.

Member Of

Checkout object

Was this page helpful?