Why do marketplace orders get lost?
Most stock and order sync errors are silent. Here are the four rules we followed while building GoldenEye Sync.
For a business that sells on several marketplaces, the most expensive error is the one nobody notices. An order isn't pulled, a stock update is rejected, a price is written twice, and the screen still says everything is fine. The problem only surfaces when a customer complains or the stock count doesn't add up at the end of the day.
So when we built GoldenEye Sync, we decided on rules before features.
1. One writer per channel
If two systems change the stock and price of the same store at the same time, the last one wins and nobody knows which value is right. When you migrate from an old integration to a new one, this is almost guaranteed to happen.
Our fix is simple: every channel has a write key. Only the system holding the key writes. Migration happens channel by channel, and if something goes wrong the key goes back to the old system.
2. The same operation is never applied twice
Networks drop, marketplaces time out, jobs are retried. Retrying is good, until the same stock decrement is applied twice.
Every order, stock and price operation is recorded with its own key. A second operation with the same key is recognised and skipped. The technical name is idempotency; in practice it means pressing “send” twice does no harm.
3. Every batch result is read back
Most marketplaces accept stock and price in batches and answer “received”; whether it was processed is a separate query. Treating “received” as “done” is the most common source of silent failures.
Sync reads the result of every batch back from the marketplace. A rejected line isn't lost: it goes to an error queue with the marketplace's reason, and is resent once fixed.
4. Health on every store's page
When was the last successful sync? How many errors in a row? How many jobs are waiting? The answers are on the store's own page, not buried in a log file. You don't have to wait for a customer complaint to notice something is wrong.
If you're writing your own integration
These four rules hold regardless of language or marketplace. If you need a custom integration, or want to find the silent errors in your current setup, get in touch.