Skip to main content
Log inSign up

Removal of Customer order-related sort keys on Admin API

As of GraphQL Admin API version 2024-04, the following Customer sort keys have been deprecated: LAST_ORDER_DATE, ORDERS_COUNT, TOTAL_SPENT. Ordering customers by these attributes is available when filtering customers using segments.

Learn more about customer segmentation on Shopify.dev.

Was this section helpful?