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

---
title: "CartItemsInput"
description: "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 Sell Anything API to handle products from different platforms within a single cart, enabling a more seamless and integrated shopping experience for the user."
---

## Fields

***

<ParamField path="amazonCartItemsInput" type={<a href="/api-reference/amazoncartitemsinput">AmazonCartItemsInput!</a>} required>
  This is an array of [`AmazonCartItemsInput`](/api-reference/amazoncartitemsinput) objects.
</ParamField>

<ParamField path="shopifyCartItemsInput" type={<a href="/api-reference/shopifycartitemsinput">ShopifyCartItemsInput!</a>} required>
  This is an array of [`ShopifyCartItemsInput`](/api-reference/shopifycartitemsinput) objects.
</ParamField>

## Mutations

* [`createCart`](/api-reference/createcart)
* [`addCartItems`](/api-reference/addcartitems)
* [`updateCartItems`](/api-reference/updatecartitems)

## Related types

* [`AmazonCartItemsInput`](/api-reference/amazoncartitemsinput)
* [`ShopifyCartItemsInput`](/api-reference/shopifycartitemsinput)


---

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