Restores a previously archived metered feature status back to active.
The sample responses show metered features with and without group-by attributes.
Availability
Support for adding GROUP BY to metered features and retrieving usage grouped by attributes is an upcoming capability and is not generally available yet. It will be made available in the coming weeks.
Prerequisites & Constraints
- The metered feature
statusmust bearchived.
Impacts
Metered feature
- The metered feature
statusis changed toactive. - The meter
statusis changed toactive. - The meter's
queryandcolumn_definitionsremain unchanged. Whenqueryincludes aGROUP BYclause,group_byalso remains unchanged.
Entitlements and subscription entitlements
- New entitlements and subscription entitlements can be created for the feature when it's reactivated.
Sample Request
Sample Result[JSON]
URL Format
POST https://[site].chargebee.com/api/v2/metered_features/{metered-feature-id}/reactivate_command
Returns
Meter object
Resource object representing the meter for the metered feature.