API Version
Product Catalog
Library

When a quote is created, it generates the quoted_ramps resource. This captures most of the details of the ramps that would eventually be created once the quote is invoiced. This resource is returned along with the quote for most of the associated operations.

Note

Applicable only when Chargebee CPQ and Subscription Ramps are enabled. To request access, contact Chargebee Support.

Sample quoted ramp [ JSON ]

{ "line_items": [ { "item_price_id": "p1-USD-Monthly", "item_type": "plan", "quantity": 1, "unit_price": 1000, "amount_per_billing_cycle": 1000, "net_amount_per_billing_cycle": 800, "item_level_discount_per_billing_cycle": 0, "start_date": 1749148200, "end_date": 1751740199, "billing_period": 1, "billing_period_unit": "month", "object": "subscription_item" }, { "item_price_id": "p1-USD-Monthly", "item_type": "plan", "quantity": 1, "unit_price": 1000, "amount_per_billing_cycle": 1000, "net_amount_per_billing_cycle": 950, "item_level_discount_per_billing_cycle": 0, "start_date": 1751740200, "end_date": 1754418599, "billing_period": 1, "billing_period_unit": "month", "object": "subscription_item" }, { "item_price_id": "p1-USD-Monthly", "item_type": "plan", "quantity": 1, "unit_price": 1000, "amount_per_billing_cycle": 1000, "net_amount_per_billing_cycle": 1000, "item_level_discount_per_billing_cycle": 0, "start_date": 1754418600, "end_date": 1843842599, "billing_period": 1, "billing_period_unit": "month", "object": "subscription_item" }, { "item_price_id": "a1-USD-Monthly", "item_type": "addon", "quantity": 1, "unit_price": 1000, "amount_per_billing_cycle": 1000, "net_amount_per_billing_cycle": 800, "item_level_discount_per_billing_cycle": 0, "start_date": 1749148200, "end_date": 1751740199, "billing_period": 1, "billing_period_unit": "month", "object": "subscription_item" }, { "item_price_id": "tiered-USD-Monthly", "item_type": "addon", "quantity": 50, "unit_price": 5750, "amount_per_billing_cycle": 287500, "net_amount_per_billing_cycle": 273125, "item_level_discount_per_billing_cycle": 0, "start_date": 1751740200, "end_date": 1754418599, "ramp_tier_id": "tiered-USD-Monthly-1", "billing_period": 1, "billing_period_unit": "month", "object": "subscription_item" }, { "item_price_id": "a1-USD-Monthly", "item_type": "addon", "quantity": 10, "unit_price": 1000, "amount_per_billing_cycle": 10000, "net_amount_per_billing_cycle": 10000, "item_level_discount_per_billing_cycle": 0, "start_date": 1754418600, "end_date": 1843842599, "billing_period": 1, "billing_period_unit": "month", "object": "subscription_item" }, { "item_price_id": "tiered-USD-Monthly", "item_type": "addon", "quantity": 1, "unit_price": 5000, "amount_per_billing_cycle": 5000, "net_amount_per_billing_cycle": 5000, "item_level_discount_per_billing_cycle": 0, "start_date": 1754418600, "end_date": 1843842599, "ramp_tier_id": "tiered-USD-Monthly-2", "billing_period": 1, "billing_period_unit": "month", "object": "subscription_item" } ], "item_tiers": [ { "item_price_id": "tiered-USD-Monthly", "starting_unit": 1, "price": 5000, "ramp_tier_id": "tiered-USD-Monthly-1", "ending_unit": 25 }, { "item_price_id": "tiered-USD-Monthly", "starting_unit": 26, "price": 6500, "ramp_tier_id": "tiered-USD-Monthly-1", "ending_unit": 100 }, { "item_price_id": "tiered-USD-Monthly", "starting_unit": 101, "price": 7500, "ramp_tier_id": "tiered-USD-Monthly-1" }, { "item_price_id": "tiered-USD-Monthly", "starting_unit": 1, "price": 5000, "ramp_tier_id": "tiered-USD-Monthly-2", "ending_unit": 25 }, { "item_price_id": "tiered-USD-Monthly", "starting_unit": 26, "price": 6000, "ramp_tier_id": "tiered-USD-Monthly-2", "ending_unit": 100 }, { "item_price_id": "tiered-USD-Monthly", "starting_unit": 101, "price": 7000, "ramp_tier_id": "tiered-USD-Monthly-2" } ], "discounts": [ { "type": "percentage", "duration_type": "one_time", "apply_on": "invoice_amount", "included_in_mrr": false, "percentage": 20, "entity_type": "document_level_discount", "start_date": 1749148200, "end_date": 1751740199 }, { "type": "percentage", "duration_type": "one_time", "apply_on": "invoice_amount", "included_in_mrr": false, "percentage": 5, "entity_type": "document_level_discount", "start_date": 1751740200, "end_date": 1754418599 } ] }

API Index URL GET

https://{site}.chargebee.com/api/v2/quoted_ramps

Model Class

id
string, max chars=50

optional, list of line_item
Provides details of the individual line items in the subscription. If the subscription includes ramps, this array contains line items from all ramps.
optional, list of discount
List of discounts for this quoted subscription.
optional, list of item_tier
List of item tier.
coupon_applicability_mappings
Show attributes [+]
optional, list of coupon_applicability_mapping
id id
string, max chars=50

line_items
optional, list of line_item
Provides details of the individual line items in the subscription. If the subscription includes ramps, this array contains line items from all ramps.
discounts
optional, list of discount
List of discounts for this quoted subscription.
item_tiers
optional, list of item_tier
List of item tier.
coupon_applicability_mappings
optional, list of coupon_applicability_mapping