checkoutLinesAdd Mutation
Adds a checkout line to the existing checkout.If line was already in checkout, its quantity will be increased.
Triggers the following webhook events:
- CHECKOUT_UPDATED (async): A checkout was updated.
checkoutLinesAdd(
checkoutId: ID
id: ID
lines: [CheckoutLineInput!]!
token: UUID
): CheckoutLinesAdd
Details
type CheckoutLinesAdd {
checkout: Checkout
checkoutErrors: [CheckoutError!]! @deprecated
errors: [CheckoutError!]!
}
Arguments
id ● ID
The checkout's ID.
lines ● [CheckoutLineInput!]!
A list of checkout lines, each containing information about an item in the checkout.
Show deprecatedHide deprecated
Type
CheckoutLinesAdd
Adds a checkout line to the existing checkout.If line was already in checkout, its quantity will be increased.
Triggers the following webhook events:
- CHECKOUT_UPDATED (async): A checkout was updated.