How to customize my customer IDs in sequential order?

Modified on: Mon, 24 Aug, 2020 at 10:52 AM

This article covers 

Can I maintain a sequential order in my customer IDs? If yes then, how to develop this?


In Chargebee, the customer id is set at the time of creation. Here, the customer id should be provided while creating a customer record else Chargebee auto-populates a random id. Whether you use the UI or the API to create customers in Chargebee you can include a sequential ID in the action.


  1. These ID sequences need to be generated and maintained outside of Chargebee.

  2. If you are creating a new subscription, the customer id and subscription id will be the same.

  3. Customer/subscription id once created cannot be changed

If you are using our APIs you can pass the customer[id] parameter in your API request.

Related articles and Documentation

How to rearrange fields in Chargebee?

What is the order type in which coupons are applied?

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.