Zoho Inventory icon

Zoho Inventory

Consume Zoho Inventory API

Actions14

Overview

This node integrates with the Zoho Inventory API to manage inventory items. Specifically, the "Item" resource with the "Get All" operation retrieves multiple inventory items from Zoho Inventory. It supports fetching either all available items or a limited subset based on user input.

Common scenarios for this node include:

  • Synchronizing your inventory database by retrieving all items.
  • Displaying a paginated list of items in an application.
  • Automating reports or analytics that require bulk item data.

For example, you might use this node to fetch all items before updating stock levels or to retrieve a specific number of items for display in a dashboard.

Properties

Name Meaning
Return All Whether to return all results or only up to a given limit. Options: true or false.
Limit Maximum number of results to return when "Return All" is false. Range: 1 to 200.

Output

The output consists of an array of JSON objects, each representing an individual inventory item retrieved from Zoho Inventory. Each JSON object contains the full details of an item as returned by the Zoho Inventory API under the json property.

No binary data is output by this operation.

Example output structure (simplified):

{
  "json": {
    "item_id": "123456",
    "name": "Sample Item",
    "sku": "ITEM-001",
    "description": "Description of the item",
    "rate": 100.00,
    "stock_on_hand": 50,
    ...
  }
}

Dependencies

  • Requires valid Zoho Inventory OAuth2 credentials configured in n8n.
  • The node uses the Zoho Inventory API and requires an Organization ID set within the credentials.
  • Network access to Zoho Inventory API endpoints is necessary.

Troubleshooting

  • Missing Credentials: If the node throws an error about missing credentials, ensure that the Zoho Inventory OAuth2 credentials are properly configured in n8n.
  • Organization ID Missing: An error indicating a missing Organization ID means you need to specify your organization’s ID in the credential settings.
  • API Rate Limits or Errors: If the API returns errors, check your Zoho Inventory account limits and permissions.
  • Limit Exceeded: The maximum allowed limit per request is 200; setting a higher limit will cause an error.
  • Partial Data When Not Returning All: If you do not select "Return All," only up to the specified limit of items will be returned.

Links and References

Discussion