Skip to main content

checkoutLinesDelete Mutation

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 miscellaneous

The checkout's ID.

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

A list of checkout lines.

checkoutLinesDelete.token ● UUID scalar miscellaneous

Checkout token.

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

Type

CheckoutLinesDelete object checkout

Deletes checkout lines.

Triggers the following webhook events:

  • CHECKOUT_UPDATED (async): A checkout was updated.