API Version
Product Catalog
Library

Pagination

Chargebee supports bulk fetching of resources via 'List' API methods. (List invoices, List subscriptions etc.). The sections that follow explain how you can use the Filtering and Pagination options on these 'list' API methods.

Pagination

Pagination can be controlled by following parameters:
  • limit: This limits the number of resources to be returned in the response. The value ranges from 1 to 100 and defaults to 10.
  • offset: If not specified, the first set of resources (number of resources limited by the limit parameter) will be returned. If more resources are present, a 'next offset' parameter is returned in the result. To fetch the next set (page) of resources, use this offset parameter. It's value should be the next_offset attribute returned in your previous list api invocation.