Guides
Customer Management

Searching, Paging, and Sorting

4min

For large datasets, Amberflo supports paging and sorting.

Endpoint

Query string parameters

The following query string parameters are passed to the paging endpoint.

Document image


Response

Following is a sample response when customers are sorted by customerName in ascending for the search keyword inc and page size of 5. /customers/paging?limit=5&sort=customerName&search=inc

JSON


items include the actual list of customers on the page, and metadata includes the paging information as explained in the next section.

Paging metadata

The paging metadata is returned by the API call. It helps the API to keep track of the current paging state.

JSON

Document image


Useful Queries

Document image