OrderSettings
Represents the channel-specific order settings.
type OrderSettings {
automaticallyConfirmAllNewOrders: Boolean!
automaticallyFulfillNonShippableGiftCard: Boolean!
expireOrdersAfter: Minute
markAsPaidStrategy: MarkAsPaidStrategyEnum!
deleteExpiredOrdersAfter: Day!
allowUnpaidOrders: Boolean!
includeDraftOrderInVoucherUsage: Boolean!
}
Fields
OrderSettings.automaticallyConfirmAllNewOrders
● Boolean!
non-null scalar miscellaneous
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 miscellaneous
When enabled, all non-shippable gift card orders will be fulfilled automatically.
OrderSettings.expireOrdersAfter
● Minute
scalar miscellaneous
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 channels
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.deleteExpiredOrdersAfter
● Day!
non-null scalar miscellaneous
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.
OrderSettings.allowUnpaidOrders
● Boolean!
non-null scalar miscellaneous
Determine if it is possible to place unpaid order by calling
Added in Saleor 3.15checkoutComplete
mutation.This API is currently in Feature Preview and can be subject to changes at later point.
OrderSettings.includeDraftOrderInVoucherUsage
● Boolean!
non-null scalar miscellaneous
Determine if voucher applied on draft order should be count toward voucher usage.
Added in Saleor 3.18This 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