
Tiny ERP
Actions9
- Products Actions
- Orders Actions
- Users Actions
Overview
The node integrates with the Tiny ERP system to retrieve stock information for products. Specifically, the "Get Stock" operation fetches current stock details of a specified product by its ID. This is useful in scenarios where you need to monitor inventory levels, synchronize stock data with other systems, or trigger workflows based on stock availability.
For example, an e-commerce business could use this node to automatically check stock before confirming orders or to update their website's product availability in real-time.
Properties
| Name | Meaning |
|---|---|
| Product ID | The unique identifier of the product for which to retrieve stock information (required). |
Output
The node outputs JSON data containing the stock information of the specified product. The exact structure depends on the Tiny ERP API response but typically includes fields such as available quantity, reserved stock, and warehouse location.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential to authenticate with the Tiny ERP API.
- The node depends on network access to the Tiny ERP service endpoint.
- Proper configuration of the API authentication credentials within n8n is necessary.
Troubleshooting
Common issues:
- Providing an invalid or missing Product ID will cause errors.
- Network connectivity problems can prevent successful API calls.
- Insufficient permissions or incorrect API credentials may result in authorization errors.
Error messages:
"The operation "getStock" is not supported for resource "products": Indicates a misconfiguration or unsupported operation/resource combination.- API error messages returned from Tiny ERP are passed through; these often indicate invalid input or authentication failures.
Resolutions:
- Ensure the Product ID is correctly provided and exists in Tiny ERP.
- Verify API credentials and permissions.
- Check network connectivity and endpoint accessibility.
- Use the node’s "Continue On Fail" option to handle errors gracefully in workflows.
Links and References
- Tiny ERP Official Documentation (example placeholder)
- n8n Documentation on Creating Custom Nodes