> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/checkout/llms.txt)
> Source: https://docs.saleor.io/api-reference/checkout/mutations/checkout-lines-delete

# checkoutLinesDelete Mutation

Deletes checkout lines.

Triggers the following webhook events:

-   CHECKOUT\_UPDATED (async): A checkout was updated.

```graphql
checkoutLinesDelete(
  id: ID
  linesIds: [ID!]!
  token: UUID
): CheckoutLinesDelete
```

Details

```graphql
type CheckoutLinesDelete {
  checkout: Checkout
  errors: [CheckoutError!]!
}
```

<a id="arguments"></a>

### Arguments

<a id="id"></a>

#### [`id`](#id) ● [`ID`](/api-reference/miscellaneous/scalars/id.md)

The checkout's ID.

<a id="lines-ids"></a>

#### [`linesIds`](#lines-ids) ● [`[ID!]!`](/api-reference/miscellaneous/scalars/id.md)

A list of checkout lines.

Show deprecatedHide deprecated

<a id="token"></a>

#### [`token`](#token) ● [`UUID`](/api-reference/miscellaneous/scalars/uuid.md)

DEPRECATED

Use `id` instead.

Checkout token.

<a id="type"></a>

### Type

<a id="checkoutlinesdelete"></a>

#### [`CheckoutLinesDelete`](/api-reference/checkout/objects/checkout-lines-delete.md)

Deletes checkout lines.

Triggers the following webhook events:

-   CHECKOUT\_UPDATED (async): A checkout was updated.
