Vendus icon

Vendus

Interact with Vendus API for invoicing and business management. Developed by Pixel Infinito (https://pixel.ao)

Product → Get Product by ID

AI-generated

Overview

This node integrates with the Vendus API, specifically enabling users to retrieve detailed information about a product by its ID. It is useful in scenarios where you need to fetch product details dynamically within an automation workflow, such as syncing product data with other systems, generating reports, or validating product information before processing orders.

For example, you might use this node to:

  • Retrieve a product's full details by specifying its unique identifier.
  • Use the fetched product data downstream in your workflow for inventory checks or pricing updates.
  • Automate product data synchronization between Vendus and another platform.

Properties

Name Meaning
Product Name or ID The unique identifier or name of the product to retrieve. You can select from a list or specify an ID using an expression. This property is required.
Options Additional optional settings:
- Enable Debug Logging: When enabled, provides detailed logs for troubleshooting API calls.

Output

The node outputs JSON data representing the product details retrieved from the Vendus API. The structure typically includes all available fields for the product, such as title, reference, category, price, stock levels, and other metadata provided by the API.

No binary data output is produced by this node.

Example output snippet (simplified):

{
  "id": "123",
  "title": "Sample Product",
  "reference": "SP-001",
  "category": "Electronics",
  "price": 99.99,
  "stock": 50,
  ...
}

Dependencies

  • Requires an active connection to the Vendus API via an API key credential configured in n8n.
  • The node uses the base URL and authentication credentials set up in the Vendus API credential configuration.
  • Optional debug logging depends on the node's internal logger and can be enabled via the "Options" property.

Troubleshooting

  • Missing or invalid Product ID: If the "Product Name or ID" parameter is empty or incorrect, the node will throw an error indicating that the required parameter is missing or invalid. Ensure the correct product ID is provided.
  • API connectivity issues: Network problems or incorrect API credentials may cause request failures. Enable debug logging to get detailed error messages and verify the API base URL and credentials.
  • No routing configuration found: This error indicates an internal misconfiguration or unsupported operation/resource combination. Verify that the resource is set to "Product" and operation to "Get Product by ID".
  • Unexpected API response: If the API returns unexpected data or errors, check the Vendus API status and ensure the product ID exists.

Links and References

Discussion