> 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.

# CartLineItems

GraphQL object

Cart line items

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/storefront/types/objects/cart-line-items

## Fields

- `physicalItems` — List of physical items.
- `digitalItems` — List of digital items.
- `giftCertificates` — List of gift certificates.
- `customItems` — List of custom items.
- `totalQuantity` — Total number of line items.

## Definition

```graphql
type CartLineItems {
  physicalItems: [CartPhysicalItem!]!
  digitalItems: [CartDigitalItem!]!
  giftCertificates: [CartGiftCertificate!]!
  customItems: [CartCustomItem!]!
  totalQuantity: Int!
}
```