ecommerce
Zoho Inventory CLI for Headless Automation
Use the Zoho Inventory CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write Manual OAuth token auth
Zoho Inventory CLI for Headless Automation
Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.
Use headless automation when another tool needs a stable local command surface. The Zoho Inventory CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Zoho Inventory CLI for Headless Automation
kosmokrator integrations:configure zoho_inventory --set access_token="$ZOHO_INVENTORY_ACCESS_TOKEN" --set organization_id="$ZOHO_INVENTORY_ORGANIZATION_ID" --enable --read allow --write ask --json
kosmo integrations:call zoho_inventory.zoho_inventory_list_items '{"page":1,"per_page":1,"status":"example_status"}' --json Discovery Before Execution
Agents and scripts can inspect Zoho Inventory docs and schemas before choosing a function.
kosmo integrations:docs zoho_inventory --json
kosmo integrations:docs zoho_inventory.zoho_inventory_list_items --json
kosmo integrations:schema zoho_inventory.zoho_inventory_list_items --json
kosmo integrations:search "Zoho Inventory" --json
kosmo integrations:list --json Useful Zoho Inventory CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
zoho_inventory.zoho_inventory_list_items | Read | page, per_page, status | List inventory items (products) from Zoho Inventory. Supports pagination and optional filtering by status (active, inactive, all). |
zoho_inventory.zoho_inventory_get_item | Read | item_id | Get detailed information about a specific inventory item (product) by its Zoho Inventory ID. |
zoho_inventory.zoho_inventory_list_orders | Read | page, per_page, status | List sales orders from Zoho Inventory. Supports pagination and optional filtering by status (draft, confirmed, void, open, invoiced, partially_invoiced, all). |
zoho_inventory.zoho_inventory_get_order | Read | order_id | Get detailed information about a specific sales order by its Zoho Inventory ID. |
zoho_inventory.zoho_inventory_list_shipments | Read | page, per_page | List shipments from Zoho Inventory. Supports pagination to browse through shipment records. |
zoho_inventory.zoho_inventory_list_packages | Read | page, per_page | List packages from Zoho Inventory. Supports pagination to browse through package records. |
zoho_inventory.zoho_inventory_get_current_user | Read | none | Get details of the currently authenticated Zoho Inventory user. Useful for verifying credentials and checking permissions. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.