Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4072 pages

Help for owners

My Shopify orders are not arriving in my ERP

Short answer

Shopify sends order data to other systems by webhook, and Shopify itself says an integration should not rely on webhooks alone. If the receiving side is slow, down, or rejects one record, orders go missing. Note the last order that arrived and do not key orders in twice.

  • Written for business owners
  • Updated
  • By Maaz Zindani, Senior Software Engineer

Does this sound like your situation?

  • Orders are in Shopify but my ERP shows nothing for the last few days.
  • Some orders reached the ERP twice.
  • Orders arrive in the wrong order, or an update arrives before the order itself.
  • One odd order seems to have stopped everything behind it.
  • Warehouse staff are working from Shopify screens because the ERP is behind.

Why does this happen?

  1. The receiving side did not answer in time

    Shopify gives an endpoint five seconds to answer with a 200-series code, retries a failed delivery up to eight times over four hours, and then stops. An ERP connector that does heavy work before answering will miss deliveries.

  2. Webhooks are not assured to be complete or in order

    Shopify advises that an app should not rely on webhooks alone and should periodically fetch data as a backup. It does not promise ordering within a topic, and recommends ignoring duplicate deliveries using the webhook ID.

  3. One rejected record can block the rest

    If the ERP refuses an order, for example because of an unknown product code or customer, a badly built connector stops at that order instead of setting it aside and moving on.

  4. The subscription was removed after failures

    Shopify states that if failures persist, the subscription is removed, and nothing is delivered until it is created again. After an ERP outage the link can stay dead even once the ERP is back.

  5. Product or stock codes differ between the two systems

    Orders refer to products by identifiers. If a product was renamed, re-created or its code changed in one system, the other cannot match the order line.

What can I do about it today?

  1. Find the last order that arrivedNote its Shopify order number and its ERP number, and the first order that is missing.
  2. Do not key the missing orders in by hand yetWhen the link is repaired, catch-up can create the same order again. Keep a list of missing numbers.
  3. Ask what changedA new ERP version, a changed server or login, new products, a new payment method or a shipping app added just before it stopped.
  4. Tell the warehouse which screen is the truthUntil the link is fixed, one place (usually Shopify) decides what is shipped, so nothing is sent twice.
  5. Send your developer the notesThe last good order, the first missing one and any ERP error message you can see, copied exactly.

When should I bring someone in?

  • Orders are being shipped late or twice.
  • Nobody knows which connector or app moves the orders.
  • Stock or invoices in the ERP are already wrong.

How do I handle it?

  1. Compare both systems for the gapI list which Shopify orders exist and which reached the ERP, so missing and duplicate orders are exact and not guessed.
  2. Find where the chain stopsI trace one missing order from Shopify's delivery to the connector to the ERP and see where it dies.
  3. Repair and make it tolerantThe endpoint answers first and processes from a queue. A rejected record is set aside with a reason and the rest continue.
  4. Back-fill with duplicate protectionI fetch the missing orders from Shopify and send them once each, checked against the webhook ID and the order number.
  5. Add a regular comparisonA scheduled check compares order counts, and an alert tells you when they drift.

The price depends on what I find, so I quote in writing after a short discovery call. Tell me what is happening and I reply within 24 hours.

What do owners ask about this?

Does it matter which ERP I use?

I read that ERP's own documentation and logs first and tell you what it allows before promising anything.

Can the orders be replayed?

Yes, from Shopify's side, which keeps the orders. Shopify's advice is to fetch the records from the outage period and run them through the same processing.

Why do some orders arrive twice?

Shopify says deliveries can repeat and recommends using the webhook ID header to ignore duplicates. A connector that does not do this creates double orders.

Sources

How was this page made?

I drafted this page with AI assistance from the official documents listed under Sources. Found a mistake? Tell me.

For your developer: the technical fixes

Next step

Want this off your desk?

Send me a few lines on where things stand. I reply within 24 hours.