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

---
title: "CartItemsAddInput"
description: "The input fields to provide the necessary information to add new items to a cart through the `addCartItems` mutation. By providing the cart ID and the list of items to be added, the API can update the cart with the new items."
---

## Fields

***

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

<ParamField path="items" type={<a href="/api-reference/cartitemsinput">CartItemsInput!</a>} required>
  The [`CartItemsInput`](/api-reference/cartitemsinput) object containing the list of items to be added to the cart.
</ParamField>

***

## Mutations

* [`addCartItems`](/api-reference/addcartitems)

***

## Related types

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


---

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