Table of Contents
ShipStation Integration connects your ERPNext instance with ShipStation for streamlined order management, shipping label generation, and fulfillment tracking. It supports both the classic ShipStation API (v1) and the newer ShipStation API v2 for enhanced carrier access and rate shopping.
Multi-Account & Store Management
- Sync multiple ShipStation accounts with a single ERPNext instance
- Configure individual stores with different companies, warehouses, cost centers, and account heads
- Periodically fetch products, orders, and shipments from all connected accounts
- Amazon marketplace integration with hooks for custom order processing
Shipping & Labels (v1)
- Shipping label generation directly from Delivery Notes
- Configurable per ShipStation account
Rate Shopping & Labels (v2)
- Compare rates across multiple carriers before purchasing
- Direct label generation without requiring orders in ShipStation
- Rate shopping UI in Delivery Notes — view pricing and select the best option
- Void labels when needed
Fulfillment Sync (v2)
- Push fulfillment data back to connected marketplaces
- Automatic tracking number updates
Webhooks
- v1 store-based webhooks for order and shipment events
- v2 environment-based webhooks for batch completion and tracking updates
-
Navigate to your bench directory
cd frappe-bench -
Get the app
bench get-app https://github.com/AgriTheory/shipstation_integration
-
Install the app on your site
bench --site your-site.localhost install-app shipstation_integration
-
Run migrations
bench --site your-site.localhost migrate
- Navigate to Shipstation Settings in ERPNext
- Enter your ShipStation API credentials (v1: API Key + Secret)
- Optionally enable ShipStation API v2 and enter your v2 API key for rate shopping and direct label generation
- Configure your stores, linking each to the appropriate company and warehouse
- Set up webhooks to receive order and shipment updates
This integration supports the classic ShipStation API (v1), the newer ShipStation API v2, or both together. You can choose based on your needs:
v1 Only — Use if you need to sync orders from ShipStation-connected marketplaces (Amazon, Shopify, etc.) and generate labels through ShipStation's order workflow.
v2 Only — Use if you just need to ship packages and compare rates without marketplace integrations. Labels can be purchased directly without orders existing in ShipStation.
Both — Get the full feature set: order management flows through v1, while v2 provides rate shopping and direct label purchase capabilities.
| Feature | v1 Only | v2 Only | Both |
|---|---|---|---|
| Order sync from marketplaces | ✓ | ✓ | |
| Auto-shipment creation | ✓ | ✓ | |
| Store management | ✓ | ✓ | |
| Rate shopping before purchase | ✓ | ✓ | |
| Direct label purchase | ✓ | ✓ | |
| Fulfillment push to marketplaces | ✓ | ✓ | |
| Tags & product import | ✓ | ✓ |
To configure:
- v1: Check
Enabledand enter yourAPI Key+API Secret - v2: Check
Enable ShipStation API v2and enter yourShipStation API Key
Contributions are welcome! Please see the contribution guidelines for more information.
Distributed under the MIT License. See license.txt for more information.