Actions39
- Account Actions
- Client Actions
- Document Actions
- Product Actions
- Receipt Actions
- Store Actions
- Supplier Actions
Product → Update Product
AI-generatedOverview
The "Update Product" operation in this Vendus node allows users to modify existing product details within the Vendus invoicing and business management system via its API. This operation is useful for keeping product information current, such as updating pricing, stock control settings, categorization, or tax rates.
Typical scenarios include:
- Changing a product's title or description after rebranding.
- Adjusting prices or supply costs due to market changes.
- Enabling or disabling stock control for inventory management.
- Updating tax classification or product status (active/inactive).
- Modifying categorization like brand, category, or class to reflect organizational changes.
For example, a retailer could automate updating product prices and stock control settings nightly based on supplier data or sales trends.
Properties
| Name | Meaning |
|---|---|
| Product Name or ID | The unique identifier or name of the product to update. Can be selected from a list or specified dynamically using an expression. |
| Product Title | The new name/title of the product. |
| Basic Information | Collection of basic product details: - Barcode: Product barcode. - Description: Textual description. - Reference: Internal reference code. - Status: Active or Inactive. - Type: Product type (Other, Product, Service, Special Consumption Tax, Tax). |
| Categorization | Collection defining product classification: - Brand Name or ID: Select or specify brand. - Category Name or ID: Select or specify category. - Class: Product class (e.g., Alcohol and Tobacco, Food, Electronics). |
| Pricing | Collection of pricing details: - Gross Price: The gross selling price. - Supply Price: The cost price or supply price. |
| Stock Management | Collection related to stock control: - Stock Control: Enable or disable stock tracking. - Stock Type: Type of stock (By-Products, Finished Products, Merchandise, Raw Materials, Work in Progress). |
| Tax Information | Collection for tax-related info: - Tax Rate: Tax classification (Exempt, Intermediate Rate, Normal Rate, Others, Reduced Rate). |
| Custom JSON | A JSON object allowing custom additional product data to be sent with the update. |
| Options | Additional options: - Enable Debug Logging: Boolean flag to enable detailed debug logs for troubleshooting API calls. |
Output
The node outputs an array of JSON objects representing the response from the Vendus API for each updated product item. Each output item contains the full JSON response returned by the API, which typically includes the updated product details as stored in Vendus.
No binary data is output by this node.
Dependencies
- Requires an active connection to the Vendus API, authenticated via an API key credential configured in n8n.
- The base URL for the Vendus API must be set in the credentials.
- Optional debug logging can be enabled to assist with troubleshooting API requests and responses.
Troubleshooting
- Missing or invalid product ID: If the product identifier is not provided or incorrect, the API will fail to locate the product. Ensure the "Product Name or ID" property is correctly set.
- API authentication errors: Invalid or missing API credentials will cause request failures. Verify that the API key credential is properly configured.
- Invalid property values: Providing unsupported values for fields like status, type, or tax rate may result in API errors. Use the provided options or valid IDs.
- Network or connectivity issues: Failures to reach the Vendus API endpoint will cause errors. Check network access and base URL configuration.
- Debug logging: Enable the "Enable Debug Logging" option to get detailed logs about request URLs, bodies, and responses, which helps identify issues.
- Error messages: Common error messages include missing required parameters or invalid data formats. Review the error details in the output or logs to correct input data.
Links and References
- Vendus API Documentation (official site linked in node description)
- n8n Expressions Documentation – for dynamic parameter usage
- Vendus product categories, brands, and other options are dynamically loaded via API calls within the node for selection convenience.