Actions12
Overview
This node interacts with the Fulfillmenttools API to manage orders. Specifically, the "Order - List" operation retrieves a list of orders from the system. It supports filtering and pagination options, allowing users to fetch all orders or limit the results based on criteria such as order count, starting point, and tenant-specific order IDs.
Common scenarios include:
- Synchronizing orders from Fulfillmenttools into another system.
- Displaying recent or specific subsets of orders for reporting or processing.
- Automating workflows that depend on order data retrieval with filters.
For example, a user might want to retrieve all orders placed after a certain order ID or limit the number of orders fetched to avoid overwhelming downstream processes.
Properties
| Name | Meaning |
|---|---|
| Return All | Whether to return all matching orders or only up to a specified limit. |
| Limit | Maximum number of orders to return when not returning all (minimum 1). |
| Start After ID | Fetch orders starting after this order ID, useful for pagination or incremental fetching. |
| Size | Number of results to show per request (minimum 1). |
| Tenant Order ID | Filter orders by a specific tenant order ID to narrow down the results. |
Output
The output is a JSON array where each element represents an order object retrieved from the Fulfillmenttools API. The structure of each order object corresponds to the API's order schema, including details such as order identifiers, status, timestamps, and other relevant order information.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the Fulfillmenttools API.
- Uses internal helper functions to make HTTP requests to the Fulfillmenttools REST endpoints.
- No additional external services are required beyond the Fulfillmenttools API access.
Troubleshooting
Common issues:
- Invalid or missing API credentials will cause authentication failures.
- Providing an invalid
startAfterIdmay result in empty responses or errors if the ID does not exist. - Setting conflicting or unsupported filter parameters could lead to unexpected results or API errors.
Error messages:
- Authentication errors typically indicate problems with the API key; verify the credential configuration.
- Rate limiting or quota exceeded errors suggest too many requests in a short time; implement retries or reduce request frequency.
- Validation errors from the API may occur if parameters like
limit,size, ortenantOrderIdare malformed or invalid; check input values carefully.
Links and References
- Fulfillmenttools API Documentation (general reference for API endpoints and data structures)
- n8n documentation on creating custom nodes for further customization guidance