Actions20
Overview
This node integrates with the ShipTown API to manage product data among other resources. Specifically, for the Product - Get All operation, it retrieves a list of products from the ShipTown system. This is useful in scenarios where you want to synchronize product catalogs, analyze inventory items, or automate workflows that depend on up-to-date product information.
For example, an e-commerce business could use this node to fetch all products regularly and update their internal databases or trigger notifications when new products are added.
Properties
| Name | Meaning |
|---|---|
| Limit | Maximum number of product results to return. Must be at least 1. |
| Return All | Whether to return all available products (true) or limit the results to the specified number (false). |
Output
The node outputs a JSON array where each element represents a product object as returned by the ShipTown API. The structure of each product object depends on the ShipTown API response but typically includes product details such as ID, name, description, pricing, and other relevant attributes.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the ShipTown API.
- Needs an API authentication token configured in n8n credentials to authorize requests.
- The base URL for the API is dynamically set from the credential domain configuration.
Troubleshooting
Common issues:
- Authentication failures if the API key or credentials are missing or invalid.
- Request limits exceeded if too many products are requested without pagination.
- Network connectivity problems preventing access to the ShipTown API.
Error messages:
- Errors returned from the API will be propagated, often including HTTP status codes and messages.
- If "Return All" is false and the limit is set too high, the API might reject the request or truncate results.
Resolutions:
- Verify that the API key credential is correctly set up and has necessary permissions.
- Use the "Limit" property to control the number of results and avoid overwhelming the API.
- Enable "Return All" only when expecting manageable result sizes or implement additional filtering.
Links and References
- ShipTown API Documentation (for detailed API endpoints and data structures)
- n8n documentation on HTTP Request Node for understanding API calls within n8n.