Skip to main content
Version: 3.x


No description

input CheckoutLineInput {
quantity: Int!
variantId: ID!
price: PositiveDecimal
forceNewLine: Boolean
metadata: [MetadataInput!]


CheckoutLineInput.quantity ● Int! non-null scalar

The number of items purchased.

CheckoutLineInput.variantId ● ID! non-null scalar

ID of the product variant.

CheckoutLineInput.price ● PositiveDecimal scalar

Custom price of the item. Can be set only by apps with HANDLE_CHECKOUTS permission. When the line with the same variant will be provided multiple times, the last price will be used.

Added in Saleor 3.1

CheckoutLineInput.forceNewLine ● Boolean scalar

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

Fields required to update the object's metadata.

Added in Saleor 3.8

Member of

CheckoutCreateInput input ● checkoutLinesAdd mutation

Was this page helpful?