Tiny ERP Auth2 icon

Tiny ERP Auth2

Interact with Tiny ERP API v3 with OAuth2

Produtos → Get

AI-generated

Overview

This node interacts with the "Produtos" (Products) resource of the Tiny ERP API v3 using OAuth2 authentication. Specifically, the Get operation retrieves detailed information about a single product by its ID.

Typical use cases include:

  • Fetching product details to display or process in workflows.
  • Integrating product data from Tiny ERP into other systems or reports.
  • Automating inventory or catalog updates based on product information.

For example, you might use this node to get all relevant data about a product, including its variations, stock levels, suppliers, SEO metadata, and kit components, enabling comprehensive product management within an automated workflow.

Properties

Name Meaning
Product ID The numeric ID of the product to retrieve.
Options Collection of optional flags to customize the response:
- Include Variations Whether to include product variations in the response (true/false).
- Include Stock Info Whether to include stock information in the response (true/false).
- Include Suppliers Whether to include supplier information in the response (true/false).
- Include SEO Data Whether to include SEO-related information in the response (true/false).
- Include Kit Components Whether to include kit component information in the response (true/false).

Output

The node outputs JSON data representing the product details as returned by the Tiny ERP API. This includes fields corresponding to the product's core attributes and any additional data requested via the options (variations, stock info, suppliers, SEO data, kit components).

If multiple items are returned (unlikely for a single product get), they are output as separate JSON objects in the array.

No binary data is output by this node.

Dependencies

  • Requires an OAuth2 API credential configured in n8n to authenticate with the Tiny ERP API.
  • Depends on the Tiny ERP API v3 being accessible and the provided product ID existing in the system.

Troubleshooting

  • Common issues:

    • Invalid or missing product ID will cause errors or empty responses.
    • Authentication failures if the OAuth2 token is expired or misconfigured.
    • Network or API downtime can cause request failures.
  • Error messages:

    • "Unknown resource: produtos" — indicates the resource name was not recognized; ensure "produtos" is correctly specified.
    • Errors related to invalid credentials or permissions should be resolved by verifying the OAuth2 setup.
    • If the node returns { error: "..." } in the output JSON, check the message for specifics such as "Product not found" or API rate limits.

Links and References

Discussion