How do I restore a deleted Subscription? Undoing Delete operation
Problem Statement
You accidentally deleted a subscription and want to restore it or get its details back.
Solution
Deletion is irreversible, but you can retrieve the deleted subscription data and re-import it.
Steps to Set It Up
- From Events: Open the subscription event that shows the deletion to get the subscription details at the time of deletion.
- From API: Use the List Subscriptions API with include_deleted = true.
- Restore: Use Create or Import Subscription to restore the data in Chargebee.
Important Notes
Note:
Deleting a subscription also deletes its invoices. Invoices must be imported separately.