Skip to main content
Version: Canary 🚧

checkoutLinesDelete

Deletes checkout lines.

Triggers the following webhook events:

  • CHECKOUT_UPDATED (async): A checkout was updated.
checkoutLinesDelete(
id: ID
linesIds: [ID!]!
token: UUID
): CheckoutLinesDelete

Arguments

checkoutLinesDelete.id ● ID scalar

The checkout's ID.

Added in Saleor 3.4

checkoutLinesDelete.linesIds ● [ID!]! non-null scalar

A list of checkout lines.

checkoutLinesDelete.token ● UUID scalar

Checkout token.

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

Type

CheckoutLinesDelete object

Deletes checkout lines.

Triggers the following webhook events:

  • CHECKOUT_UPDATED (async): A checkout was updated.

Was this page helpful?