There is a need to pull the top 100 customers who have spent the most (descending by total_spent) how do i GET this achieved using the REST API GET "https://your-development-store.myshopify.com/admin/api/2025-01/customers/search.json? or any other option, please help
Topic summary
A developer needs to retrieve the top 100 customers ranked by highest total spending using Shopify’s REST API. They’re specifically asking about the customers/search.json endpoint from the 2025-01 API version, or alternative approaches to achieve this sorting requirement.
Current Status:
- Question remains unanswered
- No solutions or workarounds have been proposed yet
- The discussion is seeking guidance on proper API endpoint usage or alternative methods for sorting customers by total_spent in descending order