/customers
, may require pagination: multiple calls to fetch all the results. Metronome provides two URL parameters on all list endpoints for this purpose:
limit
customizes how many results are returned per pagenext_page
specifies the cursor to use as a starting point to fetch the next set of resultsnext_page
value, more records exist than were returned. Include that next_page
value in a subsequent query to fetch the next set of results. To fetch every result, repeat this process until next_page
is null.
next_page
cursor with the next request.
limit=1
. To load many results with as few API calls as possible, set limit=50
. For performance reasons, limit
is capped at 100
.