Usage rate plans
The price of a metric: an included allowance, a price per unit, packages or tiers. Each version is fixed once saved.
Endpoints
Guides that use it
Set up usage billing
Create a metric, a price, an agreement for a customer's subscription, entitlements and a usage key, with the API or in the dashboard.
Usage billing API
Every usage billing route on the Comecero API, grouped by resource, with who may call it and a link to its full page in the API reference.
Create or replace a metric PUT
Saves the whole definition: fields you leave out are cleared (`allowed_properties` becomes empty, `status` becomes `active`). `event_key` never changes, and `aggregation` can not change once the usage meter has the metric (`409`). It answers `201` when it creates the metric: then send `name` and `unit_label` too. Secret and trusted tokens may call it; a limited token may not (`403`).
List rate plans GET
Every saved version of every rate plan, newest `effective_from` first, up to 500. There is no paging. Secret and trusted tokens may call it; a limited token may not (`403`).