Skip to main content
Version: 3.x

OrderSettings

Represents the channel-specific order settings.

type OrderSettings {
automaticallyConfirmAllNewOrders: Boolean!
automaticallyFulfillNonShippableGiftCard: Boolean!
expireOrdersAfter: Minute
markAsPaidStrategy: MarkAsPaidStrategyEnum!
defaultTransactionFlowStrategy: TransactionFlowStrategyEnum!
deleteExpiredOrdersAfter: Day!
allowUnpaidOrders: Boolean!
}

Fields

OrderSettings.automaticallyConfirmAllNewOrders ● Boolean! non-null scalar

When disabled, all new orders from checkout will be marked as unconfirmed. When enabled orders from checkout will become unfulfilled immediately.

OrderSettings.automaticallyFulfillNonShippableGiftCard ● Boolean! non-null scalar

When enabled, all non-shippable gift card orders will be fulfilled automatically.

OrderSettings.expireOrdersAfter ● Minute scalar

Expiration time in minutes. Default null - means do not expire any orders.

Added in Saleor 3.13
This API is currently in Feature Preview and can be subject to changes at later point.

OrderSettings.markAsPaidStrategy ● MarkAsPaidStrategyEnum! non-null enum

Determine what strategy will be used to mark the order as paid. Based on the chosen option, the proper object will be created and attached to the order when it's manually marked as paid. PAYMENT_FLOW - [default option] creates the Payment object. TRANSACTION_FLOW - creates the TransactionItem object.

Added in Saleor 3.13
This API is currently in Feature Preview and can be subject to changes at later point.

OrderSettings.defaultTransactionFlowStrategy ● TransactionFlowStrategyEnum! non-null enum

Determine the transaction flow strategy to be used. Include the selected option in the payload sent to the payment app, as a requested action for the transaction.

Added in Saleor 3.13
This API is currently in Feature Preview and can be subject to changes at later point.

This preview feature field will be removed in Saleor 3.17. Use PaymentSettings.defaultTransactionFlowStrategy instead.

OrderSettings.deleteExpiredOrdersAfter ● Day! non-null scalar

The time in days after expired orders will be deleted.

Added in Saleor 3.14
This API is currently in Feature Preview and can be subject to changes at later point.

OrderSettings.allowUnpaidOrders ● Boolean! non-null scalar

Determine if it is possible to place unpdaid order by calling checkoutComplete mutation.

Added in Saleor 3.15
This API is currently in Feature Preview and can be subject to changes at later point.

Returned by

orderSettings query

Member of

Channel object ● OrderSettingsUpdate object


Was this page helpful?