Skip to main content
Version: 3.x

checkoutLinesUpdate

Updates checkout line in the existing checkout.

checkoutLinesUpdate(
checkoutId: ID
id: ID
lines: [CheckoutLineUpdateInput!]!
token: UUID
): CheckoutLinesUpdate

Arguments

checkoutId (ID)

The ID of the checkout.

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

id (ID)

The checkout's ID.

Added in Saleor 3.4.

lines ([CheckoutLineUpdateInput!]!)

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

token (UUID)

Checkout token.

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

Type

CheckoutLinesUpdate

Updates checkout line in the existing checkout.