---
title: OrderLineItem - Storefront API
description: >-
  Represents a single line in an order. There is one line item for each distinct
  product variant.
api_version: 2026-10
source_url:
  html: 'https://shopify.dev/docs/api/storefront/latest/objects/OrderLineItem'
  md: 'https://shopify.dev/docs/api/storefront/latest/objects/OrderLineItem.md'
api_name: storefront
api_type: graphql
type: object
---

# Order​Line​Item

object

Requires `unauthenticated_read_product_listings` access scope.

Represents a single line in an order. There is one line item for each distinct product variant.

## Fields

* current​Quantity

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

  non-null

  The number of entries associated to the line item minus the items that have been removed.

* custom​Attributes

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

  non-null

  List of custom attributes associated to the line item.

* discount​Allocations

  [\[Discount​Allocation!\]!](https://shopify.dev/docs/api/storefront/latest/objects/DiscountAllocation)

  non-null

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

* discounted​Total​Price

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

  non-null

  The total price of the line item, including discounts, and displayed in the presentment currency.

* original​Total​Price

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

  non-null

  The total price of the line item, not including any discounts. The total price is calculated using the original unit price multiplied by the quantity, and it's displayed in the presentment currency.

* quantity

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

  non-null

  The number of products variants associated to the line item.

* title

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

  non-null

  The title of the product combined with title of the variant.

* variant

  [Product​Variant](https://shopify.dev/docs/api/storefront/latest/objects/ProductVariant)

  The product variant object associated to the line item.

***

## Map

### Fields and connections with this object

* [FulfillmentLineItem.lineItem](https://shopify.dev/docs/api/storefront/latest/objects/FulfillmentLineItem#field-FulfillmentLineItem.fields.lineItem)
* [Order.lineItems](https://shopify.dev/docs/api/storefront/latest/objects/Order#field-Order.fields.lineItems)
* [OrderLineItemConnection.nodes](https://shopify.dev/docs/api/storefront/latest/connections/OrderLineItemConnection#returns-nodes)
* [OrderLineItemEdge.node](https://shopify.dev/docs/api/storefront/latest/objects/OrderLineItemEdge#field-OrderLineItemEdge.fields.node)
