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
Details
type CheckoutLinesDelete {
checkout: Checkout
errors: [CheckoutError!]!
}

Arguments​

id ● ID​

The checkout's ID.

linesIds ● [ID!]!​

A list of checkout lines.

Show deprecatedHide deprecated

token ● UUID​

DEPRECATED

Use id instead.

Checkout token.

Type​

CheckoutLinesDelete​

Deletes checkout lines.

Triggers the following webhook events:

  • CHECKOUT_UPDATED (async): A checkout was updated.