CheckoutLineInput Input Type
No description
input CheckoutLineInput {
quantity: Int!
variantId: ID!
price: PositiveDecimal
forceNewLine: Boolean
metadata: [MetadataInput!]
}
Fields
CheckoutLineInput.quantity
● Int!
non-null scalar miscellaneous
The number of items purchased.
CheckoutLineInput.variantId
● ID!
non-null scalar miscellaneous
ID of the product variant.
CheckoutLineInput.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.
CheckoutLineInput.forceNewLine
● Boolean
scalar miscellaneous
Flag that allow force splitting the same variant into multiple lines by skipping the matching logic.
CheckoutLineInput.metadata
● [MetadataInput!]
list input miscellaneous
Fields required to update the object's metadata.
Member Of
CheckoutCreateInput
input ● checkoutLinesAdd
mutation