ShipTown icon

ShipTown

Consume ShipTown API

Actions20

Overview

This node integrates with the ShipTown API to manage various resources such as products, orders, activities, inventory, warehouses, users, and data collectors. Specifically, for the Product - Get operation, it retrieves detailed information about a single product by its ID. This is useful in scenarios where you need to fetch up-to-date product details from ShipTown within an automated workflow, such as syncing product data with other systems, validating product existence before processing orders, or displaying product info in dashboards.

Practical example:
You have an e-commerce platform and want to automatically retrieve product details from ShipTown when a new order is received, ensuring your system always works with the latest product data.

Properties

Name Meaning
Product ID The unique numeric identifier of the product to retrieve.

Output

The node outputs JSON data representing the product object returned by the ShipTown API. This typically includes all available fields describing the product, such as name, SKU, price, description, stock status, and any custom properties defined in ShipTown.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the ShipTown API via an API key credential.
  • The node expects the ShipTown API base URL and authentication credentials to be configured in n8n.
  • Network access to the ShipTown API endpoint is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing Product ID: Ensure the Product ID provided is correct and exists in ShipTown.
    • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
    • Network connectivity problems: Confirm that n8n can reach the ShipTown API endpoint.
  • Error messages:

    • "404 Not Found": The specified product ID does not exist. Double-check the ID.
    • "401 Unauthorized" or "403 Forbidden": Authentication failed; check API credentials.
    • Timeout or network errors: Check internet connection and API availability.

Links and References

Discussion