Skip to main content
Version: 3.x

CheckoutSettings

Represents the channel-specific checkout settings.

Added in Saleor 3.15
This API is currently in Feature Preview and can be subject to changes at later point.
type CheckoutSettings {
useLegacyErrorFlow: Boolean!
}

Fields

CheckoutSettings.useLegacyErrorFlow ● Boolean! non-null scalar

Default true. Determines if the checkout mutations should use legacy error flow. In legacy flow, all mutations can raise an exception unrelated to the requested action - (e.g. out-of-stock exception when updating checkoutShippingAddress.) If false, the errors will be aggregated in checkout.problems field. Some of the problems can block the finalizing checkout process. The legacy flow will be removed in Saleor 4.0. The flow with checkout.problems will be the default one.

Added in Saleor 3.15.This field will be removed in Saleor 4.0

Member of

Channel object


Was this page helpful?