Docs

Log in to read the version of docs relevant to your site.

How to customize my customer IDs in sequential order?

This article covers

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

Summary

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.

Note:

  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.

Was this article helpful?