Skip to main content

create

A flat plan fits in flags. Charges nest a billable_metric_id, a charge_model, and model-specific properties, so write them as a file and pass --input @plan.json. The billable_metric_id is the LAGO_ID that billable-metrics create printed, not the code.

Charges on a live plan

create-plan-charge and update-plan-charge change the plan for every subscription on it. To change one customer, override the charge on the subscription instead.