Actions12
Overview
This node interacts with the Fulfillmenttools API to manage facility carriers associated with a specific facility. The "List" operation under the "Facility Carrier" resource retrieves all carriers linked to a given facility. This is useful for scenarios where you need to view or process all shipping or logistics carriers available at a particular facility, such as inventory management, shipping setup, or carrier performance analysis.
Practical example:
You have a warehouse (facility) and want to fetch all carriers that operate from this location to integrate their data into your logistics dashboard or automate carrier selection in your order fulfillment workflow.
Properties
| Name | Meaning |
|---|---|
| Facility ID | The unique identifier of the facility whose carriers you want to list. This is required to specify which facility's carriers are being queried. |
Output
The output is a JSON array containing carrier objects related to the specified facility. Each object represents a carrier with its details as returned by the Fulfillmenttools API under the /facilities/{facilityId}/carriers endpoint.
The node does not output binary data.
Dependencies
- Requires an active connection to the Fulfillmenttools API.
- Needs an API authentication token configured in n8n credentials to authorize requests.
- Uses internal helper functions to handle API requests and pagination (
fulfillmenttoolsApiRequestAllItems).
Troubleshooting
- Common issues:
- Providing an invalid or non-existent Facility ID will likely result in an error or empty results.
- Network or authentication failures can cause request errors.
- Error messages:
- Errors from the API (e.g., 404 Not Found if the facility does not exist).
- Authentication errors if the API key is missing or invalid.
- Resolutions:
- Verify the Facility ID is correct and exists in your Fulfillmenttools account.
- Ensure the API key credential is properly set up and has necessary permissions.
- Check network connectivity and API endpoint availability.
Links and References
- Fulfillmenttools API Documentation (general reference for API endpoints and data structures)
- n8n documentation on creating custom nodes