OrderLineCreateInput Input Type
No description
input OrderLineCreateInput {
quantity: Int!
variantId: ID!
forceNewLine: Boolean
price: PositiveDecimal
}
Fields
OrderLineCreateInput.quantity
● Int!
non-null scalar miscellaneous
Number of variant items ordered.
OrderLineCreateInput.variantId
● ID!
non-null scalar miscellaneous
Product variant ID.
OrderLineCreateInput.forceNewLine
● Boolean
scalar miscellaneous
Flag that allow force splitting the same variant into multiple lines by skipping the matching logic.
OrderLineCreateInput.price
● PositiveDecimal
scalar miscellaneous
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