WooCommerce and Business Central: Reliable Near-Real-Time Stock and Orders

A decision guide for a contract that demands live stock: an AppSource connector, an integration platform or a custom API integration, compared on error handling, retry and the audit evidence you can show afterwards.

For a contract that demands live stock, choose the WooCommerce and Business Central integration by how it fails, not by how it syncs. A Marketplace (AppSource) connector is the quickest start, but its error handling, retry rules and logs are whatever the vendor built, so ask to see them. An integration platform (iPaaS) gives you configurable retries, alerts and run history, while you own the mapping and the monitoring. A custom API integration, with an AL staging table, the Business Central APIs and WooCommerce webhooks, takes longest to build and gives the strongest audit evidence: every stock push and order logged with a key, a timestamp and a status. All three need a regular full stock reconciliation.

What does "live stock" have to mean before you pick an integration?

A contract that says live stock without defining it cannot be met or disproved. Nothing between two separate systems is instant, so the honest promise is near real time with a stated maximum delay, and the definition decides which integration can meet it. Write it down with the counterparty before choosing a tool.

  • Which figure: stock on hand, or stock available to sell after reservations and open orders. The second is what stops overselling; how Business Central calculates it is covered on reservations and available to promise.
  • Which locations feed the shop, and whether a safety buffer per item is held back from the web.
  • The maximum delay between a stock change in Business Central and the new figure in WooCommerce, and how it is measured: from the posting timestamp to the acknowledged update.
  • The maximum delay between an order in WooCommerce and a sales order in Business Central.
  • What counts as an exclusion: a planned Business Central update window, a WooCommerce hosting outage, a message parked for a data error.
  • What evidence each side keeps, for how long, and who may see it.

How do an AppSource connector, an iPaaS and a custom API integration compare on errors, retry and audit evidence?

The three routes differ less in what they synchronise than in what happens when something goes wrong and what you can prove afterwards. The table describes each route in general terms; individual products vary, so check every row against the product in front of you rather than against this page.

QuestionMarketplace (AppSource) connectorIntegration platform (iPaaS)Custom API integration
Where the logic runsInside Business Central as an app, sometimes with a vendor service in betweenOn the platform, calling the Business Central API and the WooCommerce REST APIAn AL extension in Business Central plus a small receiver for WooCommerce webhooks, or AL calling WooCommerce directly
Error handlingAs designed by the vendor: check whether failed records are listed with a reason, or only countedRun history per flow, with failed steps visible; you design what a data error doesYou design it: transport errors and data errors handled separately, each failed message kept with its reason
RetryUsually the next scheduled run; ask whether a single failed record retries on its ownConfigurable retry policies on each step, with dead-letter handling if you build itRetry with a growing delay for transport errors; data errors wait in a queue for a person
DuplicatesDepends on whether the app keys orders on the WooCommerce order IDDepends on the flow: needs an explicit check before creating a sales orderA unique key on the staging table refuses the second copy of an order
Audit evidenceThe app log, if it keeps payloads and timestamps; retention set by the vendorPlatform run history, retained for the period your plan allowsYour own log table in Business Central: key, payload, timestamps, status and user, kept as long as you decide
LatencyOften schedule based, so the delay is the schedule intervalEvent or schedule based, depending on the trigger you useEvent based on both sides, with a scheduled sweep as the safety net
Who fixes itThe vendor, on their release scheduleYou or your integration teamYou, or the team that built it, with the source code
Fits bestStandard catalogue, standard order flow, no contractual latencySeveral systems besides the shop, an existing platform and teamA contract with stated latency and evidence, or non-standard stock rules

Which questions should you put to a connector vendor or integration platform before you sign?

