Skip to main content

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

  1. Go to Settings > Integrations in ZenFlow
  2. Click Connect Shopify
  3. Enter your store domain (e.g., mystore.myshopify.com)
  4. You’ll be redirected to Shopify to authorize the app
  5. 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:
  1. Go to Integrations > Shopify > Product Mapping
  2. ZenFlow will attempt to auto-match by SKU
  3. For unmatched products, manually select the ZenFlow product

Order Flow

API Reference

Start Authorization

Request:
Response:

Get Connection Status

Response:

Update Configuration

Request:

Manually Sync Orders

Request:

Sync Stock to Shopify

Syncs all inventory levels for mapped products to Shopify.

List Product Mappings

Response:

Create Product Mapping

Request:

Delete Mapping

Disconnect Store

Webhook Events

ZenFlow automatically receives these webhooks from Shopify:

Product Mapping

Automatic Matching

ZenFlow attempts to match products automatically using:
  1. SKU (exact match)
  2. Barcode (if configured in Shopify)

Manual Mapping

For products that don’t auto-match:
  1. Go to Integrations > Shopify > Product Mapping
  2. Filter by “Unmapped”
  3. Select the corresponding ZenFlow product

Multi-Variant Products

Each Shopify variant maps to a separate product in ZenFlow:

Status Mapping

Troubleshooting

Orders Not Importing

Make sure sync_orders is enabled in the configuration. Go to Integrations > Shopify > Settings.
By default, only orders with paid status are imported. Verify the order has confirmed payment in Shopify.
Webhooks are registered automatically. If there are issues, disconnect and reconnect the integration.

Stock Not Syncing

The product must be properly mapped. Verify a mapping exists in Product Mapping.
Each mapping has a sync_stock flag. Make sure it’s enabled for products you want to sync.
ZenFlow syncs with the primary Shopify location. If you have multiple locations, verify which one is set as primary.

Authorization Error

If authorization fails, verify you accepted all requested permissions. Try disconnecting and reconnecting.
Shopify tokens are long-lived. If expired, disconnect and reconnect the integration.

Rate Limits

ZenFlow handles rate limits automatically with exponential backoff and respects Shopify’s “leaky bucket” algorithm.

Required Scopes

The integration requests the following permissions:
  • read_orders, write_orders - Read and update orders
  • read_products, write_products - Read and update products
  • read_inventory, write_inventory - Manage stock levels
  • read_locations - Read inventory locations
  • read_fulfillments, write_fulfillments - Manage fulfillments

Support