---
title: "CheckoutLineItem"
description: "A single line item in the checkout, grouped by variant and attributes."
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-line-item'
  md: 'https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-line-item.md'
---
# CheckoutLineItem

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

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Fields

* `quantity`

  [Int](https://developer.shopline.com/docs/storefront-api/common/scalars/int.md)

  Product quantity

* `discountAllocations`

  [[DiscountAllocation]](https://developer.shopline.com/docs/storefront-api/common-objects/objects/discount-allocation.md)

  The discounts that have been allocated onto the checkout line item by discount applications.

* `variantId`

  [ID](https://developer.shopline.com/docs/storefront-api/common/scalars/id.md)

  Variant id

* `id`

  [ID](https://developer.shopline.com/docs/storefront-api/common/scalars/id.md)

  A globally-unique identifier.

* `title`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

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

* `price`

  [Money](https://developer.shopline.com/docs/storefront-api/common-objects/objects/money.md)

  The product variant’s price

* `properties`

  [[CheckoutLineItemProperty]](https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-line-item-property.md)

  A list of product customization information.

## Field from

* [Checkout](https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout.md).lineItems

