One-way, two-way or real-time? Choose the right sync.
The sync pattern decides how data moves between your systems, which one wins when they disagree, and how fast changes appear. Here’s how to choose for each type of data.
Pick a pattern to see how it works
From Online store to Accounting. When a record is created or changed in the source, it’s sent to the destination. Changes in the destination never flow back.
One-way sync
Data flows in a single direction from a source system to a destination. The source is always right.
Best for
- Orders into accounting
- Payouts and invoices
- Clear single owner
Watch out for
- Edits in the destination are overwritten
- Needs a clear source of truth
Real example
Shopify orders become MYOB invoices. Nobody edits them in MYOB, so data only needs to flow one way.
- Speed
- Real-time or every 15 minutes
- Complexity
- Low
Answer three questions for one type of data
Two-way sync
Data is edited in both systems, so use two-way sync with clear field ownership to avoid overwrites.
One integration, several patterns
Most integrations mix patterns. Here’s a common starting point for an online store connected to an ERP or accounting system.
| Record | Source of truth | Direction | Timing |
|---|---|---|---|
| Orders | Online store | Store → ERP | Real-time |
| Inventory levels | ERP or warehouse | ERP → store | Real-time or every 5 minutes |
| Prices and price levels | ERP | ERP → store | Scheduled (nightly) |
| Products | ERP or PIM | Two-way, field-owned | Scheduled (hourly) |
| Customers | Depends on B2B or B2C | Two-way, field-owned | Real-time |
| Fulfilment and tracking | Warehouse or 3PL | 3PL → store | Real-time |
| Payouts and fees | Payment platform | Store → accounting | Scheduled (per payout) |
| Order history | Old system | Old → new | One-time migration |
Four principles that prevent sync problems
Decide ownership per field
Two-way sync only works when each field has one system allowed to write it.Real-time where it matters
Stock and orders often need speed. Price lists and reports usually don’t.Plan for API limits
Queue and batch during peaks so syncs slow down instead of failing.Add a safety net
Even real-time flows benefit from a scheduled check that catches missed updates.
Not sure which pattern fits your data?
We’ll map each record type with you and recommend the right direction and timing, as part of a free discovery call.