Ask for answers in writing and for a demonstration on a sandbox, not a slide. If the answer to the evidence questions is vague, the contract with your customer will be hard to defend whatever the product does well.

  • Show a failed order: where does it appear, with what reason, and what does a person do to resend it?
  • Does a single failed record retry on its own, how often, and when does it stop and alert someone?
  • Is every WooCommerce order keyed on its order ID, so a resent webhook can never create a second sales order?
  • How is stock calculated: on hand, available, per location, with a buffer? Can the calculation be changed without the vendor?
  • What triggers a stock update: a posting in Business Central, a schedule, or a change to the item card?
  • What is logged per message, can the log be exported, and how long is it kept?
  • How does it behave when Business Central returns HTTP 429 (too many requests) or is in an update window?
  • Who supports it on a Saturday morning when orders stop?

How does stock get from Business Central to WooCommerce within the agreed delay?

Push it from the event that changes it. In Business Central, inventory on an item is calculated from item ledger entries, so posting a shipment or a receipt does not necessarily change the item record itself. A webhook subscription on items is therefore not a dependable stock trigger; test what fires on your version before you rely on it. The dependable route is an AL extension that records "this item changed" in an outbox table whenever a stock-relevant entry is posted, and a job queue entry that works through the outbox every short interval, calculates the figure the contract defines and sends it to WooCommerce.

On the WooCommerce side, stock is set through the REST API on the product or the variation, with manage_stock on and the new stock_quantity, and the batch endpoints let one call update many products. Never make the HTTP call inside the posting transaction: a slow shop must not slow down or roll back a posting in Business Central. Each push is logged with the item, the figure sent, the time and the response, which is the audit trail the contract needs. A scheduled sweep then resends the full figure for every item, for example nightly, so anything a missed event left behind is corrected.

How do WooCommerce orders reach Business Central without duplicates or gaps?

Receive them by webhook and catch what the webhook missed by polling. WooCommerce sends order webhooks such as order created and order updated, signed with an HMAC-SHA256 signature in a request header computed with the webhook secret, so the receiver can reject anything not sent by your shop. Store the order as received, keyed on the WooCommerce order ID, answer the webhook straight away, and create the sales order in a separate step through the Business Central API v2.0 or an AL routine. A webhook that arrives twice then finds its key already taken and creates nothing.

Webhooks are not a guarantee on their own. WooCommerce delivers them through the site's background scheduler, so timing depends on the hosting, and it disables a webhook after repeated failed deliveries (five in a row by default in recent versions; check yours). A scheduled poll of the orders endpoint for orders changed since the last checkpoint fills any gap, and an alert on a disabled webhook stops a quiet failure. Decide which order statuses create a sales order, usually processing once payment is confirmed, and how cancellations and refunds are handled; the posting design for refunds, discounts and shipping is the same as on Business Central and Shopify integration.

What should error handling and retry look like when a contract depends on them?

Separate the errors that time cures from the errors only a person can fix, and never let either disappear.

ErrorExampleHandling
TransportTimeout, WooCommerce host down, HTTP 429 or 503 from Business CentralRetry automatically with a growing delay, then alert if the message is still waiting after the agreed time
AuthenticationExpired secret, revoked consumer key, changed app registrationStop the queue, alert at once; retrying only fills the log
DataUnknown SKU, blocked item, customer template missing, variant not mappedPark the message with the reason; a person fixes the cause and resends it
DuplicateSame order ID received twiceAnswer success, log it as a duplicate, create nothing
ConflictStock changed again while an update was in flightSend the latest calculated figure, never a delta, so the last update always wins
  • Business Central applies operational limits to API calls per environment, and over the limit it answers HTTP 429; batch and pace calls rather than firing one per change.
  • Send absolute stock figures, not increments: an absolute figure sent twice is harmless, an increment sent twice is a stock error.
  • Give every parked message an owner and an age, and review the queue daily; a queue nobody reads is the same as no error handling.

What audit evidence proves stock really was live?

The evidence is a log you control and a reconciliation you run, kept for as long as the contract can be disputed. For each stock push, record the item, the figure, the Business Central event that triggered it and its timestamp, the time sent and the time WooCommerce acknowledged it. From that, a latency report per day shows how many updates met the agreed delay and which did not, with the reason. For each order, record the WooCommerce order ID, the time received, the sales order number created and any error and its resolution.

