---
title: checkoutLinesDelete Mutation
seo:
  title: checkoutLinesDelete Mutation
  description: 'Mutation: checkoutLinesDelete Mutation'
slug: api-reference/checkout/mutations/checkout-lines-delete
sidebar:
  label: checkoutLinesDelete
search:
  tags:
    - API reference
    - Checkout
lastModified: '2026-04-13'
---

Deletes checkout lines.

Triggers the following webhook events:
- CHECKOUT_UPDATED (async): A checkout was updated.



**Applied directives**

```graphql
@webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: [])
```



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

## Returns

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

<details>
<summary>Show return type</summary>


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


</details>

## Arguments

### id [#id]

**`id`** · [`ID`](/api-reference/miscellaneous/scalars/id)

The checkout's ID.

### linesIds [#lines-ids]

**`linesIds`** · [`[ID!]!`](/api-reference/miscellaneous/scalars/id)

A list of checkout lines.

### token [#token]

**`token`** · [`UUID`](/api-reference/miscellaneous/scalars/uuid)

Checkout token.

:::warning[Deprecated]
Use `id` instead.
:::


---

Schema: **Saleor 3.23.43**. [Download SDL](/schema/saleor.graphql).
