How does it work? API
When retrieving lists of data with the ReCharge API, users can now include a sort_by parameter in the URL of the GET request to specify the order of results. Sort_by values indicate the parameter to sort on, and the direction of sorting (such as updated_at-desc).
Where can I learn more?
Available sort_by values vary between endpoints. For a complete list of available sort_by values for each resource, and to learn more about sorting API results, see the "Retrieving Data" section of our API documentation.