KosmoKrator

ecommerce

Zoho Inventory CLI for AI Agents

Use the Zoho Inventory CLI from KosmoKrator to call Zoho Inventory tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

7 functions 7 read 0 write Manual OAuth token auth

Zoho Inventory CLI Setup

Zoho Inventory can be configured headlessly with `kosmokrator integrations:configure zoho_inventory`.

# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
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
kosmokrator integrations:doctor zoho_inventory --json
kosmokrator integrations:status --json

Credentials

Authentication type: Manual OAuth token oauth2_manual_token. Configure credentials once, then use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
access_token ZOHO_INVENTORY_ACCESS_TOKEN Secret secret yes Access Token
organization_id ZOHO_INVENTORY_ORGANIZATION_ID Text text yes Organization ID
url ZOHO_INVENTORY_URL URL url no API Base URL

Call Zoho Inventory Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

kosmo integrations:call zoho_inventory.zoho_inventory_list_items '{
  "page": 1,
  "per_page": 1,
  "status": "example_status"
}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:zoho_inventory zoho_inventory_list_items '{
  "page": 1,
  "per_page": 1,
  "status": "example_status"
}' --json

Agent Discovery Commands

These commands return structured output for coding agents that need to inspect capabilities 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

All CLI Functions

Every function below can be called headlessly. The generic form is stable across all integrations; the provider shortcut is shorter but specific to Zoho Inventory.

zoho_inventory.zoho_inventory_list_items

Read read

List inventory items (products) from Zoho Inventory. Supports pagination and optional filtering by status (active, inactive, all).

Parameters
page, per_page, status

Generic CLI call

kosmo integrations:call zoho_inventory.zoho_inventory_list_items '{"page":1,"per_page":1,"status":"example_status"}' --json

Provider shortcut

kosmo integrations:zoho_inventory zoho_inventory_list_items '{"page":1,"per_page":1,"status":"example_status"}' --json

zoho_inventory.zoho_inventory_get_item

Read read

Get detailed information about a specific inventory item (product) by its Zoho Inventory ID.

Parameters
item_id

Generic CLI call

kosmo integrations:call zoho_inventory.zoho_inventory_get_item '{"item_id":"example_item_id"}' --json

Provider shortcut

kosmo integrations:zoho_inventory zoho_inventory_get_item '{"item_id":"example_item_id"}' --json

zoho_inventory.zoho_inventory_list_orders

Read read

List sales orders from Zoho Inventory. Supports pagination and optional filtering by status (draft, confirmed, void, open, invoiced, partially_invoiced, all).

Parameters
page, per_page, status

Generic CLI call

kosmo integrations:call zoho_inventory.zoho_inventory_list_orders '{"page":1,"per_page":1,"status":"example_status"}' --json

Provider shortcut

kosmo integrations:zoho_inventory zoho_inventory_list_orders '{"page":1,"per_page":1,"status":"example_status"}' --json

zoho_inventory.zoho_inventory_get_order

Read read

Get detailed information about a specific sales order by its Zoho Inventory ID.

Parameters
order_id

Generic CLI call

kosmo integrations:call zoho_inventory.zoho_inventory_get_order '{"order_id":"example_order_id"}' --json

Provider shortcut

kosmo integrations:zoho_inventory zoho_inventory_get_order '{"order_id":"example_order_id"}' --json

zoho_inventory.zoho_inventory_list_shipments

Read read

List shipments from Zoho Inventory. Supports pagination to browse through shipment records.

Parameters
page, per_page

Generic CLI call

kosmo integrations:call zoho_inventory.zoho_inventory_list_shipments '{"page":1,"per_page":1}' --json

Provider shortcut

kosmo integrations:zoho_inventory zoho_inventory_list_shipments '{"page":1,"per_page":1}' --json

zoho_inventory.zoho_inventory_list_packages

Read read

List packages from Zoho Inventory. Supports pagination to browse through package records.

Parameters
page, per_page

Generic CLI call

kosmo integrations:call zoho_inventory.zoho_inventory_list_packages '{"page":1,"per_page":1}' --json

Provider shortcut

kosmo integrations:zoho_inventory zoho_inventory_list_packages '{"page":1,"per_page":1}' --json

zoho_inventory.zoho_inventory_get_current_user

Read read

Get details of the currently authenticated Zoho Inventory user. Useful for verifying credentials and checking permissions.

Parameters
none

Generic CLI call

kosmo integrations:call zoho_inventory.zoho_inventory_get_current_user '{}' --json

Provider shortcut

kosmo integrations:zoho_inventory zoho_inventory_get_current_user '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

zoho_inventory.zoho_inventory_list_items

List inventory items (products) from Zoho Inventory. Supports pagination and optional filtering by status (active, inactive, all).

Operation
Read read
Schema command
kosmo integrations:schema zoho_inventory.zoho_inventory_list_items --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of items per page, max 200 (default: 25).
status string no Filter by item status: active, inactive, all.

zoho_inventory.zoho_inventory_get_item

Get detailed information about a specific inventory item (product) by its Zoho Inventory ID.

Operation
Read read
Schema command
kosmo integrations:schema zoho_inventory.zoho_inventory_get_item --json
ParameterTypeRequiredDescription
item_id string yes The Zoho Inventory item ID.

zoho_inventory.zoho_inventory_list_orders

List sales orders from Zoho Inventory. Supports pagination and optional filtering by status (draft, confirmed, void, open, invoiced, partially_invoiced, all).

Operation
Read read
Schema command
kosmo integrations:schema zoho_inventory.zoho_inventory_list_orders --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of orders per page, max 200 (default: 25).
status string no Filter by order status: draft, confirmed, void, open, invoiced, partially_invoiced, all.

zoho_inventory.zoho_inventory_get_order

Get detailed information about a specific sales order by its Zoho Inventory ID.

Operation
Read read
Schema command
kosmo integrations:schema zoho_inventory.zoho_inventory_get_order --json
ParameterTypeRequiredDescription
order_id string yes The Zoho Inventory sales order ID.

zoho_inventory.zoho_inventory_list_shipments

List shipments from Zoho Inventory. Supports pagination to browse through shipment records.

Operation
Read read
Schema command
kosmo integrations:schema zoho_inventory.zoho_inventory_list_shipments --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of shipments per page, max 200 (default: 25).

zoho_inventory.zoho_inventory_list_packages

List packages from Zoho Inventory. Supports pagination to browse through package records.

Operation
Read read
Schema command
kosmo integrations:schema zoho_inventory.zoho_inventory_list_packages --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of packages per page, max 200 (default: 25).

zoho_inventory.zoho_inventory_get_current_user

Get details of the currently authenticated Zoho Inventory user. Useful for verifying credentials and checking permissions.

Operation
Read read
Schema command
kosmo integrations:schema zoho_inventory.zoho_inventory_get_current_user --json
ParameterTypeRequiredDescription
No parameters.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.