Pagination
Zoho Billing provides APIs to retrieve lists of customers, plans and other resources - paginated to 200 items by default. The pagination information will be included in the list API response under the node name page_context
.
- By default first page will be listed. For navigating through pages, use the
page
parameter. - The
per_page
parameter can be used to set the number of records that you want to receive in response.
$ curl https://www.zohoapis.com/billing/v1/customers?page=2&per_page=25
{
"code": 0,
"message": "success",
"contacts": [
{...},
{...}
],
"page_context": {
"page": 2,
"per_page": 25,
"has_more_page": false
}
}