PUT
/
products
/
{productId}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

productId
string
required

Body

application/json
aggregationMethod
object

The aggregation method defines how the events should be summed to represent a usage value.

eventName
string

The name of the event that the meter is tracking.

Minimum length: 1
filter
object

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.

name
string

The name of the meter

Minimum length: 1
pricing
object

The pricing data of the meter. The pricing data contains the pricing model and the pricing details.

Response

200 - application/json
product
object
required