Usage
Submit a usage entry
Use this API to set either a prorated gauge or increment a final value counter for a customer.
To use this endpoint, ensure that you are using the v2/usage/
API endpoint:
https://api.salesbricks.com/api/v2/usage/
Authorizations
Use your Salesbricks API key to authenticate requests.
Body
application/json
The UUID of the associated Usage Brick.
The amount to increment the counter by (required if incrementing a counter).
Additional properties for the usage entry.
The UUID of the Salesbricks subscription associated with the customer.
The timestamp indicating when the operation occurs in ISO 8601 format.
The unique identifier for this usage entry transaction.
The value to set for the gauge (required if setting a gauge).
Response
201 - application/json