> ## Documentation Index
> Fetch the complete documentation index at: https://docs-test.rye.com/docs/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

***

**id** *required*

The ID of the cart that the user wants to update. It's a unique identifier for the cart in the system.

**items** *required*

The [`CartItemsInput`](https://docs-test.rye.com/docs/api-reference/cartitemsinput) object containing the updated list of items to be added to or modified in the cart.

## Mutations

* [`updateCartItems`](https://docs-test.rye.com/docs/api-reference/updatecartitems)

***

## Related types

* [`CartResponse`](https://docs-test.rye.com/docs/api-reference/cartresponse)


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