Skip to main content

OrderLineCreateInput Input Type

No description

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

Fields

quantity ● Int!

Number of variant items ordered.

variantId ● ID!

Product variant ID.

forceNewLine ● Boolean

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

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.

Member Of

DraftOrderCreateInput input ● orderLinesCreate mutation