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

Archive a coupon code

Idempotency Supported

Archives a coupon code thereby making it inactive. The archived coupon code cannot be applied to any subscription.

Sample Request

Sample Result[JSON]

URL Format

POST https://[site].chargebee.com/api/v2/coupon_codes/{coupon-code-code}/archive

Returns

Coupon code object
Resource object representing coupon_code