Odoo ERP

Shopify Odoo Connector: Sync Design Questions Before Go-Live

Before switching on a Shopify Odoo connector, decide who owns stock, pricing and order numbers. Here is the checklist we work through on every setup.

Tech After Me CEOCEO & Odoo ConsultantPublished 6 min read
Share
Shopify Odoo Connector: Sync Design Questions Before Go-Live
On this page

A Shopify Odoo connector looks simple in a sales demo: products flow one way, orders flow the other, everyone goes home happy. In practice, the sync only behaves once you answer a handful of ownership questions first. We build and sell a Shopify Odoo Connector on the Odoo Apps Store. The setup work that matters most happens before a single API call fires.

This post walks through the decisions we make on every Shopify-to-Odoo project, in the order we usually hit them. None of it is exotic. All of it gets skipped by teams in a hurry. And all of it causes the same support tickets three weeks later: duplicate customers, oversold stock, prices that silently diverge between storefront and backend.

Who owns the product record in a Shopify Odoo connector setup

The first fight is always over the product. Shopify wants title, description, images and variants. Odoo wants SKU, cost, vendor, category and accounting information. If both systems can edit the same field, you get a race condition disguised as a bug report.

We set Odoo as the source of truth for anything that touches inventory or accounting: internal reference, cost, barcode, stock category, tax configuration. Shopify stays the source of truth for anything customer-facing: title copy, description, images, SEO fields. The connector then becomes a one-directional push for each field group, not a bidirectional free-for-all. Some teams insist on editing prices directly on Shopify "for speed." We flag it as a known trade-off. It works until someone forgets to reconcile it back, and a mismatched price sits live on the storefront until the next sync catches it.

Variants, options and SKU mapping

Shopify variants (size, color) and Odoo product variants are conceptually similar but not structurally identical. The mapping has to be explicit, not assumed. Before go-live we confirm:

  • Every Shopify variant has a unique SKU that matches an Odoo internal reference, no blanks, no reused codes across products.
  • Option names (Size, Color) are consistent across the catalog, not "Size" on one product and "Sz" on another.
  • Discontinued variants are archived, not deleted, on both sides, so historical orders still resolve to a product record.

Skipping this step is the single most common cause of a connector that "mostly works." A handful of mismatched SKUs will not break the integration outright. But they will quietly create duplicate products in Odoo every time an order touches that variant.

Order sync: numbering, taxes and payment status

Orders are where the sync earns its keep, and where the edge cases live. We map Shopify order numbers into an Odoo field, not the Odoo sales order sequence, so support staff can search by either number without confusion. We also confirm which Shopify order statuses translate to which Odoo states. A paid order should become a confirmed sales order with an invoice. A pending or partially refunded order needs its own path, so it does not get fulfilled prematurely.

Taxes deserve their own checklist line. For Thailand-based stores, VAT handling and, where applicable, withholding tax documentation (PND 3 / PND 53) need to be set correctly on the Odoo side before orders start flowing. Retrofitting tax logic onto thousands of already-synced orders is painful. If you also issue e-Tax Invoice and e-Receipt documents, decide upfront whether that generation happens automatically on order confirmation or in a manual batch at day's end. Automatic is faster. Manual gives you a last check before a document becomes legally final.

Stock sync: direction, buffers and oversell risk in a Shopify Odoo connector

Stock sync is usually one-directional, from Odoo to Shopify. Odoo handles purchasing, receipts, transfers and manufacturing, and Shopify should reflect sellable quantity rather than calculate it. The open question is how often, and with what buffer.

A near-real-time webhook sync reduces oversell risk but adds load and more failure points to monitor. A five- or ten-minute interval sync is simpler to support but creates a window where a fast-moving SKU can be bought twice. We generally recommend the approach below, sized to the situation.

SituationRecommended approach
Low SKU count, moderate trafficScheduled sync every few minutes, no buffer needed
High-velocity SKUs, flash salesWebhook-based sync plus a small safety buffer quantity
Multiple Shopify stores, one Odoo stockReserved stock per channel or a shared pool with buffer, agreed in writing
Make-to-order or pre-order itemsExclude from automatic stock push, handle manually

None of these eliminates oversell risk entirely. Any integration with a sync interval, however short, has a window. The honest answer is to decide how much oversell risk is acceptable for a given product line, then size the buffer accordingly. Do not promise zero.

