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

Archive a feature

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 active status can be archived.
  • Calling this endpoint on a feature that is already archived returns it unchanged.
  • A draft feature 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