Introducing the Better Auth Chargebee plugin: Use it to handle subscriptions, billing, and auth seamlessly.Try now
ChargebeeAPI

Delete a subscription ramp

Idempotency SupportedBatch

Deletes the specified subscription ramp. However, Chargebee only allows deleting a ramp if it does not conflict with future ramps on the subscription. The following checks are performed to ensure compatibility:

ConditionRestriction
The ramp contains items_to_add[]The ramp cannot be deleted if any of the items in items_to_add[] are scheduled to be updated or removed in a subsequent ramp.
The ramp contains coupons_to_add[]The ramp cannot be deleted if any of the coupons in coupons_to_add[] are scheduled to be removed in a subsequent ramp.
The ramp contains discounts_to_add[]The ramp cannot be deleted if any of the discounts in discounts_to_add[] are scheduled to be removed in a subsequent ramp.

Sample Request

Sample Result[JSON]

URL Format

POST https://[site].chargebee.com/api/v2/ramps/{ramp-id}/delete

Returns

Ramp object
Resource object representing ramp