How can I import a subscription with the same signup date from another platform to Chargebee?
What is the use of Advance Transformations in Bulk Operation and how do I use it?
How to perform bulk operations using Parallel processing of data?
What is Parallel processing of data in Bulk operation?
I want to copy all my live site subscriptions into the test site.
In Bulk Operation, the Advance Transformation supports this action 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 & less time consumption using JSON code. To import subscription data in bulk to Chargebee by using the same 'created_ at' date from the file, follow the steps below. on how to import subscriptions using Sequentially iterating each data.
If you are to perform a bulk operation for existing data from Chargebee you may have to export the data from Chargebee and update those data to the import sheet from Bulk Operations. Earlier the export data format and import data format varied which involves a lot of manual intervention. With the new enhanced Export file option, you can either export a file using Download Data or use Download import-friendly file from Settings > Import & Export Data > Product Catalog. Refer to this link for more information.
To support this action 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 it has to be enabled from the back-end. Please reach out to us at email@example.com to enable this feature.
Step 1: Go to Chargebee App, Settings -> Import & Export data, and Click on Choose a Bulk Operation
Step 2: From Choose the bulk operation, select Import subscriptions for Items (if PC 2.0)/ Import subscriptions for customers (if PC 1.0) and click on Proceed.
Configure your preferences: Choose Advance Transformations and use the below JSON code
Whenever you migrate to Chargebee, you may want to import the data from your third-party applications into Chargebee.
This Import operation comprises different processes
Chargebee has different variants of Import operations :
Bulk operation: Sequentially iterating each data
This is a native process used in Chargebee to import the data from 3rd party applications into Chargebee. In this method, while importing the data, each and every record will be validated by iterating sequentially. Once the validation is completed the data will get imported again by sequential iteration.
The problem with this approach is for a huge amount of data say 100000, it will iterate every record sequentially for both validating as well as for importing hence it is a time-consuming process. This process can be used to import data from 3rd-party applications or to perform a bulk update on existing subscriptions in Chargebee. Refer to this link on how to import subscriptions using Sequentially iterating each data.
Bulk operation: Parallel processing of data
To overcome the time-consuming problem of Sequentially iterating each data, we have parallel processing of data during the import phase. The main objective of this approach is to reduce the time. This type of parallel processing is achieved by using Advance transformations. The only difference between these 2 operations is how we are processing the data during the import phase in the backend.
Note: For complex data migrations, we have our data migration team, reach out to us at firstname.lastname@example.org.
Step 0: Prepare the data file
Disable Webhooks: If you're an API user, you might be using Chargebee's webhooks to notify your system of any events that occur in your Chargebee account through the webhook URL.
Disable Email Notifications: If you've enabled Email Notifications 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 and we will provide you with the JSON code that you need to paste into the Advanced Transformations text box.