--- title: Removal of Customer order-related sort keys on Admin API - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/removal-of-customer-order-related-sort-keys-on-admin-api md: https://shopify.dev/changelog/removal-of-customer-order-related-sort-keys-on-admin-api.md --- [Back to Developer changelog](https://shopify.dev/changelog) April 1, 2024 Tags: * Action Required * Admin GraphQL API * 2024-04 # 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](https://shopify.dev/docs/apps/marketing/customer-segments).