Introducing the Chargebee CLI

Delete a price variant

Open in Postman

Deletes the price variant. This is not allowed if price variant is attached to any item price. Once deleted, the id and name of the price variant can be reused.

Prerequisites & Constraints

  • Variant Pricing must be enabled for your site to delete a price variant.

Sample Request

Open in Postman

Sample Result[JSON]

URL Format

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

Returns

Price variant object

Resource object representing price_variant