Introducing the Chargebee CLI

Why does Chargebee say my coupon ID already exists?

Problem Statement

While creating a new coupon, you see the error that the coupon ID already exists.

Solution

Chargebee does not allow you to reuse a coupon ID if the original coupon is still in use or if it was archived. In general, a coupon ID cannot be reused if the original coupon has not been permanently deleted.