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
lineIdinstead.
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
Added in Saleor 3.1HANDLE_CHECKOUTSpermission. When the line with the same variant will be provided multiple times, the last price will be used.
CheckoutLineUpdateInput.lineId ● ID scalar miscellaneous
ID of the line.
Added in Saleor 3.6
Member Of
checkoutLinesUpdate mutation