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

Update a credit unit

Idempotency Supported

Updates an existing credit unit.

Sample Request

update a credit unit

Sample Result[JSON]

URL Format

POST https://[site].chargebee.com/api/v2/credit_units/{credit-unit-id}

Input Parameters

name
optional, string, max chars=50

Updated internal display name for the credit unit. Must be unique across the site.

external_name
optional, string, max chars=50

Updated customer-facing display name for the credit unit. Must be unique across the site. At least one of name or external_name should be provided. Only credit units with the active status can be updated.

Returns

Credit unit object
Resource object representing credit_unit