Request an update to a subscription that takes place immediately, at
term renewal or at the next bill date.
Updating Canceled Subscriptions
If you need to update a canceled subscription, you need to first reactivate the subscription and then do the update call. You can look for the canceled subscription state to know if you need to do the reactivate call first.
While changing a canceled subscription may reactivate the subscription in some cases, there are scenarios where it will not reactivate the subscription, so we do not recommend allowing changes on a canceled subscription.
If you do submit an at renewal change to a canceled subscription and do not reactivate the subscription, it will expire at the end of the subscription term.
TIMEFRAME
The timeframe parameter controls when the upgrade or downgrade takes place. The subscription change can occur immediately, the next time the subscription is billed, or when the subscription renews. Generally, if you're performing an upgrade, you will want the change to occur immediately (now) or the next time the subscription is billed (bill_date). If you're performing a downgrade, you'll want the change to happen when the subscription renews (term_end) or the next time the subscription is billed (bill_date) so the customer gets what they paid for in their current billing cycle or term. The renewal timeframe option is accepted as an alias for term_end.
The timeframe control only applies to changes to the subscription's products. All non-product changes are always applied immediately. These changes have the option of applying at term end or bill date: plan_code, quantity, unit_amount_in_cents, subscription_add_ons.
Updating Refunded Subscriptions
Without the Credit Invoices feature enabled, Recurly does not reconcile invoice payments with subscription requests. If a subscription has a refund in the current billing cycle, updates with a timeframe of now will always credit the customer as if the refund never existed. Updates with a timeframe of term_end will not have this problem. Learn more.
ADD-ONS
If you include the subscription_add_ons array in your request, the subscription's original add-ons will be removed unless they are specified in your update subscription request. Please specify all the add-ons that should be present after the subscription change. If you do not include the subscription_add_ons array, your current add-ons will remain in the subscription.
COUPONS
You can redeem a coupon in a subscription update if the update has a timeframe of now and you change something else about the subscription that triggers an invoice, like the plan, quantity, or price.
The coupon must include the subscription's plan as an eligible charge.
You can redeem multiple coupons with this format:
<coupon_codes>
<coupon_code>savemore</coupon_code>
<coupon_code>holidayspecial</coupon_code>
</coupon_codes>| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||