Actions32
Overview
This node integrates with the ShipStation API v2 to manage inventory data. Specifically, the Inventory - Update operation allows users to update inventory levels in their ShipStation account by sending JSON-formatted data describing the changes.
Typical use cases include synchronizing inventory quantities from an external system or updating stock levels after receiving new shipments or sales. For example, a user might automate updating product quantities after a warehouse stock count or after processing orders in another system.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the inventory resource to update. |
| JSON Data | JSON-formatted data representing the inventory updates to apply. This should follow the ShipStation API's expected schema for inventory updates. |
Output
The node outputs a JSON object containing the response data from the ShipStation API after attempting to update the inventory. This typically includes confirmation of the updated inventory levels or details about the updated resource.
The output structure is:
{
"json": {
// Response data from ShipStation API reflecting the updated inventory state
}
}
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the ShipStation API via an API key credential.
- The node uses the ShipStation API service endpoints under
/v2/inventory. - Proper API credentials must be configured in n8n to authenticate requests.
Troubleshooting
Common issues:
- Invalid or malformed JSON in the "JSON Data" property can cause request failures.
- Incorrect or missing inventory IDs will result in errors from the API.
- Network or authentication errors if API credentials are invalid or expired.
Error messages:
- Errors returned by the ShipStation API are caught and presented as node errors.
- If the API returns an error object, it is handled and shown with descriptive messages.
- To resolve, verify the JSON payload format, ensure the inventory ID exists, and confirm API credentials are valid.