Idempotency Supported
Archives an active feature so that no new entitlements or subscription entitlements can be created towards the feature. Any pre-existing item or subscription entitlements from the time that the feature was active remain effective. This operation changes the status of the feature to archived.
Prerequisites & Constraints
- Entitlements must be enabled for your site to archive a feature.
- Only a feature in
activestatus can be archived. - Calling this endpoint on a feature that is already
archivedreturns it unchanged. - A
draftfeature cannot be archived.
Sample Request
Sample Result[JSON]
URL Format
POST https://[site].chargebee.com/api/v2/features/{feature-id}/archive_command
Returns
Feature object
Resource object representing feature