Introducing the Chargebee CLI

How do I configure plans with different currencies in bulk?

Problem Statement

You want to create or import plans in bulk for different currencies and pricing combinations.

Solution

Chargebee lets you create or import plans in bulk using the Bulk Operations feature. You can use a CSV file to create plans with different currencies, prices, and billing frequencies.

To do this:

  1. Go to Settings.
  2. Select Import and Export Data.
  3. Choose a bulk operation.
  4. Select Plans.
  5. Click Create Plans.
  6. Download the sample CSV file.
  7. Fill in the required plan details.
  8. Upload the file to create the plans.

For more information, see Bulk operations.

If you are importing existing Chargebee data, export the data first and then update it to match the Bulk Operations import format. The enhanced export file option lets you export either the standard data file or an import-friendly file from Settings > Import & Export Data > Product Catalog. See How can I export items with the import format on PC 2.0?.

ColumnDescriptionRequired
idUnique identifier for the planYes
nameDisplay name for the planYes
currency_codeCurrency code (e.g., USD, EUR)Yes
pricePrice in the specified currencyYes
billing_frequencyBilling frequency (monthly, yearly, etc.)Yes