6 min read•Updated: 2026-11-24

Connect Shopify Store to Odoo ERP

Connect Shopify stores via official OAuth, app scopes, webhooks, and verified behaviors for orders, stock, and returns.

Shopify OAuth Connection Steps

ERP Link connects to Shopify via the official Shopify Admin API (2026-10 release):

  1. Open your ERP Link dashboard and select your workspace.
  2. Navigate to Connect Store and open the Shopify tab (/app/connect-store/shopify).
  3. Enter your store myshopify domain (e.g. your-store.myshopify.com).
  4. Click Install on Shopify.
  5. You are redirected to your Shopify admin to review permissions and authorize the app.
  6. Our backend performs strict query HMAC validation before securely storing the offline access token.

App Scopes & Customer Data Protection

Requested scopes include:

  • read_orders, write_orders — Ingest orders and push fulfillment status.
  • read_products, write_products — Sync product catalog and variants.
  • read_customers — Map customers to Odoo res.partner records.
  • read_inventory — Read Shopify location inventory levels.
Important

In compliance with Shopify's Protected Customer Data requirements, customer details are used strictly for order fulfillment and invoice generation.

Webhook Ingress & HMAC Checks

The engine subscribes to Shopify webhooks verified against X-Shopify-Hmac-Sha256:

  • orders/create — When a checkout completes.
  • orders/updated — When order properties or status changes.
  • orders/paid — When payment captures successfully.
  • orders/cancelled — When an order is cancelled.
  • products/create, products/update — For catalog sync.

Code-Verified Behaviors & Current Scope

Based on direct source code audit of src/lib/sync/shopify/:

  • Orders: Fully supported with tax, discount, shipping line extraction, and Odoo sales orders.
  • Products: Fully supported with variant resolution, barcode, and SKU alignment.
  • Reverse Stock Sync (Odoo -> Shopify): *Not currently implemented.* Odoo-to-Shopify live inventory push is not active in the current release.
  • Returns & Refunds: The refunds/create webhook handler resolves to null and is skipped by design.

Shopify Troubleshooting

  • "Invalid Shopify Domain":

* *Resolution:* Enter your permanent *.myshopify.com address, not your custom storefront domain.

  • "HMAC verification failed":

* *Cause:* Tampered query parameters or expired authorization session.

* *Resolution:* Restart the installation flow from the ERP Link dashboard.

Encountered an issue applying this guide?

Open a support ticket to have our engineering desk inspect logs directly.

Contact Support
    Connect Shopify Store to Odoo ERP | ERP Link Docs | ErpLink