The daily reconciliation compares the stock figure in WooCommerce with the figure Business Central calculates, item by item, and lists every difference. Differences are investigated rather than overwritten, the same discipline described for a 3PL on 3PL and WMS integration. With a connector or a platform, check whether its own logs give you all of this, for how long, and whether you can export them; if not, add the missing log in Business Central.

When is a sync not enough, and the shop should read Business Central at order time?

When the last units are contested. Even a well-built push leaves a short window in which the shop shows stock that Business Central has just sold elsewhere. For high-value items, small quantities or trade customers who order large volumes, the shop can ask Business Central for availability when the item goes into the basket and again at checkout, and Business Central can reserve the stock as the order is created. That design, and why shop plug-ins that work from a copy oversell, is set out on a B2B ordering portal with live stock and prices. Retailers with stores selling the same stock should also read real-time store stock for the online shop.

What does Solzet deliver for a WooCommerce and Business Central integration?

Solzet starts with the definition: which stock figure, which locations, which delays and which evidence the contract needs. We then assess any connector or platform you already have against those requirements, and either configure it and add the missing logs, or build a custom integration: an AL extension with the outbox, staging and log tables, custom API pages where the standard endpoints do not fit, the WooCommerce webhook receiver and poll, the error queue and the daily reconciliation, tested on a sandbox against a copy of the shop. Your web team or agency keeps the WooCommerce store; we build the Business Central side and the integration with our own senior consultants and AL developers. The service lines are Business Central AL development and Dynamics 365 Business Central.

If customer data from the shop should also reach a CRM and you would rather not carry Microsoft licensing for it, a custom CRM connected to Business Central is an option. We recommend the right solution: Dynamics 365 (Customer Engagement, Business Central or Finance and Operations), Power Platform, or a custom-built CRM. One team for CRM, ERP and the integration between them.

What do people ask us?

Can WooCommerce show real-time stock from Business Central?

Near real time, yes. An AL extension notices stock-relevant postings, calculates the agreed figure and pushes it to WooCommerce through the REST API within a short interval, and a scheduled sweep corrects anything an event missed. Truly instant is not possible between two separate systems, so the contract should state a maximum delay.

Is an AppSource connector good enough for WooCommerce and Business Central?

It can be, for a standard catalogue and order flow without contractual latency. Before relying on one for a live stock commitment, ask the vendor to show a failed order, how a single record retries, how stock is calculated and what the log keeps and for how long.

Why do Business Central webhooks not update WooCommerce stock reliably?

Inventory on an item is calculated from item ledger entries, so a posting may not change the item record that a subscription watches. Subscriptions also expire unless renewed and notifications arrive grouped after a short delay. An outbox written by an AL extension on posting is the dependable trigger.

How do we stop WooCommerce orders being created twice in Business Central?

Store each incoming order keyed on its WooCommerce order ID in a staging table with a unique key, answer the webhook, and create the sales order in a separate step. A resent webhook then finds the key taken and creates nothing.

What happens if WooCommerce disables the order webhook?

WooCommerce disables a webhook after repeated failed deliveries. A scheduled poll of orders changed since the last checkpoint fills the gap, and an alert on a disabled webhook makes sure someone switches it back on and finds the cause.

What evidence should we keep to prove stock was live?

A log of every stock push with the trigger time, the time sent and the time acknowledged, a daily latency report against the agreed delay, a log of every order from receipt to sales order, and a daily item by item reconciliation of WooCommerce stock against Business Central.

Does Solzet build WooCommerce stores?

No. Your web team or agency keeps the WooCommerce store. Solzet builds the Business Central side and the integration: AL extensions, custom API pages, the webhook receiver, the error queue, the logs and the reconciliation, or the configuration and gaps of a connector you already use.

Which solution is right for your business?

Tell us what you need. A senior consultant replies within one business day with a recommendation (Customer Engagement, Business Central, Finance and Operations, Power Platform or a custom-built CRM), not a sales script.