Introducing OpenTelemetry for Chargebee SDKs — trace every API call in any telemetry tool.

Activate a business rule

Activates a business rule by setting its active attribute to true, so that Chargebee evaluates it.

Every rule is created inactive, so this is the operation that puts a new rule into effect.

Impacts

Business rule

The rule active attribute is set to true. Chargebee evaluates the version in latest_version, both when the rule is applied directly and when it is reached through a business ruleset that contains it.

Nothing is released. If the rule has a draft, that draft stays unreleased and the version in latest_version remains the one evaluated.

Sample Request

Sample Result[JSON]

URL Format

POST https://[site].chargebee.com/api/v2/business_rules/{business-rule-id}/activate

Returns

Business rule object

The business rule after activation, with active set to true.