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

---
title: "CartItemsUpdateInput"
description: "The input fields to provide the necessary information to update the items in a cart through the `updateCartItems` mutation. By providing the cart ID and the updated list of items, the API can modify the cart according to the user's preferences."
---

## Fields

***

<ParamField path="id" type="ID!" required>
  The ID of the cart that the user wants to update. 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 updated list of items to be added to or modified in the cart.
</ParamField>

## Mutations

* [`updateCartItems`](/api-reference/updatecartitems)

***

## Related types

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


---

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