ShipTown icon

ShipTown

Consume ShipTown API

Actions20

Overview

This node integrates with the ShipTown API to manage warehouse data among other resources. Specifically, the "Warehouse" resource with the "Get All" operation allows users to retrieve a list of warehouses from their ShipTown account.

Common scenarios for this node include:

  • Fetching all warehouses to display or process inventory distribution.
  • Synchronizing warehouse data between ShipTown and other systems.
  • Automating workflows that depend on up-to-date warehouse information.

For example, a user might use this node to get all warehouses and then loop through them to update stock levels in an ERP system.

Properties

Name Meaning
Return All Whether to return all warehouse records or only up to the specified limit. (Boolean)
Limit Maximum number of warehouse records to return if not returning all. Minimum value is 1.

Output

The output is a JSON array where each item represents a warehouse object as returned by the ShipTown API endpoint /api/warehouses. Each warehouse object contains details about a warehouse such as its ID, name, address, and other metadata defined by ShipTown.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating requests to the ShipTown API.
  • The node uses the base URL configured in the credentials to send HTTP requests.
  • No additional external dependencies are required beyond the ShipTown API access.

Troubleshooting

  • Empty results: If no warehouses are returned, verify that your ShipTown account has warehouses set up and that the API key has sufficient permissions.
  • Authentication errors: Ensure the API key credential is valid and correctly configured in n8n.
  • Limit ignored: If you expect fewer results but get more, check if "Return All" is enabled; it overrides the limit.
  • API request failures: Network issues or incorrect base URL in credentials can cause request failures. Verify connectivity and credential settings.

Links and References

Discussion