Applying filters when retrieving data through API
When you use the API to list resources such as subscriptions, customers, and invoices, filter them with the filter parameters. Each resource's List API lists the supported filter parameters.
Note:
To filter subscription data with custom fields, Chargebee supports only 5 custom fields per entity as API filters. Chargebee enables this from the backend. Contact Chargebee Support to enable it for your site.