A ramp resource, or subscription ramp, represents a planned change to a subscription that occurs at a future date. Use this resource to define and schedule subscription modifications, such as updating pricing, altering quantity, or transitioning to a different plan, without immediately applying them.
Note
- Upcoming ramps limit: A subscription can have a maximum of 12 upcoming ramps at any given time, excluding deleted ramps. Upcoming ramps are ramps with
statusasscheduled. - Total ramps limit: A subscription can have a maximum of 100 ramps at any given time, excluding deleted ramps.
Sample RampJSON
API Index URL
Ramps attributes
The ID of the subscription for which this ramp was created.
Specifies the time when the changes to the subscription will be applied by executing the ramp.
The execution status of the ramp
The ramp has been created and scheduled for execution.
Note
Excluding deleted ramps, a subscription can have a maximum of 12 ramps in the scheduled status.
The ramp completed successfully.
The ramp did not complete because of an error.
The ramp is moved to draft
status when the associated subscription is updated. The reason for the draft status can be explained in the status_transition_reason
Note Ramps in draft state will not be executed.
Version number of this resource. The resource_version
is updated with a new timestamp in milliseconds for every change made to the resource.
Timestamp indicating when this resource was last updated.
List of item prices removed from the subscription through this ramp.
List of coupons removed from the subscription through this ramp.
List of discounts removed from the subscription through this ramp.
Indicates if the ramp is marked as deleted. To retrieve deleted ramps, use the List subscription ramps
endpoint with include_deleted
set to true
.
Note Allowed only when both of these conditions are met:
- Price overriding is enabled for the site.
pricing_modelof the item price is eithertiered,volume, orstairstep.
Overrides the item_tiers for specific item_prices of the subscription.