Shopify Integration Guide
This guide walks through connecting your Shopify store to ECOSIRE so that orders, products, customer records, and inventory stay synchronized automatically.
Introduction
The ECOSIRE Shopify Connector provides bi-directional sync between Shopify and Odoo 19. When a customer places an order on Shopify, it appears in ECOSIRE within seconds. Product updates made in ECOSIRE push to Shopify automatically.
What syncs:
- Shopify Orders → ECOSIRE Sales Orders
- Shopify Products → ECOSIRE Products (inventory tracked)
- Shopify Customers → ECOSIRE Contacts
- ECOSIRE Inventory levels → Shopify Stock
Prerequisites
- ECOSIRE account with the Shopify Connector license activated
- Shopify store on any plan (Basic or above)
- Admin access to your Shopify store
- ECOSIRE API key (generate at Dashboard → API Keys)
Step 1 — Install the Connector in Odoo
- In your ECOSIRE Odoo instance, navigate to Apps.
- Search for ECOSIRE Shopify Connector.
- Click Install. The module requires Odoo 19.0+.
After installation, a Shopify menu appears under Sales.
Step 2 — Create a Shopify Custom App
- In your Shopify Admin, go to Settings → Apps and sales channels → Develop apps.
- Click Create an app and name it
ECOSIRE Sync. - Under Configuration → Admin API scopes, enable:
read_orders,write_ordersread_products,write_productsread_inventory,write_inventoryread_customers,write_customersread_fulfillments,write_fulfillments
- Click Save then Install app.
- Copy the Admin API access token (shown once).
Step 3 — Configure the Connector
In ECOSIRE, go to Sales → Shopify → Configuration:
| Field | Value |
|---|---|
| Shop URL | https://your-store.myshopify.com |
| API Access Token | The token from Step 2 |
| API Version | 2024-01 (recommended) |
| Warehouse | Select your default warehouse |
| Default Pricelist | Select the Shopify pricelist |
Click Test Connection. You should see "Connection successful."
Step 4 — Configure Sync Settings
Under Shopify → Sync Settings:
- Order sync: Auto (webhook) + scheduled fallback every 15 minutes
- Product sync direction: ECOSIRE → Shopify (one-way) or Bidirectional
- Inventory sync: Enable real-time inventory push
- Customer creation: Auto-create Odoo contact on first Shopify order
Step 5 — Register Shopify Webhooks
The connector auto-registers webhooks in Shopify. Verify them under Shopify Admin → Settings → Notifications → Webhooks:
| Topic | Endpoint |
|---|---|
orders/create | https://api.ecosire.com/api/webhooks/shopify/orders |
orders/updated | https://api.ecosire.com/api/webhooks/shopify/orders |
products/create | https://api.ecosire.com/api/webhooks/shopify/products |
products/update | https://api.ecosire.com/api/webhooks/shopify/products |
inventory_levels/update | https://api.ecosire.com/api/webhooks/shopify/inventory |
If any webhooks are missing, click Re-register Webhooks in ECOSIRE.
Step 6 — Run Initial Sync
To import your existing Shopify data:
- Go to Shopify → Import.
- Select what to import: Products, Customers, Orders (last 90 days recommended).
- Click Start Import. Large stores may take 10–30 minutes.
- Monitor progress in Shopify → Sync Logs.
Step 7 — Verify the Integration
- Place a test order on your Shopify store.
- Within 30 seconds, confirm it appears in ECOSIRE → Sales → Orders.
- Check the synced customer in ECOSIRE → Contacts.
- Update inventory for a product in ECOSIRE; verify Shopify stock updates.
Troubleshooting
| Issue | Solution |
|---|---|
| Orders not syncing | Check webhook delivery in Shopify Admin → Notifications → Webhooks → Recent deliveries |
| Connection test fails | Verify the API token has not been rotated in Shopify |
| Duplicate contacts | Enable "Match by email" in Connector settings |
| Inventory mismatch | Run Sync → Force inventory push from the connector menu |
| 401 from Shopify API | Regenerate the Custom App token and update in ECOSIRE |
Next Steps
- Inventory Sync Guide — Real-time multi-channel inventory management
- Webhook Reference — Handle ECOSIRE events in your own system
- Products API — Manage products programmatically