A buyer orders the last pair of a model on your website at 10:40. The same pair left the shop on the high street at 9:15. Now a manager has to call the buyer, apologise and offer something else. The website and the shop disagreed because the website works from a copy of the stock list, and the copy was a few hours old.
Most retailers with shops keep the real numbers in an accounting system: what arrived at the warehouse, what each shop sold, what each item costs. The online store should read from that system instead of keeping its own version. Below: which data goes in which direction, how often to sync, how to handle stock across several shops, and where these integrations break.
Decide which system owns each piece of data
Before anyone writes code, make a short table. For each type of data, name the one system that owns it. The other system only reads it.
| Data | Usually owned by | Direction |
|---|---|---|
| Product list, article numbers, brands, sizes | Accounting system | to the store |
| Stock per item, per size, per shop | Accounting system | to the store |
| Regular prices and price reductions | Accounting system | to the store |
| Descriptions, photos, category texts, SEO fields | Online store | stays in the store |
| Seasonal promotions run only online | Online store | stays in the store |
| Orders placed on the website | Online store | to the accounting system |
The trouble starts when both systems can change the same field. A manager fixes a price in the store admin, the next import overwrites it, and nobody knows which number was right. If accounting owns prices, lock them in the store admin.
Orders are the one flow that usually goes the other way. In the Octolab online store we built, 100% of web orders go into the accounting system automatically, so nobody retypes them. If your staff already work from the accounting system, this saves them a second screen.
Stock when you also have physical shops
A store with one warehouse has one stock number per item. A retailer with shops has several, and has to decide what the website shows.
Questions to answer up front:
- Does the website sell from the warehouse only, or from every shop?
- If a shop has the last unit, can an online buyer reserve it, or does the shop keep it for walk-in customers?
- Should the website keep a buffer, for example show an item as sold out when one unit is left, to cover the delay between a shop sale and the next sync?
- What happens to a product page when stock reaches zero: hide it, show “out of stock”, or leave it orderable as a pre-order?
In the designer eyewear store we support, sold-out models hide themselves and come back when restocked, and a “Back in stock” block on the home page shows the returns. In the multi-brand fashion boutique, stock is tracked per size: a size that has sold out cannot be ordered, and an item with no sizes left is marked out of stock. Each store reads stock from its own client’s warehouse and accounting system, which also tracks that client’s physical shops.
Sizes deserve a separate note. In WooCommerce a product with sizes is usually a variable product, and each size is a variation with its own stock. Your accounting system may store sizes the same way or as separate items with a shared base article number. The integration has to map one model to the other, and that mapping is where most early bugs come from.
How often to sync
The useful question is how long you can live with the website being wrong. Stock changes most often and matters most. Prices matter when a promotion starts. Descriptions can wait until the next day.
A common setup:
- stock and prices every hour or more often, sending only the items that changed;
- the full catalogue once a night, to catch anything the incremental runs missed;
- new products as soon as someone marks them ready in accounting.
In the fashion boutique goods, sizes, stock per size and prices update from accounting about once an hour. With about 4,300 product cards, that is enough to keep sold-out sizes from being ordered without loading the server with a full import every few minutes.
If your accounting system can send a change the moment it happens, through an API or a webhook, you can sync stock faster. Many systems can only export a file on a schedule, and then the schedule is your limit.
Prices and discounts
If a manager lowers a price in accounting, the store can treat it as a reduction: show the old price crossed out next to the new one, add a discount badge and put the item in the sale category. That is how the boutique works: a lower price in accounting becomes a discount badge and a crossed-out price on the site. In the eyewear store a discount set in accounting shows up on the site and in the SALE section without anyone touching the website.
Some promotions belong to the website. Black Friday campaigns, coupon codes and bundles often run online only, and keeping them in accounting just to push them to the store makes little sense. In the eyewear store managers fill seasonal promotions such as Black Friday from the store admin, while everyday prices and reductions still come from accounting. Write down which is which.
What breaks in practice
Most of the work goes into cases nobody planned for. These are the ones we see most often on WooCommerce.
Matching products. The integration needs one stable key that both systems share, usually the article number. If someone creates the same product twice in accounting or changes an article number, the store gets a duplicate or loses the link to the old product. Agree on the key early and protect it.
Filters and search after import. WooCommerce keeps lookup tables for stock, prices and attributes. If an import writes data directly and skips the refresh, filters and search show products that are sold out or hide ones that are in stock. The import has to refresh those tables every time.
Records the store refuses. Accounting systems sometimes send data that WooCommerce will not accept: an empty price, a size that does not exist as an attribute, a broken character in a name. A good integration logs every rejected record so someone notices the same day, instead of the product silently vanishing.
Caching. A large catalogue needs page caching to load fast, and a cached page can show yesterday’s stock. The cache has to clear for the products that changed in each sync. In the eyewear store, after a move to a dedicated server and a second cache layer, cached pages answer in about 0.3 s instead of 3.7 s, and stock and prices stay current.
Languages. If the store runs in several languages, a new product from accounting has to appear in each of them. In Octolab’s store, which runs in three languages, new products appear in all three automatically.
Three stores we keep in sync
We built the link between the store and the accounting system from scratch for both the designer eyewear store and the multi-brand fashion boutique, and we keep it running. The eyewear store has about 4,300 products from around 50 brands and has been with us since 2023. The boutique has about 4,300 product cards from around 60 brands and has been with us since 2024. Each takes goods, stock and prices from the client’s warehouse and accounting system, which also tracks its physical shops.
Octolab, a flavourings manufacturer, keeps its catalogue in an accounting system too. Its store syncs about 200 products, runs in three languages and opened to the public in November 2026. Octolab’s business customers order through a Telegram Mini App we also built, described in the B2B ordering case, and those orders reach the same accounting system without retyping.
If you are planning a store that should follow your accounting system, our e-commerce development page describes how we approach it for retailers with shops. For stores already on WordPress, see WordPress and WooCommerce development.
Checklist before you start
- A table that names the owner of each data type: products, stock, prices, discounts, descriptions, orders.
- One shared product key, usually the article number, that nobody changes after creation.
- A decision on how sizes and colours map between accounting and the store.
- A rule for stock across shops: which locations the website sells from and whether it keeps a buffer.
- What the store shows at zero stock: hide, mark out of stock or allow pre-order.
- A sync schedule for stock, prices, new products and the full catalogue.
- What your accounting system can export and accept: API, webhooks or files.
- Where discounts live, and which promotions run online only.
- Whether web orders go back to accounting, and in what form.
- A log of rejected records and a person who reads it.
- Cache clearing for products that changed in each sync.
FAQ
Can WooCommerce sync with any accounting software?
Most accounting systems can be connected, as long as they offer an API or can export files on a schedule. The method changes from system to system, and the rule stays the same: the system that owns the data is the source, and the store follows it. Check what your system can export and accept before you choose an approach.
How often should online store inventory sync with accounting?
For many retailers, stock and prices every hour or more often, sending only changed items, plus a full catalogue sync at night. For fast-moving items, add a buffer or sync them faster.
Should website orders go back into the accounting system?
If your warehouse and accountants work in the accounting system, yes. It removes retyping and keeps stock correct after online sales. If orders are processed only in the store admin, you can start without it and add the flow later.
What happens if the sync fails?
The store keeps showing the last data it received, which gets older every hour. An integration needs logging and an alert when a run fails or rejects records, so someone fixes it the same day.
What would you like to do next?
Discuss a project
Tell us about the task. Within one working day we reply with questions or a first view on scope and cost.
Start a projectAsk a question
A short question about your app, website or idea. An engineer replies by email.
Get new articles
New articles and case studies by email, no more than once a month. Unsubscribe at any time.