Introducing the Chargebee CLI

How do I create a plan and view the plan ID in Product Catalog 2.0?

Problem Statement

You want to create a new plan and locate its unique plan ID in Product Catalog 2.0.

Solution

To create a new plan on your Chargebee site:

  1. Go to Product Catalog > Plans > + Create Plan.
  2. In the Create a New Plan page, select the product family you want to associate with the plan.
  3. Enter an internal name for the plan.
  4. Add a description if needed.
  5. Review the generated plan ID. The plan ID is the unique identifier used to reference the plan in APIs and subscription updates.
  6. Select the metered billing option if required for your use case.
  7. Configure customer-facing settings, such as display in the self-serve portal or checkout.
  8. Click Create.

The plan ID is generated from the internal name. You can edit it before you create the plan, if needed. You can copy it from the plans list by using the copy icon or by selecting the value in the table. In Leap UI, the plan ID column is shortened to keep the table compact while preserving the identifier.