CheckoutLineUpdateInput Input Type
No description
input CheckoutLineUpdateInput {
variantId: ID @deprecated
quantity: Int
price: PositiveDecimal
lineId: ID
metadata: [MetadataInput!]
}
Fields
CheckoutLineUpdateInput.variantId
● ID
deprecated scalar miscellaneous
DEPRECATED
Use lineId
instead.
ID of the product variant.
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.
CheckoutLineUpdateInput.lineId
● ID
scalar miscellaneous
ID of the line.
CheckoutLineUpdateInput.metadata
● [MetadataInput!]
list input miscellaneous
Checkout line public metadata. Will add and update keys. To delete keys use deleteMetadata mutation.
Added in Saleor 3.21. Can be read by any API client authorized to read the object it's attached to.
Warning: never store sensitive information, including financial data such as credit card details.
Member Of
checkoutLinesUpdate
mutation