Skip to main content

OrderCreateFromCheckoutError Object

No description

type OrderCreateFromCheckoutError {
field: String
message: String
code: OrderCreateFromCheckoutErrorCode!
variants: [ID!]
lines: [ID!]
promoCodeDetails: PromoCodeRejectionDetails
}

Fields​

field ● String​

Name of a field that caused the error. A value of null indicates that the error isn't associated with a particular field.

message ● String​

The error message.

code ● OrderCreateFromCheckoutErrorCode!​

The error code.

variants ● [ID!]​

List of variant IDs which causes the error.

lines ● [ID!]​

List of line Ids which cause the error.

promoCodeDetails ● PromoCodeRejectionDetails​

Details of the promo code that caused the error. Null when the error is not a promo code rejection.

Added in Saleor 3.23

Member Of​

OrderCreateFromCheckout object