Skip to main content

CheckoutLineUpdateInput

No description

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

Fields

CheckoutLineUpdateInput.variantId ● ID scalar miscellaneous

ID of the product variant.

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

CheckoutLineUpdateInput.quantity ● Int scalar miscellaneous

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

CheckoutLineUpdateInput.price ● PositiveDecimal scalar miscellaneous

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 miscellaneous

ID of the line.

Added in Saleor 3.6

Member Of

checkoutLinesUpdate mutation