OrderSettings
Represents the channel-specific order settings.
type OrderSettings {
automaticallyConfirmAllNewOrders: Boolean!
automaticallyFulfillNonShippableGiftCard: Boolean!
expireOrdersAfter: Minute
markAsPaidStrategy: MarkAsPaidStrategyEnum!
defaultTransactionFlowStrategy: TransactionFlowStrategyEnum!
deleteExpiredOrdersAfter: Day!
}
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.13This 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.
Added in Saleor 3.13PAYMENT_FLOW
- [default option] creates thePayment
object.TRANSACTION_FLOW
- creates theTransactionItem
object.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.13This API is currently in Feature Preview and can be subject to changes at later point.
OrderSettings.deleteExpiredOrdersAfter
● Day!
non-null scalar
The time in days after expired orders will be deleted.
Added in Saleor 3.14This 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