---
title: CheckoutLineItem - Customer API
description: 'A line item in the checkout, grouped by variant and attributes.'
api_version: 2026-01
api_name: customer
type: object
api_type: graphql
source_url:
  html: 'https://shopify.dev/docs/api/customer/latest/objects/CheckoutLineItem'
  md: 'https://shopify.dev/docs/api/customer/latest/objects/CheckoutLineItem.md'
---

# Checkout​Line​Item

object

A line item in the checkout, grouped by variant and attributes.

## Fields

* custom​Attributes

  [\[Attribute!\]!](https://shopify.dev/docs/api/customer/latest/objects/Attribute)

  non-null

  An array of Key-Value pairs providing extra information about the line item.

* id

  [ID!](https://shopify.dev/docs/api/customer/latest/scalars/ID)

  non-null

  A globally-unique ID.

* price

  [Money​V2](https://shopify.dev/docs/api/customer/latest/objects/MoneyV2)

  The price of the line item.

* quantity

  [Int!](https://shopify.dev/docs/api/customer/latest/scalars/Int)

  non-null

  The quantity of the line item.

* title

  [String!](https://shopify.dev/docs/api/customer/latest/scalars/String)

  non-null

  The title of the line item. Defaults to the product's title.

* unit​Price

  [Money​V2](https://shopify.dev/docs/api/customer/latest/objects/MoneyV2)

  The unit price of the line item.

* variant​Title

  [String](https://shopify.dev/docs/api/customer/latest/scalars/String)

  The name of the variant.

***

## Map

### Fields and connections with this object

* [Checkout.lineItems](https://shopify.dev/docs/api/customer/latest/objects/Checkout#field-Checkout.fields.lineItems)
* [CheckoutLineItemConnection.nodes](https://shopify.dev/docs/api/customer/latest/connections/CheckoutLineItemConnection#returns-nodes)
* [CheckoutLineItemEdge.node](https://shopify.dev/docs/api/customer/latest/objects/CheckoutLineItemEdge#field-CheckoutLineItemEdge.fields.node)

***

## Interfaces

* [Node](https://shopify.dev/docs/api/customer/latest/interfaces/Node)

  interface

***

## CheckoutLineItem Implements

### Implements

* [Node](https://shopify.dev/docs/api/customer/latest/interfaces/Node)
