---
title: IneligibleLineItem - Customer API
description: A line item with at least one unit that is not eligible for return or editing.
api_version: 2026-10
source_url:
  html: 'https://shopify.dev/docs/api/customer/latest/objects/IneligibleLineItem'
  md: 'https://shopify.dev/docs/api/customer/latest/objects/IneligibleLineItem.md'
api_name: customer
api_type: graphql
type: object
---

# Ineligible​Line​Item

object

Requires `customer_read_orders` access scope.

A line item with at least one unit that is not eligible for return or editing.

## Fields

* line​Item

  [Line​Item!](https://shopify.dev/docs/api/customer/latest/objects/LineItem)

  non-null

  The line item associated with the ineligible units.

* quantity

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

  non-null

  The number of units that aren't eligible for return or editing.

* quantity​Details

  [\[Ineligible​Quantity​Detail!\]!](https://shopify.dev/docs/api/customer/latest/objects/IneligibleQuantityDetail)

  non-null

  Details about ineligible quantities, including the number of units that can't be returned or edited and the reasons for ineligibility, grouped by reason.

***

## Map

### Fields and connections with this object

* [IneligibleLineItemConnection.nodes](https://shopify.dev/docs/api/customer/latest/connections/IneligibleLineItemConnection#returns-nodes)
* [IneligibleLineItemEdge.node](https://shopify.dev/docs/api/customer/latest/objects/IneligibleLineItemEdge#field-IneligibleLineItemEdge.fields.node)
* [OrderRequestedEditInformation.ineligibleLineItems](https://shopify.dev/docs/api/customer/latest/objects/OrderRequestedEditInformation#field-OrderRequestedEditInformation.fields.ineligibleLineItems)
