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

Arguments

checkoutLinesUpdate.checkoutId ● ID scalar miscellaneous

The ID of the checkout.

DEPRECATED: this field will be removed in Saleor 4.0. Use id instead.

checkoutLinesUpdate.id ● ID scalar miscellaneous

The checkout's ID.

checkoutLinesUpdate.lines ● [CheckoutLineUpdateInput!]! non-null input checkout

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

checkoutLinesUpdate.token ● UUID scalar miscellaneous

Checkout token.

DEPRECATED: this field will be removed in Saleor 4.0. Use id instead.

Type

CheckoutLinesUpdate object checkout

Updates checkout line in the existing checkout.

Triggers the following webhook events:

  • CHECKOUT_UPDATED (async): A checkout was updated.