CheckoutLineInput
No description
input CheckoutLineInput {
quantity: Int!
variantId: ID!
price: PositiveDecimal
forceNewLine: Boolean
metadata: [MetadataInput!]
}
Fields
CheckoutLineInput.quantity
● Int!
non-null scalar miscellaneous
The number of items purchased.
CheckoutLineInput.variantId
● ID!
non-null scalar miscellaneous
ID of the product variant.
CheckoutLineInput.price
● PositiveDecimal
scalar miscellaneous
Custom price of the item. Can be set only by apps with
Added in Saleor 3.1HANDLE_CHECKOUTS
permission. When the line with the same variant will be provided multiple times, the last price will be used.
CheckoutLineInput.forceNewLine
● Boolean
scalar miscellaneous
Flag that allow force splitting the same variant into multiple lines by skipping the matching logic.
Added in Saleor 3.6
CheckoutLineInput.metadata
● [MetadataInput!]
list input miscellaneous
Fields required to update the object's metadata.
Added in Saleor 3.8
Member Of
CheckoutCreateInput
input ● checkoutLinesAdd
mutation