Skip to main content
Version: 3.x

OrderLineCreateInput

No description

input OrderLineCreateInput {
quantity: Int!
variantId: ID!
forceNewLine: Boolean
}

Fields

OrderLineCreateInput.quantity ● Int! non-null scalar

Number of variant items ordered.

OrderLineCreateInput.variantId ● ID! non-null scalar

Product variant ID.

OrderLineCreateInput.forceNewLine ● Boolean scalar

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

Added in Saleor 3.6.

Note: this API is currently in Feature Preview and can be subject to changes at later point.

Member of

DraftOrderCreateInput input ● orderLinesCreate mutation