Actions14
Overview
This node integrates with Zoho Inventory to manage Composite Items, specifically supporting the creation of new composite items. Composite items are products made up of multiple component items (line items), useful for businesses that sell bundled or assembled products.
The Create Composite Item operation allows users to define a new composite item by specifying its name, SKU, selling price, and the list of component items with their quantities. Additional optional fields such as description, purchase rate, reorder level, and initial stock details can also be provided.
Practical examples:
- A retailer creating a gift basket product composed of several individual items.
- A manufacturer defining a kit consisting of multiple parts sold as one unit.
- An e-commerce store bundling accessories together under a single SKU.
Properties
| Name | Meaning |
|---|---|
| Name | The name of the composite item to create. |
| SKU | Stock Keeping Unit code uniquely identifying the composite item. |
| Rate | Selling price of the composite item (with two decimal precision). |
| Line Items | List of component items included in the composite item. Each line item requires: |
| - Item ID | ID of the component item. |
| - Quantity | Quantity of the component item included (with three decimal precision). |
| Additional Fields | Optional extra information about the composite item: |
| - Description | Text description of the composite item. |
| - Purchase Rate | Cost price of the composite item (two decimal precision). |
| - Reorder Level | Stock level at which the item should be reordered. |
| - Initial Stock | Initial quantity of stock available for the composite item. |
| - Initial Stock Rate | Initial stock rate per unit (two decimal precision). |
Output
The output JSON contains the newly created composite item object returned from Zoho Inventory API under the json field. This includes all details of the composite item such as its ID, name, SKU, rate, mapped component items, and any additional fields set during creation.
Example output structure:
{
"json": {
"composite_item": {
"composite_item_id": "string",
"name": "string",
"sku": "string",
"rate": number,
"mapped_items": [
{
"item_id": "string",
"quantity": number
}
],
"description": "string",
"purchase_rate": number,
"reorder_level": number,
"initial_stock": number,
"initial_stock_rate": number
}
}
}
No binary data is output by this node.
Dependencies
- Requires an API authentication token configured via OAuth2 credentials for Zoho Inventory.
- Requires the Organization ID to be set within the credentials configuration.
- Uses Zoho Inventory REST API endpoints to perform operations.
- No other external dependencies.
Troubleshooting
Missing Credentials or Organization ID:
Error message: "Zoho Inventory credentials not found" or "Organization ID is missing".
Resolution: Configure OAuth2 credentials properly and ensure the Organization ID is set in the credential settings.API Errors from Zoho Inventory:
If the API returns an error code or message, it will be surfaced as a node error.
Resolution: Check the error message for details, verify input parameters, and ensure the API user has sufficient permissions.Invalid or Missing Required Fields:
The node requires mandatory fields like Name, SKU, Rate, and Line Items with valid IDs and quantities.
Resolution: Ensure all required fields are provided and correctly formatted.Network or Connectivity Issues:
HTTP request failures may occur due to network problems.
Resolution: Verify internet connectivity and API endpoint accessibility.