Record usage event
Usage
Record usage event
Records bill-in-arrears usage for a configured package usage metric on a customer order. The authenticated API key must own the order, and name must match a usage metric configured on the order’s package.
POST
Record usage event
Authorizations
Use Authorization: Bearer <live_api_key>.
Body
Customer ID that owns the order.
Order ID to record usage against.
Usage metric name configured on the order package.
Usage quantity to add. Must be at least 1.
Required range:
x >= 1Optional metadata stored with the usage event. Non-object values are wrapped by the API under value.