## Zoho Inventory Documentation Index Access the complete documentation index at: https://www.zoho.com/en-fr/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? ![](/inventory/images/ue-resources/llm-utility-menu/sparkle-ai.svg) Explore With AI ![](/inventory/images/ue-resources/llm-utility-menu/dd-arrow.svg) * [Open in ChatGPT (opens in new tab)](https://chatgpt.com/?prompt=Analyze+the+content+of+https%3A%2F%2Fwww.zoho.com%2Fen-fr%2Finventory%2Fkb%2Fautomation%2Fsample-script-to-create-records.html+and+understand+it+thoroughly+so+I+can+ask+questions+about+it.) * [Open in Claude (opens in new tab)](https://claude.ai/new?q=Analyze+the+content+of+https%3A%2F%2Fwww.zoho.com%2Fen-fr%2Finventory%2Fkb%2Fautomation%2Fsample-script-to-create-records.html+and+understand+it+thoroughly+so+I+can+ask+questions+about+it.) * ![Copy for LLM](/inventory/images/ue-resources/llm-utility-menu/copy.svg) Copy for LLM * [![View as Markdown](/inventory/images/ue-resources/llm-utility-menu/md.svg) View as Markdown (opens in new tab)](/en-fr/inventory/kb/automation/sample-script-to-create-records.md) 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: \] 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. * * *