To sync Shopify orders with an ERP, send each new or changed order to the ERP as it happens with webhooks, and run a scheduled reconciliation job that finds and fixes anything the webhooks missed. Use a ready-made connector when your ERP has a maintained one and your processes are fairly standard; build a custom integration on the Shopify Admin GraphQL API when they are not.
This guide covers both routes. It explains what Shopify does on its own, how webhooks, polling, bulk operations, idempotency and retries fit together, and which connectors exist for NetSuite, Microsoft Dynamics 365, Odoo and SAP in 2026.
Is Shopify an ERP?
No. Shopify is a commerce platform, not an ERP. Shopify says it plainly on its own enterprise blog: "No, Shopify is a commerce platform, not an ERP vendor." It runs the storefront, checkout, point of sale and B2B buying, while the ERP runs back-office operations.
Shopify does manage orders, products, customers, payments, fulfillment and inventory, including stock transfers and basic purchase orders. What it does not have is a general ledger, multi-entity accounting, procurement workflows, manufacturing or supply chain planning. That is why growing brands connect the two: Shopify sells, and the ERP keeps the books and plans the stock.
| Area | Shopify | ERP |
|---|---|---|
| Storefront, checkout, POS, B2B ordering | Yes | Usually not |
| Orders and fulfillment | Yes | Yes, plus invoicing and sales order processing |
| Inventory | Stock levels, transfers, basic purchase orders | Warehousing, procurement, replenishment planning |
| Finance | Sales, payout and finance reports | General ledger, tax, multi-entity accounting |
| Manufacturing and supply chain planning | No | Yes |
| HR | No | Often |
What data should sync between Shopify and your ERP?
Most integrations move the same set of records. The direction matters as much as the data, because each field should have one owner.
| Data | Usual direction | Typical trigger |
|---|---|---|
| Orders (online, POS, B2B) | Shopify to ERP | orders/create or orders/paid webhook |
| Order edits and cancellations | Shopify to ERP | orders/edited, orders/updated, orders/cancelled |
| Refunds and returns | Shopify to ERP | refunds/create and the returns webhooks |
| Fulfillments and tracking numbers | ERP or WMS to Shopify | When the order ships |
| Inventory levels | ERP to Shopify | On every change, plus a scheduled full check |
| Products and prices | Usually ERP to Shopify | On change or nightly |
| Customers and B2B companies | Both ways | On create or update |
| Payouts and transactions | Shopify to ERP | Daily, to reconcile with the bank |
Decide one source of truth for every field. If both systems can edit a price, sooner or later you will have two prices. Use the SKU as the shared key, and make sure every variant has a unique one.
How do you prepare for a Shopify ERP integration?
- List what the business needs. Order volume, peak days, sales channels (online, POS, B2B, marketplaces), warehouses and the financial data finance expects to see.
- Clean the data. Unique SKUs, consistent product names and prices, no duplicate customers, consistent address formats and correct order statuses in both systems.
- Map the fields. Match Shopify order fields to ERP sales order fields, including shipping lines, discounts, taxes, gift cards, payment gateway, currency and customer.
- Choose the trigger. Decide whether an order goes to the ERP when it is created, when it is paid, or when it is ready to fulfill.
- Write down the edge cases. Partial refunds, edited orders, split shipments, exchanges, multi-currency orders and B2B payment terms. These are where integrations break.
Should you use a connector or build a custom integration?
Start with a connector when your ERP has a maintained one and your processes are close to standard. Build custom when you have rules a connector cannot express, several systems in the chain (for example ERP, WMS and a 3PL), or order volumes that need tight control over API usage.
| ERP | Main Shopify options in 2026 | Notes |
|---|---|---|
| Oracle NetSuite | NetSuite ERP Connector by Oracle NetSuite (formerly FarApp); NetSuite Integration by Celigo | Both are on the Shopify App Store. Oracle's connector is part of Shopify's Global ERP Program. |
| Microsoft Dynamics 365 Business Central | Shopify Connector built by Microsoft | Free app, preinstalled in Business Central online. You still need a Business Central licence. Syncs products, inventory, customers, B2B companies and online, POS and B2B orders. Not available on-premises. |
| Dynamics 365 Finance and Supply Chain Management | Partner connectors on Microsoft AppSource, or an integration platform | Microsoft states that its Business Central connector does not work with Supply Chain Management. |
| Odoo | Third-party modules on the Odoo Apps Store | Standard Odoo 17, 18 and 19 do not include a Shopify connector. Check how often a module syncs: some run on a schedule, not in real time. |
| SAP S/4HANA | Partner adapters for SAP Integration Suite, or an integration platform (iPaaS) | We found no Shopify connector built by SAP itself. |
| SAP Business One | Third-party apps on the Shopify App Store and partner add-ons | Also partner-built. Compare how each one handles refunds and partial fulfillments. |
| Acumatica, Brightpearl by Sage, Infor | Connectors in the Global ERP Program | Acumatica builds and maintains its own Shopify connector. |
Shopify's Global ERP Program lists certified ERP apps. Shopify says these apps pass a 100-checkpoint review. In October 2026 it lists five: Brightpearl by Sage, NetSuite ERP Connector, Dynamics 365 Business Central, Acumatica Cloud ERP and Infor eCommerce Connector.
Test any connector against your edge-case list before you commit. The gaps usually show up in refunds, edited orders and B2B terms, not in a simple paid order.
A custom integration is usually a small service or a custom Shopify app that receives webhooks, puts them on a queue, writes to the ERP and runs reconciliation. For light cases, Shopify Flow can call an ERP endpoint with its Send HTTP request action, which is available on the Grow, Advanced and Plus plans. Flow waits up to 30 seconds for a response and can retry for up to 24 hours, but it has no reconciliation, so it does not replace a full integration.
Webhooks or polling: which should you use?
Use both. Webhooks deliver changes within seconds. A scheduled reconciliation job, which polls the API, catches what the webhooks missed. Shopify's own documentation says apps shouldn't rely only on webhooks and should run reconciliation jobs that fetch data periodically.
| Method | Good for | Watch out for |
|---|---|---|
| Webhooks | New orders, cancellations and refunds within seconds | Delivery is not guaranteed. Events can arrive twice or out of order. |
| Polling and reconciliation | Catching missed or failed events, scheduled checks | Uses your API rate limit and is slower |
| Bulk operations | Backfills, full history, large nightly exports | Asynchronous. Results arrive as a file. |
| Combined | Most stores with an ERP | More moving parts to monitor |
A reasonable starting schedule looks like this. Tune it to your order volume and to how quickly the warehouse needs each order.
| Job | Suggested frequency | What it does |
|---|---|---|
| Webhook processing | Continuous | Writes new and changed orders to the ERP |
| Retry queue | Every 15 to 30 minutes | Re-sends orders that failed for temporary reasons |
| Recent orders check | Every few hours | Compares orders updated in the last 24 to 48 hours in both systems |
| Full reconciliation | Daily, off-peak | Uses a bulk query to compare a wider window, such as the last 30 days |
How do Shopify webhooks work for order sync?
A webhook is a message Shopify sends to your system when something happens, such as a new order. These are the rules that matter for an ERP sync, from Shopify's webhook documentation:
- Topics. The useful ones are
orders/create,orders/updated,orders/paid,orders/cancelled,orders/edited,orders/fulfilled,refunds/create,fulfillments/create,fulfillments/updateandinventory_levels/update. - Delivery. Shopify can deliver to an HTTPS endpoint, Google Cloud Pub/Sub or Amazon EventBridge. At high volume, a queue such as Pub/Sub or EventBridge takes the load off your own servers.
- Respond fast. Shopify allows one second to connect and five seconds for the whole request. Return a 200 response straight away and do the ERP work in the background.
- Retries. If a delivery fails, Shopify retries 8 times over the next 4 hours. A subscription created through the Admin API is deleted after 8 consecutive failures. Subscriptions defined in the app configuration don't need to be recreated.
- Verify. Check the
X-Shopify-Hmac-SHA256header on HTTPS deliveries before you trust a payload. - Duplicates. Shopify may send the same webhook more than once. Store the
X-Shopify-Webhook-Idand skip ids you have already processed. - Order. Shopify doesn't guarantee delivery order. Compare
X-Shopify-Triggered-Ator the order'supdated_at, and never overwrite newer data with an older event. - Smaller payloads. Webhook filters and
include_fieldslet you receive only the events and fields you need. If you narrow the fields, keepupdated_at, because Shopify can drop deliveries whose payload is identical to the previous one.
How do you use the Admin GraphQL API for order sync?
Build new integrations on the GraphQL Admin API. Shopify made the REST Admin API legacy on October 1, 2024, and since April 1, 2025 new public apps must use GraphQL only.
- Rate limits. Every query has a calculated cost in points. Your app's allowance refills at 100 points per second on standard plans, 200 on Advanced, 1,000 on Plus and 2,000 on Shopify for enterprise (Commerce Components). A single query cannot cost more than 1,000 points. Read
extensions.cost.throttleStatusin each response instead of hard-coding the numbers. - Throttling. When you run out of points, the API returns a
THROTTLEDerror. Shopify recommends waiting one second before you retry. - Older orders. By default an app can read only the last 60 days of orders. For a backfill of older history, request the
read_all_ordersscope. - API versions. Shopify releases a new API version every quarter, and each one is supported for at least 12 months. Pin the version in every request and plan an upgrade each quarter. In October 2026 the latest stable version is 2026-10.
A reconciliation job can page through every order changed since its last run:
query OrdersUpdatedSince($cursor: String) {
orders(first: 100, after: $cursor, sortKey: UPDATED_AT,
query: "updated_at:>=2026-10-24T00:00:00Z") {
edges {
node {
id
name
updatedAt
displayFinancialStatus
displayFulfillmentStatus
}
}
pageInfo { hasNextPage endCursor }
}
}
Compare each result with the ERP by Shopify order ID. Anything missing or older in the ERP goes back on the sync queue.
When should you use bulk operations?
Use bulk operations when you need a lot of data at once: the first backfill, a daily full reconciliation, or a large push of products, prices or stock from the ERP.
bulkOperationRunQueryexports the result as a JSONL file.bulkOperationRunMutationimports changes from a JSONL file you upload, up to 100 MB since API version 2026-01.- From API version 2026-01, an app can run up to five bulk operations of each type per store at the same time. Earlier versions allowed one.
- Subscribe to the
bulk_operations/finishwebhook instead of polling for status. - Download the result promptly. The file link expires 7 days after the operation completes.
How do you prevent duplicate orders in the ERP?
Make every step idempotent: sending the same thing twice must have the same effect as sending it once. Duplicates come from three places: repeated webhooks, retries after timeouts, and reconciliation finding an order the webhook already delivered.
- In the ERP. Store the Shopify order ID (for example
gid://shopify/Order/123) on the sales order as an external reference with a unique constraint. Update the order if it exists; create it only if it doesn't. - For webhooks. Keep a table of processed
X-Shopify-Webhook-Idvalues. - Toward Shopify. Since API version 2026-04, Shopify requires an
@idempotentkey onrefundCreateand on the inventory mutations, such asinventoryAdjustQuantitiesandinventorySetQuantities. Shopify remembers each key for 24 hours, so a retry with the same key is applied only once. - Stock updates. Since 2026-04, inventory adjustments also take a
changeFromQuantity: the quantity you expect to change from. If someone else changed the stock in the meantime, Shopify rejects the write instead of overwriting it. You can passnullto opt out, but an ERP sync should keep the check. - Calls without built-in protection.
orderCreateandfulfillmentCreatedo not support the idempotency key. Before you retry them, check whether the record already exists.
mutation AdjustStock($input: InventoryAdjustQuantitiesInput!) {
inventoryAdjustQuantities(input: $input)
@idempotent(key: "3f5b6ebf-143c-4da5-8d0f-fb8553bfd85d") {
inventoryAdjustmentGroup { id }
userErrors { field message }
}
}
How should retries and errors be handled?
| Problem | What to do |
|---|---|
THROTTLED error or HTTP 429 | Wait (Shopify recommends one second), retry, and slow the job down |
| Shopify or the ERP times out or returns a 5xx error | Retry with exponential backoff, for example after 1, 2, 4 and 8 minutes, with the same idempotency key |
| The ERP rejects the order (unknown SKU, missing tax code, closed period) | Don't retry blindly. Move it to a dead-letter queue and alert a person. |
| Your webhook endpoint was down | Shopify retries for 4 hours. Reconciliation catches the rest. |
| The order changed after it was sent | Process orders/edited and orders/updated, then update the ERP order or post an adjustment, according to your accounting rules |
Every failed order should land somewhere a person checks every day, such as a dashboard, a Slack alert or an email.
How do you prepare the sync for peak sales events?
- Finish bulk product, price and inventory updates before the sale starts, not during it.
- Test webhook endpoints and queues under load, and check that they scale.
- During the peak, keep order webhooks and fulfillment updates running. Pause non-critical jobs such as catalog syncs and reports.
- After the peak, run a full reconciliation and clear the retry queue.
How do you set up the integration, step by step?
- Map the data and owners. Agree which system owns each field and which event triggers each sync.
- Choose the route. A connector from the table above, or a custom integration.
- Build and configure in a test environment. Use a development store or a Shopify Plus sandbox store connected to an ERP test company, never production.
- Test the edge cases. Partial refunds, edited orders, split shipments, discounts, gift cards, multi-currency, POS and B2B orders. Confirm that totals, taxes and payments match in both systems.
- Go live in stages. Start with one channel or market, or run the old and new process side by side for a short period and compare the results.
- Monitor from day one. Alerts for failed syncs, a visible retry queue and a daily count of orders in both systems.
How do you keep the integration healthy?
| Task | How often | What to check |
|---|---|---|
| Monitoring | Daily | Failed syncs, retry queue size, webhook delivery errors |
| Data audit | Weekly | Order counts, totals and stock levels match between Shopify and the ERP |
| Connector and ERP updates | Monthly | Release notes and any mapping changes |
| API version upgrade | Quarterly | Move to the latest stable Admin API version and retest |
| Documentation and training | When something changes | Who handles failed orders, and how |
A written runbook means the integration doesn't depend on one person. For the wider picture of how ERP fits with your PIM, WMS and other systems, see our guide to Shopify Plus enterprise integrations.
If you'd rather not build and run this yourself, our Shopify ERP integration service defines which system owns each type of data, connects Shopify to your ERP, and keeps orders, inventory, pricing and customer data in sync.
FAQ
Is Shopify an ERP?
No. Shopify is a commerce platform. It runs the storefront, checkout, POS, B2B ordering, orders, inventory and payments. It has no general ledger, procurement workflows, manufacturing or supply chain planning, so larger businesses connect it to an ERP such as NetSuite, Dynamics 365, Odoo or SAP.
Does Shopify have a built-in ERP integration?
Not in the core platform. Shopify's Global ERP Program lists certified ERP apps, including the NetSuite ERP Connector and Microsoft's Dynamics 365 Business Central connector. Microsoft's connector is a free app, although you still need a Business Central licence. Other ERPs connect through third-party apps, an integration platform or a custom integration.
Should I use webhooks or polling to sync orders?
Both. Webhooks send new and changed orders within seconds, but Shopify doesn't guarantee delivery or order. A scheduled reconciliation job that queries recently updated orders through the GraphQL Admin API catches anything the webhooks missed.
How long does Shopify retry a failed webhook?
Shopify retries 8 times over 4 hours. If the subscription was created through the Admin API and all 8 attempts fail in a row, Shopify deletes the subscription, so monitor delivery errors and recreate it if needed.
How do I stop duplicate orders in my ERP?
Save the Shopify order ID on each ERP sales order with a unique constraint, update the order if it exists, and keep a list of processed webhook IDs. For refunds and inventory changes sent to Shopify, use the @idempotent key, which is required from API version 2026-04.
Can I sync orders older than 60 days?
Yes. By default an app can read only the last 60 days of orders. Request the read_all_orders scope and use a bulk query to export the full history as a file.
Syncing Shopify with your ERP?
We connect Shopify and Shopify Plus to your ERP so orders, stock and customer data stay in sync without manual exports.
The checklist we run before touching a client's code
Get it by email, plus a few short notes over the next two weeks: what we see most often on Shopify stores and what actually fixes it.
Want more of our posts in your Google results? Add Codersy as a preferred source.
Add Codersy on Google(opens in a new tab)


