---
agentTools:
  projectIndex: https://rye-docs.readme.io/llms.txt
---

# CartItemsInput

The input fields to gather and organize the items a buyer wants to add or update in their cart, taking into account the specific platform the products are from (Amazon or Shopify). By including both Amazon and Shopify items, this input object allows the Rye's cart API to handle products from different platforms within a single cart, enabling a more seamless and integrated shopping experience for the user.

# Fields

***

`amazonCartItemsInput`: [`[AmazonCartItemsInput!]`](https://rye-docs.readme.io/reference/amazoncartitemsinput)

This is an array of [`AmazonCartItemsInput`](https://rye-docs.readme.io/reference/amazoncartitemsinput) objects.

***

`shopifyCartItemsInput`: [`[ShopifyCartItemsInput!]`](https://rye-docs.readme.io/reference/shopifycartitemsinput)

This is an array of [`ShopifyCartItemsInput`](https://rye-docs.readme.io/reference/shopifycartitemsinput) objects.

***

## Mutations

* [createCart](https://docs.rye.com/reference/createcart)
* [addCartItems](https://docs.rye.com/reference/addcartitems)
* [updateCartItems](https://docs.rye.com/reference/updatecartitems)

## Related types

* [AmazonCartItemsInput](https://docs.rye.com/reference/amazoncartitemsinput)
* [ShopifyCartItemsInput](https://docs.rye.com/reference/shopifycartitemsinput)