---
title: PurchaseOrderLineItemSortKeys - GraphQL Admin
description: The set of valid sort keys for the PurchaseOrderLineItem query.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/enums/PurchaseOrderLineItemSortKeys
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/enums/PurchaseOrderLineItemSortKeys.md
api_name: admin
api_type: graphql
type: enum
---

# Purchase​Order​Line​Item​Sort​Keys

enum

The set of valid sort keys for the PurchaseOrderLineItem query.

## Valid values

* ID

  Sort by the `id` value.

***

## Fields

* [Inventory​Purchase​Order.lineItems(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryPurchaseOrder#field-InventoryPurchaseOrder.fields.lineItems.arguments.sortKey)

  ARGUMENT

  A purchase order represents an agreement from a merchant to buy goods or services from a supplier. While the agreement is captured on the merchant's side as a purchase order, it’s recorded as a sales order on the supplier side.

***

## Map

### Arguments with this enum

* [Inventory​Purchase​Order.lineItems(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryPurchaseOrder#field-InventoryPurchaseOrder.fields.lineItems.arguments.sortKey)
