How do I bulk delete appointments and orders/invoices?

Our API developers synced appointments and orders/invoices and did it wrong, so now people are showing 20-25 of the same order/invoice and same with appointments.
How can I bulk delete them? The person on the help chat was not helpful at all. I was told that they can be bulk deleted on the backend. How?

1 Like

Bumping this.

When I try to delete an order through the API I get:

Infusionsoft::NoTableAccessError: [NoTableAccess]You cannot delete from Job through the API

Same for subscriptions/RecurringOrder

Bulk deleting orders and subscriptions is essential for maintaining a sandbox test environment for us. It enables us to reset the sandbox after testing has occurred. Is there any way with the API or otherwise to do this?