Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

OrderSettings Object

Represents the channel-specific order settings.

type OrderSettings {
  automaticallyConfirmAllNewOrders: Boolean!
  automaticallyFulfillNonShippableGiftCard: Boolean!
  expireOrdersAfter: Minute
  markAsPaidStrategy: MarkAsPaidStrategyEnum!
  deleteExpiredOrdersAfter: Day!
  allowUnpaidOrders: Boolean!
  includeDraftOrderInVoucherUsage: Boolean!
  draftOrderLinePriceFreezePeriod: Hour
  useLegacyLineDiscountPropagation: Boolean!
}

Fields

automaticallyConfirmAllNewOrders

automaticallyConfirmAllNewOrders · Boolean!

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

automaticallyFulfillNonShippableGiftCard

automaticallyFulfillNonShippableGiftCard · Boolean!

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

expireOrdersAfter

expireOrdersAfter · Minute

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

markAsPaidStrategy

markAsPaidStrategy · MarkAsPaidStrategyEnum!

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.

deleteExpiredOrdersAfter

deleteExpiredOrdersAfter · Day!

The time in days after expired orders will be deleted.

allowUnpaidOrders

allowUnpaidOrders · Boolean!

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

includeDraftOrderInVoucherUsage

includeDraftOrderInVoucherUsage · Boolean!

Determine if voucher applied on draft order should be count toward voucher usage.

Added in Saleor 3.18

draftOrderLinePriceFreezePeriod

draftOrderLinePriceFreezePeriod · Hour

Time in hours after which the draft order line price will be refreshed.

Added in Saleor 3.21

useLegacyLineDiscountPropagation

useLegacyLineDiscountPropagation · Boolean!

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 OrderDiscount objects, attached to the order and returned in the Order.discounts field. Additionally, percentage-based vouchers are converted to fixed-value discounts.
  • When legacy propagation is disabled, discounts are represented as OrderLineDiscount objects, attached to individual lines and returned in the OrderLine.discounts field. In this case, percentage-based vouchers retain their original type. In future releases, OrderLineDiscount will become the default behavior, and this flag will be deprecated and removed.
Added in Saleor 3.21

Used by


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?