## Zoho Inventory Documentation Index

Access the complete documentation index at:
https://www.zoho.com/in/inventory/llms.txt

Use this file to discover all available documentation pages before proceeding.

[Back](./)

# Can I get the sample Deluge script to create records in Zoho Inventory?

Check the following Deluge script to create a record in Zoho Inventory:

```
parameters\_data='{"field1":"value1","field2":"value2"}';

response = invokeUrl

\[

url: "https://www.zoho.com/inventory/api/v1/invoices/#overview\_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: _“[](/inventory/api/v1/invoices/#overview)[https://www.zoho.com/inventory/api/v1/invoices/#overview](https://www.zoho.com/inventory/api/v1/invoices/#overview)\_id=10234695”_

_type: POST_

To get the Deluge sample script for other modules:

*   Access the [Zoho Inventory API](/inventory/api/v1/introduction/#overview).
*   Navigate to the required module.
*   Click **Create API**.
*   Now, click the **Request Example** button.
*   Click on the dropdown and select **Deluge** for the sample script.

* * *