Shopify Integration
Connect your Shopify store with ZenFlow to automatically import orders, sync inventory, and streamline your fulfillment operations.This integration supports Shopify stores from any country. Compatible with Shopify and Shopify Plus.
Features
Import Orders
Automatically import paid orders from Shopify
Update Status
Mark orders as fulfilled and send tracking info
Inventory Sync
Real-time stock synchronization to Shopify
Product Mapping
Link Shopify products with your ZenFlow catalog
Setup Guide
Step 1: Connect Your Store
- Go to Settings > Integrations in ZenFlow
- Click Connect Shopify
- Enter your store domain (e.g.,
mystore.myshopify.com) - You’ll be redirected to Shopify to authorize the app
- Accept the requested permissions
ZenFlow requests permissions to read/write orders, products, and inventory. These are necessary for bidirectional sync.
Step 2: Configure Sync Settings
After connecting, set your preferences:Step 3: Map Products
Link your Shopify products with ZenFlow:- Go to Integrations > Shopify > Product Mapping
- ZenFlow will attempt to auto-match by SKU
- For unmatched products, manually select the ZenFlow product
Order Flow
API Reference
Start Authorization
Get Connection Status
Update Configuration
Manually Sync Orders
Sync Stock to Shopify
List Product Mappings
Create Product Mapping
Delete Mapping
Disconnect Store
Webhook Events
ZenFlow automatically receives these webhooks from Shopify:| Topic | Description | ZenFlow Action |
|---|---|---|
orders/create | New order created | Imports order if paid |
orders/paid | Payment confirmed | Imports order for fulfillment |
orders/updated | Order updated | Records changes |
orders/cancelled | Order cancelled | Cancels order in ZenFlow |
orders/fulfilled | Order fulfilled | Records fulfillment |
products/create | Product created | Records for mapping |
products/update | Product updated | Updates mapping info |
products/delete | Product deleted | Removes mapping |
inventory_levels/update | Stock updated | Records change (if bidirectional) |
app/uninstalled | App uninstalled | Revokes credentials |
Product Mapping
Automatic Matching
ZenFlow attempts to match products automatically using:- SKU (exact match)
- Barcode (if configured in Shopify)
Manual Mapping
For products that don’t auto-match:- Go to Integrations > Shopify > Product Mapping
- Filter by “Unmapped”
- Select the corresponding ZenFlow product
Multi-Variant Products
Each Shopify variant maps to a separate product in ZenFlow:| Shopify | ZenFlow |
|---|---|
| Blue Shirt (S) | SHIRT-BLUE-S |
| Blue Shirt (M) | SHIRT-BLUE-M |
| Blue Shirt (L) | SHIRT-BLUE-L |
| Red Shirt (S) | SHIRT-RED-S |
Status Mapping
| Shopify Status | ZenFlow Status |
|---|---|
unfulfilled | Ready to pick |
partial | In progress |
fulfilled | Shipped |
restocked | Cancelled |
Troubleshooting
Orders Not Importing
Check sync configuration
Check sync configuration
Make sure
sync_orders is enabled in the configuration. Go to Integrations > Shopify > Settings.Check order status
Check order status
By default, only orders with
paid status are imported. Verify the order has confirmed payment in Shopify.Check webhooks
Check webhooks
Webhooks are registered automatically. If there are issues, disconnect and reconnect the integration.
Stock Not Syncing
Check product mapping
Check product mapping
The product must be properly mapped. Verify a mapping exists in Product Mapping.
Check sync flag
Check sync flag
Each mapping has a
sync_stock flag. Make sure it’s enabled for products you want to sync.Check Shopify locations
Check Shopify locations
ZenFlow syncs with the primary Shopify location. If you have multiple locations, verify which one is set as primary.
Authorization Error
Insufficient permissions
Insufficient permissions
If authorization fails, verify you accepted all requested permissions. Try disconnecting and reconnecting.
Expired token
Expired token
Shopify tokens are long-lived. If expired, disconnect and reconnect the integration.
Rate Limits
| Operation | Limit |
|---|---|
| API calls | 2 requests/second |
| Token bucket | 40 tokens |
Required Scopes
The integration requests the following permissions:read_orders,write_orders- Read and update ordersread_products,write_products- Read and update productsread_inventory,write_inventory- Manage stock levelsread_locations- Read inventory locationsread_fulfillments,write_fulfillments- Manage fulfillments
Support
- Shopify API Documentation
- Contact [email protected] for integration help



