Zoho Inventory icon

Zoho Inventory

Consume Zoho Inventory API

Actions14

Overview

This node integrates with the Zoho Inventory API to manage inventory items, assemblies, and composite items. Specifically, the "Item - Get by SKU" operation retrieves detailed information about an inventory item using its SKU code. This is useful in scenarios where you have the SKU and want to fetch all associated data for that item without needing the internal item ID.

Practical examples include:

  • Automatically fetching product details in workflows when only SKU codes are available.
  • Validating SKUs against Zoho Inventory before processing orders.
  • Synchronizing external systems with Zoho Inventory data based on SKU.

Properties

Name Meaning
SKU Code The SKU code of the item to retrieve. Example: "ITEM-001". This is a required string input used to identify the item uniquely by its SKU.

Output

The output JSON contains the full item object as returned by the Zoho Inventory API for the given SKU. It includes all standard item fields such as name, SKU, description, pricing, stock levels, and other metadata defined in Zoho Inventory.

No binary data is output by this operation.

Example output structure (simplified):

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

Dependencies

  • Requires valid Zoho Inventory OAuth2 credentials configured in n8n.
  • Requires the Organization ID to be set within the credentials.
  • Uses Zoho Inventory REST API endpoints.
  • No additional environment variables are needed beyond the OAuth2 credential setup.

Troubleshooting

  • Missing Credentials: If the OAuth2 credentials or Organization ID are not configured, the node will throw errors indicating missing authentication or organization details. Ensure these are properly set up in n8n credentials.
  • Invalid SKU: If the SKU does not exist in Zoho Inventory, the API may return an error or empty result. Verify the SKU is correct and exists in your Zoho Inventory account.
  • API Errors: Network issues or API limits can cause failures. Check API response messages for details.
  • Continue On Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error details in the output JSON.

Links and References

Discussion