Actions21
Pedidos → Get
AI-generatedOverview
This node interacts with the Tiny ERP API v3 using OAuth2 authentication. Specifically, for the Pedidos resource with the Get operation, it retrieves a single order by its unique ID. This is useful when you need to fetch detailed information about a specific order from your ERP system, such as for order tracking, status verification, or integration with other business processes.
Practical examples include:
- Fetching an order's details to display in a custom dashboard.
- Retrieving order data to trigger downstream workflows like shipping or invoicing.
- Validating order information before updating or processing payments.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the order (Pedido) to retrieve. This is required and must be provided to fetch the specific order. |
Output
The node outputs JSON data representing the requested order. The structure corresponds to the order object returned by the Tiny ERP API v3. It typically includes fields such as order ID, customer details, items, quantities, prices, status, dates, and other relevant order metadata.
If multiple input items are processed, the output will be an array of JSON objects, each containing one order's data.
No binary data output is indicated for this operation.
Dependencies
- Requires an OAuth2 API credential configured in n8n to authenticate with the Tiny ERP API.
- Internet access to communicate with the Tiny ERP API endpoints.
- Proper permissions on the API key to read order data.
Troubleshooting
- Error: Unknown resource — This indicates the specified resource name is not recognized. Ensure "Pedidos" is correctly selected as the resource.
- Missing or invalid ID — The ID property is required for the Get operation. Make sure a valid order ID string is provided.
- Authentication errors — Verify that the OAuth2 credentials are correctly set up and have not expired.
- API rate limits or connectivity issues — Check network connectivity and API usage quotas if requests fail intermittently.
- If the node returns an error message in the output JSON under
error, review the message for clues and adjust parameters accordingly.
Links and References
- Tiny ERP API Documentation (general reference for API endpoints and data structures)
- n8n OAuth2 Credential Setup (guide to configure OAuth2 credentials in n8n)