Introducing the Chargebee CLI

How do I define a product with a fixed price for a range of units and a unit price after that?

Problem Statement

You want to create a product that charges a fixed fee for a defined number of units and then a unit price for additional units.

Solution

For example, if the quantity is between 1 and 10, you want to charge $50, and for each extra unit after that you want to charge $15 per unit.

  1. So for this, a "flat fee" plan for the first 10 users with a fixed price of $50 can be created.
  2. Then, you can create an "addon" of "per unit"-based pricing, and define a $15 price per unit.

So in addition to that plan, the customer can add the addon and choose the number of units, and the customer will be charged accordingly.