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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

OrderLineCreateInput Input Type

input OrderLineCreateInput {
  quantity: Int!
  variantId: ID!
  forceNewLine: Boolean = false
  price: PositiveDecimal
}

Fields

quantity

quantity · Int!

Number of variant items ordered.

variantId

variantId · ID!

Product variant ID.

forceNewLine

forceNewLine · Boolean

Flag that allow force splitting the same variant into multiple lines by skipping the matching logic.

Default: false.

price

price · PositiveDecimal

Custom price of the item.When the line with the same variant will be provided multiple times, the last price will be used.

Used by


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?