Actions39
- Account Actions
- Client Actions
- Document Actions
- Product Actions
- Receipt Actions
- Store Actions
- Supplier Actions
Product → Create Product
AI-generatedOverview
The "Create Product" operation in this node allows users to add new products to their Vendus account via the Vendus API. This is useful for automating product catalog management, integrating product creation into workflows, or syncing product data from other systems.
Typical scenarios include:
- Automatically adding new products when they are created in an external system.
- Bulk importing products with detailed attributes.
- Updating inventory systems by creating products programmatically.
For example, a retailer could use this node to create new product entries with pricing, stock control, and tax information directly from their ERP or e-commerce platform.
Properties
| Name | Meaning |
|---|---|
| Product Title | The name of the product to be created. (Required) |
| Unit Name or ID | The unit of measurement for the product, chosen from a list or specified by ID (e.g., Each, Kilogram, Liter). (Required) |
| Basic Information | Collection of basic product details: - Barcode: Product barcode - Description: Text description of the product - Reference: Product reference code - Status: Active or Inactive - Type: Product type (Other, Product, Service, Special Consumption Tax, Tax) |
| Categorization | Collection of categorization info: - Brand Name or ID: Select or specify brand - Category Name or ID: Select or specify category - Class: Product class such as Alcohol and Tobacco, Electronics, Food, etc. |
| Pricing | Collection of pricing details: - Gross Price: The gross price of the product - Supply Price: The supply cost of the product |
| Stock Management | Collection of stock control settings: - Stock Control: Enable or disable stock control (Yes/No) - Stock Type: Type of stock (By-Products, Finished Products, Merchandise, Raw Materials, Work in Progress) |
| Tax Information | Collection of tax-related info: - Tax Rate: Product tax rate (Exempt, Intermediate Rate, Normal Rate, Others, Reduced Rate) |
| Custom JSON | A JSON object allowing custom additional product data |
| Options | Additional options: - Enable Debug Logging: Boolean flag to enable detailed debug logs for troubleshooting API calls |
Output
The node outputs the response from the Vendus API after attempting to create the product. The output is a JSON object representing the newly created product's data as returned by the API.
If debug logging is enabled, detailed logs about the request and response are generated internally but not included in the output.
The node does not output binary data.
Dependencies
- Requires an active connection to the Vendus API using an API key credential configured in n8n.
- The base URL for the Vendus API must be set in the credentials.
- The node uses HTTP requests authenticated with the provided API key to interact with Vendus endpoints.
- Some property options (like units, brands, categories) are dynamically loaded from Vendus API endpoints.
Troubleshooting
- Missing Required Parameters: If required fields like "Product Title" or "Unit Name or ID" are missing, the node will throw an error indicating the missing parameter.
- API Authentication Errors: Invalid or missing API credentials will cause authentication failures. Ensure the API key and base URL are correctly configured.
- Network Issues: Connectivity problems can cause request failures; verify network access to the Vendus API.
- Invalid Option Values: Selecting or specifying invalid IDs for units, brands, or categories may result in API errors.
- Debug Logging: Enabling debug logging helps trace request URLs, bodies, and responses, which aids in diagnosing issues.
- Error Responses: The node captures API error messages and includes them in the output if "Continue On Fail" is enabled, otherwise it throws exceptions.
Links and References
- Vendus API Documentation (as referenced in the node description)
- n8n Expressions Documentation — for using expressions in property values
- Vendus product management concepts (units, brands, categories, tax rates) as per Vendus API schema