> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

# CartLineItemUpdateCheckoutInput

GraphQL input

Cart line item update checkout input object

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/storefront/types/inputs/cart-line-item-update-checkout-input

## Fields

- `entityId` — The line item id. If omitted, a new line item will be created. Otherwise, the existing line item will be updated.
- `quantity` — Total number of line items
- `productEntityId` — The product id
- `variantEntityId` — The variant id
- `sku` — The product SKU
- `selectedOptions` — The list of selected options for this item

## Definition

```graphql
input CartLineItemUpdateCheckoutInput {
  entityId: String
  quantity: Int!
  productEntityId: Int
  variantEntityId: Int
  sku: String
  selectedOptions: CartSelectedOptionsInput
}
```