Docs

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

How to customize my customer IDs in sequential order?

Problem Statement

You want to use sequential customer IDs instead of Chargebee's auto-generated IDs.

Solution

Provide the customer ID when creating the customer. If you omit it, Chargebee generates a random ID. You can pass a sequential ID from your system via UI or API using the customer[id] parameter.

Important Notes

Note:

  • Generate and maintain sequential IDs outside Chargebee.
  • For new subscriptions, the customer ID and subscription ID are the same.
  • Customer and subscription IDs cannot be changed after creation.

Was this article helpful?