Skip to main content
Version: 3.x

OrderSettingsInput

No description

input OrderSettingsInput {
automaticallyConfirmAllNewOrders: Boolean
automaticallyFulfillNonShippableGiftCard: Boolean
expireOrdersAfter: Minute
deleteExpiredOrdersAfter: Day
markAsPaidStrategy: MarkAsPaidStrategyEnum
defaultTransactionFlowStrategy: TransactionFlowStrategyEnum
allowUnpaidOrders: Boolean
}

Fields

OrderSettingsInput.automaticallyConfirmAllNewOrders ● Boolean scalar

When disabled, all new orders from checkout will be marked as unconfirmed. When enabled orders from checkout will become unfulfilled immediately. By default set to True

OrderSettingsInput.automaticallyFulfillNonShippableGiftCard ● Boolean scalar

When enabled, all non-shippable gift card orders will be fulfilled automatically. By defualt set to True.

OrderSettingsInput.expireOrdersAfter ● Minute scalar

Expiration time in minutes. Default null - means do not expire any orders. Enter 0 or null to disable.

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

OrderSettingsInput.deleteExpiredOrdersAfter ● Day scalar

The time in days after expired orders will be deleted.Allowed range is from 1 to 120.

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

OrderSettingsInput.markAsPaidStrategy ● MarkAsPaidStrategyEnum 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.

OrderSettingsInput.defaultTransactionFlowStrategy ● TransactionFlowStrategyEnum 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.

DEPRECATED: this preview feature field will be removed in Saleor 3.17. Use PaymentSettingsInput.defaultTransactionFlowStrategy instead.

OrderSettingsInput.allowUnpaidOrders ● Boolean scalar

Determine if it is possible to place unpaid 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.

Member of

ChannelCreateInput input ● ChannelUpdateInput input


Was this page helpful?