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

---
title: "ShopifyCartItemsInput"
description: "The input fields to provide the necessary information to add or update Shopify product variants in the cart. It is included as a part of the CartItemsInput object, which allows the API to handle items from multiple platforms, including Shopify."
---

## Fields

<ParamField path="quantity" type="Int!" required>
  An integer representing the number of products. This value indicates how many units of the specific Amazon product the buyer wants to add to the cart.
</ParamField>

<ParamField path="variantId" type="Int!" required>
  The ID of the Shopify product variant that the buyer wants to add to the cart. In Shopify, each product can have multiple variants, such as different colors, sizes, or materials. This ID is used to identify the specific variant the buyer has chosen.
</ParamField>

<ParamField path="priceAdjustment" type={<a href="/api-reference/priceadjustmentinput">PriceAdjustmentInput</a>}>
  Amount to increase the price of this cart line item by.
</ParamField>

## Mutations

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

## Related types

* [`CartItemsInput`](/api-reference/cartitemsinput)


---

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