Docs
delete, deleted, restore, subscription
461783
2020-12-15T08:41:28Z
2024-05-01T07:11:42Z
1048
0
0
249156
How do I restore a deleted Subscription? Undoing Delete operation
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.