Zoho Inventory icon

Zoho Inventory

Consume Zoho Inventory API

Actions14

Overview

This node integrates with the Zoho Inventory API to manage assemblies, composite items, and inventory items. Specifically for the Assembly - Get operation, it retrieves detailed information about a specific assembly by its ID. This is useful in scenarios where you need to fetch the current state or details of an assembly process in your inventory system, such as verifying assembled product quantities, dates, or reference numbers.

Practical examples:

  • Fetching an assembly record to confirm the quantity assembled on a particular date.
  • Retrieving assembly details before updating or deleting the record.
  • Integrating assembly data into reporting or workflow automation.

Properties

Name Meaning
Assembly ID The unique identifier of the assembly to retrieve. This is required to specify which assembly record to get from Zoho Inventory.

Output

The output JSON contains the details of the requested assembly under the json field. The structure corresponds to the assembly object returned by the Zoho Inventory API, typically including fields such as:

  • Assembly ID
  • Composite item ID
  • Quantity assembled
  • Date of assembly
  • Reference number (if any)
  • Other metadata related to the assembly

No binary data is output by this operation.

Example output snippet:

{
  "assembly": {
    "assembly_id": "123456789",
    "composite_item_id": "987654321",
    "quantity_to_assemble": 10,
    "date": "2024-01-01T00:00:00Z",
    "reference_number": "REF-001"
  }
}

Dependencies

  • Requires an OAuth2 credential configured for Zoho Inventory API access.
  • 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 connectivity to Zoho Inventory API endpoints is necessary.

Troubleshooting

  • Missing credentials error: If the OAuth2 credentials are not set up or invalid, the node will throw an error indicating that Zoho Inventory credentials were not found. Ensure credentials are properly configured in n8n.
  • Organization ID missing: The Organization ID must be set in the credentials; otherwise, the node will fail with a descriptive error. Verify the Organization ID in your Zoho Inventory OAuth2 credential settings.
  • Invalid Assembly ID: If the provided Assembly ID does not exist or is malformed, the API will return an error. Double-check the ID value.
  • API errors: Any other API errors will be surfaced with messages from Zoho Inventory. Common issues include rate limits, permission issues, or network problems.
  • 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