Zoho Inventory icon

Zoho Inventory

Consume Zoho Inventory API

Actions14

Overview

This node interacts with the Zoho Inventory API to manage composite items, which are products made up of multiple component items. Specifically, the "Get" operation for the "Composite Item" resource retrieves detailed information about a single composite item by its ID.

Use cases include:

  • Fetching details of a composite product to display or process in workflows.
  • Integrating inventory data into other systems or automations.
  • Validating composite item existence and attributes before further processing.

Example: You have a bundled product composed of several individual items; this node can retrieve the full definition and pricing of that bundle by its composite item ID.

Properties

Name Meaning
Composite Item ID The unique identifier of the composite item to retrieve

Output

The output JSON contains a single field composite_item representing the retrieved composite item object. This object includes all details as returned by the Zoho Inventory API, such as name, SKU, rate, and the list of component items.

Example output structure (simplified):

{
  "composite_item": {
    "composite_item_id": "123456",
    "name": "Bundle Product",
    "sku": "BUNDLE-001",
    "rate": 150.00,
    "mapped_items": [
      {
        "item_id": "111",
        "quantity": 2
      },
      {
        "item_id": "222",
        "quantity": 1
      }
    ],
    ...
  }
}

No binary data is output by this operation.

Dependencies

  • Requires an OAuth2 API key credential configured for Zoho Inventory.
  • The credential must include a valid Organization ID.
  • The node uses the Zoho Inventory REST API endpoint corresponding to the configured data center region.
  • Network access to Zoho Inventory API endpoints is required.

Troubleshooting

  • Missing Credentials: If the OAuth2 credentials or Organization ID are not set, the node will throw errors prompting configuration.
  • Invalid Composite Item ID: Providing a non-existent or malformed composite item ID will result in an API error.
  • API Errors: Any Zoho Inventory API error responses are surfaced with their message and code.
  • Rate Limits / Connectivity: Network issues or API rate limits may cause failures; ensure stable connectivity and check Zoho API usage quotas.

To resolve errors:

  • Verify OAuth2 credentials and organization ID in n8n credentials settings.
  • Confirm the composite item ID exists in your Zoho Inventory account.
  • Check network connectivity and API status.

Links and References

Discussion