> ## Documentation Index
> Fetch the complete documentation index at: https://docs.commerce.jolly.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# CartItemsUpdateInput

> 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)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.