Actions32
Overview
This node integrates with the ShipStation API v2, allowing users to manage various shipping-related resources programmatically. Specifically for the Warehouse - Create operation, it enables creating a new warehouse record in ShipStation by sending custom JSON data describing the warehouse details.
Common scenarios where this node is beneficial include automating warehouse management workflows, syncing warehouse data from other systems, or setting up warehouses dynamically as part of an order fulfillment process.
For example, a user might use this node to create a new warehouse with specific address and contact information by providing the appropriate JSON structure, thereby streamlining inventory distribution setup without manual entry in the ShipStation web interface.
Properties
| Name | Meaning |
|---|---|
| JSON Data | JSON data for the warehouse resource. This should contain all necessary fields to create a warehouse in ShipStation. The input expects a valid JSON object string representing the warehouse details. |
Output
The node outputs a JSON object representing the response from the ShipStation API after creating the warehouse. This typically includes the newly created warehouse's details such as its ID, name, address, and other metadata returned by the API.
The output format is:
{
"json": {
/* Warehouse object as returned by ShipStation API */
}
}
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the ShipStation API.
- The node uses the ShipStation API v2 endpoints.
- No additional environment variables are required beyond the API credentials configured in n8n.
Troubleshooting
- Invalid JSON Data: If the JSON provided in the "JSON Data" property is malformed or missing required fields, the API will return an error. Ensure the JSON is correctly formatted and contains all mandatory warehouse properties.
- Authentication Errors: If the API key credential is invalid or missing, the node will fail to authenticate. Verify that the API key is correctly set up in n8n credentials.
- API Errors: The node throws errors if the ShipStation API returns an error response. These errors include detailed messages from the API which can help identify issues like duplicate warehouses or invalid field values.
- Unknown Operation: If an unsupported operation is selected, the node will throw an error indicating an unknown operation. Make sure to select "Create" under the Warehouse resource for this functionality.