The ramp resource or a subscription ramp represents a planned change to a subscription set to occur at a future date. By using this resource, you can define and schedule modifications to a subscription, such as updating pricing, altering the 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.
- Update subscription for items limit:
changes_scheduled_atparameter cannot be set to a future date when the ramps feature is enabled.
Sample RampJSON
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 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
.
Details about the item prices added to the subscription through this ramp.
Details about the item prices updated in the subscription through this ramp.
Details about the coupons added to the subscription through this ramp.
Details about the discounts added to the subscription through this ramp.
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.