> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "CartItemsDeleteInput"
description: "The input fields to provide the necessary information to remove items from a cart through the `deleteCartItems` mutation. By providing the cart ID and the list of items to be removed, the API can update the cart by removing the specified items."
---

## Fields

***

<ParamField path="id" type="ID!" required>
  The ID of the cart that the user wants to remove items from. It's a unique identifier for the cart in the system.
</ParamField>

<ParamField path="items" type={<a href="/api-reference/deletecartlinesinput">DeleteCartLinesInput!</a>} required>
  The `DeleteCartLinesInput` object containing the list of items to be removed from the cart.
</ParamField>

## Mutations

* [`deleteCartItems`](/api-reference/deletecartitems)

***

## Related types

* [`CartResponse`](/api-reference/cartresponse)


---

*Powered by [holocron.so](https://holocron.so)*
