How do I restore a deleted Subscription? Undoing Delete operation

Modified on: Tue, 15 Dec, 2020 at 2:51 PM

This article covers 

I accidentally deleted a subscription but I want those details again. How do I get this? 

How do I find how a record was deleted and by whom? 


Summary

Deleting a record in Chargebee is an irreversible operation. However, you can still fetch the details of the deleted record for your reference or import them back into the application. Here’s how you can fetch the details of the record from the events :



Open the Event to obtain the details of the Subscriptions as that of the time of deletion


The same can be obtained by using List API and passing include_deleted = true

You can then use the Create or Import Subscription operation to restore the data in Chargebee. 



Note: Deleting Subscriptions deletes the invoices as well. They will have to be imported separately into Chargebee.



Related articles 

What bulk operations can I perform in Chargebee?

Where can I get the API docs for Chargebee?

Where can we check events related to invoice?

M
Monica is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.