When can I add a usage rule?

Through the Billing API, you can add a usage rule on the order item level when creating an order or add it to the service using the ID received when creating an order.

Usage rules can be added to subscription products which have a recurring charge set. In case the product that you order already has a usage rule (created with Gotransverse UI), you can override it when creating an order or by adding a usage rule to the service.

Note: This change requires that the product has the rule_override property set to true.

For more information on how to create Products and Orders using the Billing API, refer to API Samples.

Here you can find the details on the example product: