Start a new topic

Access Custom Field Options via API

I'm wondering if it's possible to retrieve a list of the options associated with a custom user field?


I can't find any way to do this in the API documentation.


Thanks for your help


2 people like this idea

Hi Alex


Are you looking for an option to filter the customers/subscriptions by custom fields via API?


You could use the filter parameters under Subscriptions/Customers in the Chargebee web interface to filter out customers based on a particular custom field value. However, it is not possible at the moment to filter customers/subscriptions based on custom field values when using API, sorry about that. 


We have this feature in the product pipeline as a few customers have already asked for it in the past, though we do not have a firm ETA on the feature. I've tagged your ticket internally to keep a track of the feature request and I'll inform you as soon as this is implemented. 


I'm also looking this function for the API. Do you have any plans for this or are there any other workaround available to search customers using values from custom fields? Thank you in advance!

Hi Mark, 


For you to be able to fetch a list of subscriptions or customers via API using custom fields as filters, we'll have to enable it from the backend for your site for which you would have to send an email to support@chargebee.com


However, we'd like to let you know that we have a restriction in place where you could only use 5 custom fields for the filtering purpose. We are sorry but we have this in place as it was recently released and we're trying to make further improvements on this.

Login or Signup to post a comment