Customer records and duplicate prevention

Shopify generates a guest customer record on every checkout unless the buyer creates an account. Syncing that naively into Odoo produces thousands of near-duplicate contacts. We match incoming customers on email first, then phone, and only create a new Odoo partner record when neither matches an existing one. For B2B stores selling through Shopify, we also map company-level fields separately from the individual contact, since Odoo's commercial partner structure expects that distinction and Shopify's checkout does not.

Returns, refunds and the Shopee / Lazada / TikTok Shop layer

Selling through Shopee, Lazada or TikTok Shop alongside Shopify raises a harder question: which marketplace integration owns stock allocation when more than one channel competes for the same warehouse. We typically assign each channel a reserved quantity or a shared pool with a buffer, the same logic as the Shopify-only case, just multiplied across channels. Refunds sync back as credit notes in most setups. We still recommend a manual confirmation step for stock returns, since a damaged or opened item should not silently re-enter sellable inventory just because Shopify marked the order refunded. For broader context on connecting a storefront, payments and delivery into Odoo, see our notes on setting up an Odoo e-commerce store.

Testing before the store goes fully live

We never flip a connector on against a live store on day one. The sequence that works:

  1. Sync a small batch of test products and place test orders in a Shopify dev store or password-protected storefront.
  2. Verify SKU mapping, tax lines and stock movement in Odoo for each test order.
  3. Run the connector against production catalog data with order sync paused, to catch product and variant mismatches before orders start flowing.
  4. Enable order sync for a single payment method or a limited product set first, then expand.
  5. Watch the sync log daily for the first week, not just the first day.

Teams that skip the staged rollout usually find their first real problem inside an order placed by an actual customer. That is a more expensive place to debug than a test cart. If your integration spans more systems than just Shopify and Odoo, such as a marketplace, a shipping API or a payment gateway, the design questions above multiply. That is usually where a dedicated look at Odoo API integration services earns its cost before go-live, rather than after the first inventory discrepancy. If you are weighing connector options or custom glue code, our overview of Odoo customization versus configuration covers how we decide which path to take.

A connector is infrastructure, not a one-time setup task. Budget time to revisit the sync rules whenever you add a new sales channel, a new tax rule or a second warehouse. The assumptions baked in at go-live rarely survive the first year unchanged.

Share

Frequently asked questions

Does a Shopify Odoo connector sync stock in real time?

Most connectors sync stock on a short interval or via webhook rather than instantly on every click. For high-velocity SKUs we recommend webhook-based updates and a safety buffer quantity on Shopify so a near-simultaneous sale on both channels does not oversell.

Which system should own product information, Shopify or Odoo?

We recommend Odoo as the master for SKU, cost and stock, and Shopify as the master for marketing fields like description and images. Fighting over which system writes price or title leads to records overwriting each other.

Can one connector handle multiple Shopify stores into one Odoo database?

Yes, this is a common setup, usually with a separate sales channel or warehouse per store so reporting and stock allocation stay distinct, even though all orders land in the same Odoo database.

What happens to orders placed while the connector is down?

A well-built connector queues failed syncs and retries, but you should still check a log or dashboard daily. Orders are rarely lost on the Shopify side, but they can sit unsynced and delay fulfillment if nobody is watching the queue.

Do returns and refunds sync back into Odoo automatically?

Refunds typically sync as credit notes or reversed invoices, but stock returns often need a manual confirmation step in Odoo so a damaged item is not automatically added back to sellable stock.

Sources

About the author

Tech After Me CEO

CEO & Odoo Consultant

The CEO of Tech After Me implements, customizes and supports Odoo ERP and builds web, mobile and data products for companies in Thailand, the USA and India.

More from this author

Keep reading

Odoo API Integration: XML-RPC, JSON-RPC and Auth BasicsOdoo ERP

Odoo API Integration: XML-RPC, JSON-RPC and Auth Basics

A practical guide to Odoo API integration: how authentication, XML-RPC and JSON-RPC calls work, and the patterns that keep external systems reliably in sync.

Tech After Me CEO6 min read

Put what you read into practice

The team writing these guides is the same team that ships them. Tell us what you are working on.

Get new articles in your inbox

Get new articles in your inbox

Odoo guides and IT news that matter to your business. At most one email a week.