Zoho Books icon

Zoho Books

Consume Zoho Books API

Vendor → Delete

AI-generated

Overview

This node integrates with the Zoho Books API to perform operations on various resources, including vendors. Specifically, for the Vendor resource and the Delete operation, it deletes a vendor record identified by its unique ID. This is useful in scenarios where you need to programmatically remove vendor entries from your Zoho Books account, such as cleaning up outdated or incorrect vendor data.

Practical examples:

  • Automatically deleting vendor records that are no longer active.
  • Removing test or duplicate vendor entries during data synchronization workflows.
  • Managing vendor lifecycle within automated accounting processes.

Properties

Name Meaning
Contact ID The unique identifier of the vendor to delete. This is a required string input.

Output

The output of this node after performing the delete operation will be a JSON object representing the response from the Zoho Books API regarding the deletion. Typically, this might include confirmation of successful deletion or details about the deleted vendor. If multiple items are processed, each output item corresponds to one deletion result paired with the input item.

No binary data output is expected for this operation.

Dependencies

  • Requires an authenticated connection to Zoho Books via an OAuth2 credential (an API key or token).
  • The node dynamically imports the Vendor resource handler internally to perform the delete operation.
  • No additional external dependencies beyond the Zoho Books API and n8n's OAuth2 credential setup.

Troubleshooting

  • Common issues:

    • Invalid or missing Contact ID: The node requires a valid vendor ID; ensure the ID exists in Zoho Books.
    • Authentication errors: Ensure the OAuth2 credentials are correctly configured and have sufficient permissions.
    • Rate limiting: Zoho Books API may throttle requests; handle rate limits appropriately.
  • Error messages:

    • "Unsupported resource: vendor": Indicates the resource name was not recognized; verify the resource parameter is set to "vendor".
    • API errors returned from Zoho Books (e.g., "Vendor not found" or permission denied) will be surfaced in the node output if "Continue On Fail" is enabled.
  • Resolution tips:

    • Double-check the Contact ID value.
    • Refresh or reconfigure API credentials.
    • Use error handling in workflows to manage failed deletions gracefully.

Links and References

Discussion