CRUD: Delete
The delete task deletes an existing record of a Zuora object from your tenant.
To learn about the objects available for delete operations, refer to the API Reference.
If Invoice Settlement is enabled, the following objects are not available for this task.
- InvoicePayment
- RefundInvoicePayment
- InvoiceItemAdjustment
- CreditBalanceAdjustment
- InvoiceAdjustment
Task Settings
You need to select the Zuora object that you want to delete, and specify the data field to identify the record.
For example, if you want to delete a subscription, you need to first select Subscription from the object list, and then select Subscription.Id from the Id list. If Subscription.Id is not available in the list, you need to include subscription data in the payload by using an Export or Query task, direct file input, or via callouts.
If you want to delete multiple records of a Zuora object, you can use an iterate task to iterate the records in data payload, and add a delete task subsequent to the iterate task to delete the records on by one. Alternatively, you can use the callout task to call the delete object operation. Multiple records of the same object can be deleted in a single callout.
Limitation
The CRUD: Delete task does not support processing objects in batches.