Skip to main content

checkoutLinesUpdate Mutation

Updates checkout line in the existing checkout.

Triggers the following webhook events:

  • CHECKOUT_UPDATED (async): A checkout was updated.
checkoutLinesUpdate(
checkoutId: ID
id: ID
lines: [CheckoutLineUpdateInput!]!
token: UUID
): CheckoutLinesUpdate
Details
type CheckoutLinesUpdate {
checkout: Checkout
checkoutErrors: [CheckoutError!]! @deprecated
errors: [CheckoutError!]!
}

Arguments

id ● ID

The checkout's ID.

lines ● [CheckoutLineUpdateInput!]!

A list of checkout lines, each containing information about an item in the checkout.

Show deprecatedHide deprecated

checkoutId ● ID

DEPRECATED

Use id instead.

The ID of the checkout.

token ● UUID

DEPRECATED

Use id instead.

Checkout token.

Type

CheckoutLinesUpdate

Updates checkout line in the existing checkout.

Triggers the following webhook events:

  • CHECKOUT_UPDATED (async): A checkout was updated.