OrderSettingsInput Input Type
No description
input OrderSettingsInput {
  automaticallyConfirmAllNewOrders: Boolean
  automaticallyFulfillNonShippableGiftCard: Boolean
  expireOrdersAfter: Minute
  deleteExpiredOrdersAfter: Day
  markAsPaidStrategy: MarkAsPaidStrategyEnum
  allowUnpaidOrders: Boolean
  includeDraftOrderInVoucherUsage: Boolean
  draftOrderLinePriceFreezePeriod: Hour
  useLegacyLineDiscountPropagation: Boolean
}
Fields
OrderSettingsInput.automaticallyConfirmAllNewOrders ● Boolean scalar miscellaneous
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 miscellaneous
When enabled, all non-shippable gift card orders will be fulfilled automatically. By default set to True.
OrderSettingsInput.expireOrdersAfter ● Minute scalar miscellaneous
Expiration time in minutes. Default null - means do not expire any orders. Enter 0 or null to disable.
OrderSettingsInput.deleteExpiredOrdersAfter ● Day scalar miscellaneous
The time in days after expired orders will be deleted.Allowed range is from 1 to 120.
OrderSettingsInput.markAsPaidStrategy ● MarkAsPaidStrategyEnum 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.
PAYMENT_FLOW - [default option] creates the Payment object.
TRANSACTION_FLOW - creates the TransactionItem object.
OrderSettingsInput.allowUnpaidOrders ● Boolean scalar miscellaneous
Determine if it is possible to place unpaid order by calling checkoutComplete mutation.
OrderSettingsInput.includeDraftOrderInVoucherUsage ● Boolean scalar miscellaneous
Specify whether a coupon applied to draft orders will count toward voucher usage.
Warning: when switching this setting from false to true, the vouchers will be disconnected from all draft orders.
OrderSettingsInput.draftOrderLinePriceFreezePeriod ● Hour scalar miscellaneous
Time in hours after which the draft order line price will be refreshed. Default value is 24 hours. Enter 0 or null to disable.
Added in Saleor 3.21OrderSettingsInput.useLegacyLineDiscountPropagation ● Boolean scalar miscellaneous
This flag only affects orders created from checkout and applies specifically to vouchers of the types: SPECIFIC_PRODUCT and ENTIRE_ORDER with applyOncePerOrder enabled.
- When legacy propagation is enabled, discounts from these vouchers are represented as OrderDiscountobjects, attached to the order and returned in theOrder.discountsfield. Additionally, percentage-based vouchers are converted to fixed-value discounts.
- When legacy propagation is disabled, discounts are represented as OrderLineDiscountobjects, attached to individual lines and returned in theOrderLine.discountsfield. In this case, percentage-based vouchers retain their original type. In future releases,OrderLineDiscountwill become the default behavior, and this flag will be deprecated and removed.
Member Of
ChannelCreateInput input ● ChannelUpdateInput input