Can I get the sample Deluge script to create records in Zoho Books?
Check the following Deluge script to create a record in Zoho Books:
parameters\_data='{"field1":"value1","field2":"value2"}';
response = invokeUrl
\[
url: "https://www.zohoapis.com/books/v3/invoices?organization\_id=10234695"
type: POST
content-type: application/json
parameters: parameters\_data
connection: <connection\_name>
\]
info response;
For updating records of other module, replace the module name “invoices” with the required module name in the url given: “https://www.zohoapis.com/books/v3/invoices?organization_id=10234695”
type: POST
To get the Deluge sample script for other modules:
- Access the Zoho Books API.
- Navigate to the required module.
- Click Create API.
- Now, click the Request Example button.
- Click on the drop-down and select Deluge for the sample script.