Actions14
Overview
This node integrates with the Tiny ERP system to manage product data. Specifically, the Update Product operation allows users to modify existing product details in their Tiny ERP account. This is useful for keeping product information current, such as updating descriptions, SKUs, barcodes, classifications, or warranty info.
Typical use cases include:
- Updating product descriptions or complementary information after a product revision.
- Changing SKU or GTIN codes when products are rebranded or repackaged.
- Adjusting product origin or type (e.g., switching from product to service).
- Adding or modifying warranty and observation notes.
For example, an e-commerce business could automate updating product details in Tiny ERP whenever new product information is available from suppliers or internal systems.
Properties
| Name | Meaning |
|---|---|
| Product ID | The unique identifier of the product to update. |
| Product Data | Collection of fields to update on the product: |
| - Complementary Description: Additional descriptive text about the product. | |
| - Description: Main product description. | |
| - GTIN: Global Trade Item Number barcode. | |
| - NCM: Product classification code. | |
| - Observations: Any additional notes or remarks. | |
| - Origin: Numeric code representing the product's origin. | |
| - SKU: Stock Keeping Unit identifier. | |
| - Type: Product type, selectable from Kit, Product, or Service. | |
| - Unit: Unit of measurement for the product. | |
| - Warranty: Warranty information related to the product. |
Output
The output JSON object confirms the success of the update operation and returns the updated product's ID:
{
"success": true,
"productId": 12345
}
success: Boolean indicating if the update was successful.productId: The ID of the product that was updated.
No binary data is produced by this operation.
Dependencies
- Requires an active connection to the Tiny ERP API via an OAuth2-based credential.
- The node depends on the external Tiny ERP REST API endpoints for product management.
- Proper API credentials must be configured in n8n to authenticate requests.
Troubleshooting
Common Issues:
- Invalid or missing Product ID: Ensure the product ID exists in Tiny ERP before attempting an update.
- Insufficient permissions: The API key used must have rights to update product data.
- Network or API downtime: Temporary connectivity issues can cause request failures.
Error Messages:
"The operation "update" is not supported!"— Occurs if the operation parameter is incorrect; verify the selected operation."The resource "product" is not supported!"— Happens if the resource parameter is invalid; ensure "product" is selected.- API errors returned from Tiny ERP will be passed through; check the error message for details like validation failures or authentication errors.
Resolution Tips:
- Double-check all required parameters are provided and valid.
- Confirm API credentials are correctly set up and authorized.
- Use the continue-on-fail option to handle individual item errors gracefully in batch operations.
Links and References
- Tiny ERP API Documentation (official API docs for reference)
- n8n OAuth2 Credential Setup (for configuring API authentication)