API Reference
- Customers
- Products
- Plans
- Contracts
- Invoices
- Measurements
- Auth
- Events
- Reports
- Integrations
- Credits
- Webhooks
Delete Product
Delete a Product by id.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
The aggregation method defines how the events should be summed to represent a usage value.
The aggregation method defines how the events should be summed to represent a usage value.
Count
, Sum
, Distinct
, Max
, Min
, Average
, First
, Last
The field inside the "data" property to apply the aggregation method to.
The fields that is used to group different events together when measuring the usage.
The name of the event that the meter is tracking.
1
The name of the meter
1
The filter to apply to the events to be included in the meter. The filter object contains an array of Conditions, each condition represents a logical OR statement. Each condition contains an array of Criteria (criterions), each criterion represents a logical AND statement.
1
Equals
, DoesntEqual
, Has
, In
, Contains
, DoesntContain
, LargerThan
, LowerThan
, LowerEqualTo
, LargerEqualTo
, Exists
, DoesntExists
1
The pricing data of the meter. The pricing data contains the pricing model and the pricing details.