Introducing the Chargebee CLI

Delete a price ramp

Deletes a price ramp. Its status is set to deleted and the linked item price's price_ramp_id is cleared, so new subscriptions no longer inherit the ramp and a new ramp can be created for the item price. Subscriptions that already captured the ramp keep that schedule.

Prerequisites & Constraints

  • Price Ramps must be enabled for the site. Contact Chargebee Support to enable them. Until they are enabled, this operation returns API_RESTRICTED.

Sample Request

delete a price ramp

Sample Result[JSON]

URL Format

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

Returns

Price ramp object
Resource object representing price_ramp