If a customer has multiple contracts with overlapping rates, the usage filter routes usage to the appropriate contract based on a predefined group key.
As an example, imagine you have a customer associated with two projects. Each project is associated with its own contract. You can create a usage filter with group key project_id
on each contract, and route usage for project_1
to the first contract and project_2
to the second contract.
To use usage filters, the group_key
must be defined on the billable metrics underlying the rate card on the contracts.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Set usage filter for contract
The body is of type object
.
Success