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

# checkoutLineDelete Mutation

DEPRECATED

Use `checkoutLinesDelete` instead.

Deletes a CheckoutLine.

Triggers the following webhook events:

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

```graphql
checkoutLineDelete(
  checkoutId: ID
  id: ID
  lineId: ID
  token: UUID
): CheckoutLineDelete @deprecated
```

Details

```graphql
type CheckoutLineDelete {
  checkout: Checkout
  checkoutErrors: [CheckoutError!]! @deprecated
  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="line-id"></a>

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

ID of the checkout line to delete.

Show deprecatedHide deprecated

<a id="checkout-id"></a>

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

DEPRECATED

Use `id` instead.

The ID of the checkout.

<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="checkoutlinedelete"></a>

#### [`CheckoutLineDelete`](/api-reference/checkout/objects/checkout-line-delete.md)

Deletes a CheckoutLine.

Triggers the following webhook events:

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