Update metered usage record

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

This endpoint allows you to update the status of a usage record between active and inactive.
When the status is set to inactive, the usage record is no longer included in the calculation of the usage for the subscription usage-based billing product at the end of the next billing cycle.

Related Endpoints

Path Params
string
required

Subscription handle

string
required

Usage-based billing handle

string
required

Metered usage record id

Body Params
string
required
length ≥ 1

The state of the usage record. When the state is active, the record is included in the next invoice. When the state is inactive, the record is not included in the next invoice.

string

Inclusive start of the usage service period in the subscription timezone.

string

Inclusive end of the usage service period in the subscription timezone. Must be equal to or after period_from.

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json