---
title: IneligibleReason - Customer API
description: The reason why a line item quantity is not eligible for return or editing.
api_version: 2026-10
source_url:
  html: 'https://shopify.dev/docs/api/customer/latest/enums/IneligibleReason'
  md: 'https://shopify.dev/docs/api/customer/latest/enums/IneligibleReason.md'
api_name: customer
api_type: graphql
type: enum
---

# Ineligible​Reason

enum

The reason why a line item quantity is not eligible for return or editing.

## Valid values

* EDIT\_​WINDOW\_​EXPIRED

  The edit window for this line item quantity has expired.

* FINAL\_​SALE

  The line item quantity is final sale.

* NOT\_​EDITABLE

  The line item quantity is not eligible for editing.

* OTHER

  The line item quantity is ineligible for a reason that has not been predefined.

* PENDING\_​EDIT\_​REQUEST

  The line item quantity is part of a pending edit request.

* RETURN\_​WINDOW\_​EXPIRED

  The return window for this line item quantity has expired.

* RETURNED

  The line item quantity has already been returned.

***

## Fields

* [Ineligible​Quantity​Detail.reasonCode](https://shopify.dev/docs/api/customer/latest/objects/IneligibleQuantityDetail#field-IneligibleQuantityDetail.fields.reasonCode)

  OBJECT

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

***

## Map

### Fields with this enum

* [Ineligible​Quantity​Detail.reasonCode](https://shopify.dev/docs/api/customer/latest/objects/IneligibleQuantityDetail#field-IneligibleQuantityDetail.fields.reasonCode)
