Explainer

Keep your prices and stock in sync with your supplier

Importing products is the easy part. The supplier keeps changing prices and running out of items, and your shop has to follow. Here is how to keep up without checking every product by hand.

1 What goes wrong when prices go stale

  • You sell at a loss. The supplier raises a price, your shop still shows the old one, and every order costs you money.
  • You sell what you cannot ship. The item ran out at the supplier, your shop still says “in stock”, and you end up cancelling orders and refunding customers.
  • You lose sales. The supplier lowered a price or restocked an item, and your shop never showed it.

None of this shows up straight away. It shows up as cancelled orders and thin margins weeks later.

2 What a sync actually does

A sync reads your supplier's product list again and compares it with what is in your shop. For every product it already imported, it updates what changed: price, stock, name, pictures. New products are added. Nothing is written for products that did not change.

The key is the product ID from the supplier: it is how the sync knows that today's item 1042 is the same product it created last week, so it updates it instead of creating a copy.

3 How often should you sync?

It depends on how fast your supplier changes and how many products you have:

Your situationA sensible start
Prices change rarely, stock is plentifulA full sync once or twice a day
Fast-moving stock (dropshipping, flash sales)A full sync every hour or few hours, and a price-and-stock update every 15 to 30 minutes
Very large catalogue (10,000+ products)Fewer full syncs, more frequent price-and-stock updates

Check your supplier's request limits first. Syncing more often than their API allows can get your access blocked. That is why the plugin will not run a full sync more often than every 30 minutes, or a price-and-stock update more often than every 10.

4 Full sync vs a fast price-and-stock update

Full syncPrices and stock
Adds new productsYesNo
Updates name, description, pictures, categoriesYesNo
Updates price and stockYesYes, including variations
Deletes anythingOnly if you switch on removalNever
SpeedSlowerFast

Running both gives you the best of each: the full sync keeps the catalogue complete, and the fast update keeps the two things that cost you money, price and stock, close to the supplier between full runs.

5 Setting it up

In the free edition of TechCare API Product Sync, press Sync now whenever you want to update: prices, stock and details of every imported product are refreshed. It runs in your browser, so keep the page open.

PRO Pro runs on its own, in the background on your server:

  1. On the plugin's Dashboard, find the Automatic sync card.
  2. Switch on Full sync and set how often in Settings → Sync and schedule (Auto sync interval (minutes), 30 or more).
  3. Switch on Prices and stock and choose Every (minutes), 10 or more. Under What gets updated pick price, stock and variations.

The card shows when each one runs next, and the Logs tab records every run: how many prices and stock levels changed.

6 Making the schedule reliable

WordPress runs scheduled tasks with WP-Cron, which only wakes up when someone visits your site. On a quiet shop, or at night, a scheduled sync can start late. If the plugin's Dashboard says overdue — no cron is running it, this is why.

The fix is a real server cron that calls WordPress every few minutes, whether or not anyone visits. Most hosts let you add one in their control panel (look for Cron Jobs). Add this, with your own address:

*/5 * * * * wget -q -O - "https://yourstore.com/wp-cron.php?doing_wp_cron" >/dev/null 2>&1

Then tell WordPress to stop running cron on page visits by adding this line to wp-config.php, above the line that says That's all, stop editing:

define( 'DISABLE_WP_CRON', true );

Not comfortable editing files? Ask your host’s support to “set up a real cron for wp-cron.php every 5 minutes”. It is a common request.

7 Keeping your own edits

Sometimes you rename a product, rewrite its description or set a special price yourself. A naive sync would overwrite that on the next run.

PRO With Manual edit protection switched on, the name, description, short description or pictures you edit by hand on a product are locked on that product, and the sync leaves them alone. You choose which of these can be locked in Fields that can be locked. The product page shows which fields are protected, and one click (Let the sync update them) releases them. For prices there is Pin the price too, so a hand-set price survives both the full sync and the fast update.

8 Products the supplier dropped

When a product disappears from the supplier's list, you probably do not want to keep selling it.

PRO In Settings → Protection and deletion, under Products removed from the API, choose what happens: move it to the trash, turn it into a draft, or delete it permanently. The Safety threshold (30% by default) stops the removal if the supplier suddenly returns far fewer products than usual, which usually means their API had a bad moment, not that half your catalogue is gone.

Start with draft or trash. Both can be undone; permanent deletion cannot.

9 Checking that it works

  • Pick three products and compare their price and stock with the supplier after a sync.
  • Read the last few runs in the Logs tab: errors and skipped products are listed there.
  • Watch the next-run time on the Dashboard for a day. If it keeps saying overdue, set up the server cron above.

Let your shop keep up on its own

Try automatic sync free for 7 days, up to 50 products, no card needed.

Start the free trial

Not connected yet? Start with connecting your supplier’s API or the getting started guide.