Docs
Do we have the option to change the plan of a canceled subscription without activation?
In order to change the plan of a canceled subscription without reactivating it, it is not possible directly from the Chargebee UI, as modifying the subscription will automatically activate it. However, by using the Update subscription feature from Bulk Operations or the Update Subscription API, you can change the canceled subscription plan without activating it.
This operation is available for both individual subscriptions and multiple subscriptions.
Bulk Operation: Navigate from Settings → Import & Export Data → Choose a bulk operation → Subscription
API / Bulk Operation | Product Catalog |
|---|---|
| Update subscription for items | |
| To update the plan ID |
|
| Use for metered billing plans (optional) |
|
| Ensure the subscription is not activated |
|
We can update the canceled subscription plan without reactivating it by using the Update subscription for items API.
API / Bulk Operation | Product Catalog |
|---|---|
| Update subscription for items | |
| To update the plan ID |
|
| Metered billing quantity (optional) |
|
| Prevent reactivation |
|
curl --location --request POST \
'https://videoclikz-test.chargebee.com/api/v2/subscriptions/16BdyITSoSikv1cP/update_for_items' \
--header 'Authorization: Basic <base64_api_key>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'subscription_items[item_price_id][0]=Chocolate-Boxed-USD-Monthly' \
--data-urlencode 'subscription_items[quantity][0]=2' \
--data-urlencode 'reactivate=false'
**Multiple Subscriptions**
**Step 1:** Navigate from **Settings** > **Import & Export Data** > **Choose a Bulk operation** > **Subscription** > **Update subscription for items**
<Image src="/assets/screenshots/kb/billing/Sh2hxW5WNkni-7UxPvKA5cAdd5T6_VH2Mw.jpeg" alt=""/>**
Step 2: Download the sample CSV file
<Image src="/assets/screenshots/kb/billing/HK5fIhb9iq4XfkYaEtKfTlgaaGtcEzw6Sg.png" alt=""/>
Upon downloading the CSV '**update_subscription_for_items**.csv'. You can update the subscription records on this file.
**Note**:
Your CSV data file should contain all the columns specific to the operation you are performing. The sample CSV file has most of the columns required for the operation
Do not edit the column labels in the sample file and make sure the file extension is **.csv**. [Click here](/billing/2.0/data-operations/bulk-operations) to read more
You can update this sheet with the data exported from the Customer Index Page
Once the file is exported, edit the file in CSV format and then you can update the subscription ID in **Column A**
<Image src="/assets/screenshots/kb/billing/EgKsDqEoXIapytfUJamFe3jre-DQY9GcoQ.png" alt=""/>
And the subscription item in **Column CF** & subscription quantity in **Column CG**<Image src="/assets/screenshots/kb/billing/YxYdqj9bs0_meFby-JA2JxhFazpzxgsl4Q.png" alt=""/>
### Also, the reactivate on **Column T**.
### <Image src="/assets/screenshots/kb/billing/r4-nBXLJdfMFk3JNgFCqo7zbpvik3HUhnw.png" alt=""/>
###
### Configure your preferences
Specify your preferences on how Chargebee will perform certain actions when the Bulk Operation is underway:
* **Disable Webhooks**: If you're an API user, you might be using Chargebee's [webhooks](/billing/2.0/site-configuration/events_and_webhooks) to notify your system of any events that occur in your Chargebee account through the [webhook URL](/billing/2.0/site-configuration/events_and_webhooks).
* **Disable Email Notifications**: If you've enabled [Email Notifications](/billing/2.0/customers/email-notifications-v2) in Chargebee and you are performing an operation (such as creating new subscriptions) that could trigger one of the enabled email notifications, your customers might receive an email notification.
* **Advanced Transformations**: If your data file is in a format that is different from the format provided in Chargebee's sample CSV file and you would like to transform it to the recommended format with minimal effort, use this option. Contact [support](https://chargebee.freshdesk.com/support/home) and we will provide you with the JSON code that you need to paste into the *Advanced Transformations* text box.
<Image src="/assets/screenshots/kb/billing/EbhMKRcE3GHeihajw7YPXUSUSMEuc_4AgA.png" alt=""/>
**Step 3:** Once updated, zip all the files in the same format it was exported, then drag and drop your data file into the web interface or upload it:
<Image src="/assets/screenshots/kb/billing/n9Ysv8w6dsmE7nKtUBMIRJA5c0V7vWrCvQ.png" alt=""/>
Once you've added all the information and the data file is ready, upload it.
If there are errors in the data file, you could either choose to fix the errors and upload another data file or skip the rows with errors and continue with the operation.
Click **How do I fix this?** to view the last 10 errors.
<Image src="/assets/screenshots/kb/billing/qvxCKo2hKeoU3vXDr20kV2CU-TB1nvSTDA.png" alt=""/>
This section will also provide you with the options to download the validated file and upload a corrected file. [Click here](/billing/2.0/data-operations/bulk-operations) to know more about the bulk operation.
Was this article helpful?