Connecting Your Store
Step-by-step guide to linking WooCommerce or Shopify with Lagrio for real-time inventory sync.
Lagrio connects directly to your WooCommerce or Shopify store to keep inventory in sync. Once connected, every sale automatically updates your stock levels in real time.
WooCommerce Setup
1. Start the Integration
Open your Lagrio dashboard and go to Integrations. Click Add Integration, then select WooCommerce.
Enter your store URL (like yourstore.com).
2. Get Your API Credentials
Log in to your WooCommerce admin panel. Go to Settings → Advanced → REST API.
Click Add Key. Set permissions to Read/Write, then click Generate API Key.
Copy the Consumer Key and Consumer Secret that appear. You’ll need both.
3. Connect in Lagrio
Paste your Consumer Key and Consumer Secret into the fields in Lagrio.
Click Test Connection. If everything works, you’ll see a success message and a Webhook URL.
Copy that Webhook URL.
4. Set Up the Webhook
Go back to WooCommerce. Navigate to Settings → Advanced → Webhooks.
Click Add Webhook. Fill in these fields:
- Topic: Order updated
- Delivery URL: Paste the Webhook URL from Lagrio
- Status: Active
Save the webhook.
5. Import and Sync
Lagrio starts importing your products right away. This happens automatically, no matter how many products you have. The system pulls them in batches.
Your currency, categories, and prices map over from your store settings.
Lagrio also imports your sales history from the last 30 days. This data powers the “Runs out in” forecasts you see in the dashboard.
From now on, every time someone places an order, the webhook sends that data to Lagrio. Stock levels update instantly via WebSocket.
Shopify Setup
The process is similar. Go to Integrations → Add Integration → Shopify.
Enter your API credentials, test the connection, and add the Webhook URL to your Shopify settings.
The Shopify integration is functional, though less tested than WooCommerce. If you run into issues, contact support.
What Happens After Connecting
Once your store is linked, Lagrio handles everything in the background:
- Products import automatically with no limits.
- Currency is detected from your store.
- Categories and prices map over correctly.
- Sales history from the past month feeds into forecasts.
- Every order deducts stock in real time.
You don’t need to export CSV files or manually sync data. It all happens live.
Multiple Stores
You can connect more than one store. The Starter plan supports up to 3 stores. Growth and higher plans support unlimited stores.
Each store gets its own integration and webhook. Stock tracking stays separate per store.
Troubleshooting
If the connection fails, double-check your API permissions are set to Read/Write. Make sure the webhook status is Active and the delivery URL matches exactly.
If products don’t import, wait a few minutes. Large catalogs take time to sync.