Skip to main content
Version: 3.x

CheckoutLineUpdateInput

No description

input CheckoutLineUpdateInput {
variantId: ID
quantity: Int
price: PositiveDecimal
lineId: ID
}

Fields

CheckoutLineUpdateInput.variantId ● ID scalar

ID of the product variant.

DEPRECATED: this field will be removed in Saleor 4.0. Use lineId instead.

CheckoutLineUpdateInput.quantity ● Int scalar

The number of items purchased. Optional for apps, required for any other users.

CheckoutLineUpdateInput.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

CheckoutLineUpdateInput.lineId ● ID scalar

ID of the line.

Added in Saleor 3.6

Member of

checkoutLinesUpdate mutation


Was this page helpful?