deleting objects with child objects in single call
Currently to delete an Account, one must use the API to delete subscriptions, invoices, payments, amendments individually. This is a lot of calls and lot of steps to follow. THere should be a way to delete an account or subscription or any object together with all it's children.
1) change invoices to draft
2) if payments, delete payments, processed payments can't be deleted
3) cancel draft invoiecs
4 delete cancelled invoices
new way: call delete() from API and this will delete all payments, amendments and invoice itself.
Ideally this should work for any object type. Account, subscription, invoice, etc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.