#First, which Cin7 you run
Cin7 sells two inventory products. In January 2023 Cin7 renamed DEAR Inventory to Cin7 Core and its original product to Cin7 Omni. They have separate help centres and separate Shopify integrations, with different settings, so advice written for one often names a switch the other doesn't have. If your login and help pages say Core, read the Core column; if they say Omni, the Omni one.
| Cin7 Core | Cin7 Omni | |
|---|---|---|
| When stock goes to Shopify | Every time a product's stock changes in Core, if Update stock levels in Shopify is on | After Shopify sales orders are downloaded, if Auto-Sync Stock is on, and each time you open the integration's dashboard |
| Pushing it by hand | Catalog > Update stock quantities in Shopify | On the Stock Update Status tile: Update Recent Modified Stock Levels or Update All Stock |
| The figure sent | Available quantity, not quantity on hand | Whatever Type of Stock Level To Use on Shopify says: Stock Available, Stock on Hand, or one of five variants with open orders or incoming stock |
| Which stock feeds which Shopify location | Shopify locations mapped to Core locations; a product mapped to none takes the Location for online sales | Get Stock Levels From to one Primary Location, or Map Warehouses for one branch per location |
| Holding some back | Use buffer inventory: actual stock minus the buffer | Set Buffer Stock, or Set Maximum Stock Levels as a cap |
| Where a failed upload shows | Not named in Core's Shopify help | Stock Activity tile > Stock Update Errors |
Cin7 Core's help is explicit about direction: stock levels are "always pushed from Cin7 Core to Shopify, never from Shopify to Cin7 Core." Shopify orders come into Core, reduce its stock, and the new figure goes back out. So in Core, the count to trust is Cin7's, and a Shopify count that differs is one Cin7 hasn't sent, or one something else has changed since.
#Causes in both products
#1. Track Quantity is off in Shopify
If Track quantity is off for a variant, Shopify keeps no count for it, and nothing Cin7 sends can land. Omni names it in an error: "Inventory item does not have inventory tracking enabled". It applies to the product and to each variant, so one size switched off is enough.
How to see it: open the variant in Shopify and look at Track quantity. In Omni, the error is on the Stock Update Errors page.
#2. The wrong stock feeds the Shopify location
Each product decides this its own way. In Core, Shopify locations are mapped to Core locations and each product to the locations it sells from; a product mapped to none takes its stock from the Location for online sales in the Shopify settings. A store's Shopify location can end up showing the web warehouse's stock.
In Omni, without Map Warehouses, the total of the branches in Get Stock Levels From goes to a single Primary Location. With it, each Shopify location takes stock from the branch or branches mapped to it, and a branch mapped to two locations sends the same stock to both. A location deactivated in Shopify fails with "Error: Location is deactivated"; the fix is to refresh the warehouse options in the integration's settings, point the row at an active location and Save.
How to see it: the Shopify count at one store equals Cin7's count at another location, or the sum of several.
#3. A different figure from the one you compare
Core sends the available quantity, not the quantity on hand, so a stock-take sheet won't match it while orders are allocated. Omni sends what Type of Stock Level To Use on Shopify is set to. Stock Available + Incoming Stock adds what is on open purchase orders, so Shopify can show more than the shelf holds, and that is the setting doing its job.
How to see it: the difference equals the allocated quantity, or the open purchase orders, for that SKU.
#4. A buffer or a cap
Core's Use buffer inventory sends actual stock minus the buffer, set per product or for the whole channel. Omni's Set Buffer Stock subtracts a quantity; Set Maximum Stock Levels never sends more than a ceiling. Either way, Shopify is lower by design.
How to see it: the difference is the same number on every location for that product, or Shopify never goes above one figure.
#Causes in Cin7 Core
#5. Automatic updates are off
Update stock levels in Shopify switches automatic updates on and off. Cin7 suggests leaving it off while you set up or while Core's counts are in doubt, because switching it on overwrites Shopify's counts with Core's. Leave it off and only listing or updating a product, or a manual Update stock quantities in Shopify, moves the stock.
How to see it: every SKU that has moved since the setting went off differs, at every location.
#6. Auto-assembly is on
Cin7's own FAQ gives auto-assembly as the reason a product's Core stock differs from Shopify's: Core counts what it could assemble from components as well as the finished stock.
How to see it: only products with a bill of materials differ.
#7. A stocktake or unpaid orders hold sales back
While a stocktake runs at a location, Shopify sales for it load into Core but "stay as pending until the stocktake has been completed." With Capture order when it is set to Paid, unpaid orders don't come into Core at all. Either way, Core hasn't taken those units off yet.
How to see it: the difference equals the pending or unpaid orders for that SKU, and clears when they come through.
#Causes in Cin7 Omni
#8. Stock moves only when orders download
Auto-Sync Stock uploads stock after Shopify orders are downloaded, and Automatic Order Downloads runs at least every two hours, or once a day with Force Daily Auto Order Downloads. Cin7 also tells you to update after receiving stock and after fulfilling orders from other channels: a delivery booked in at 9:00 may not reach Shopify until the next download.
How to see it: the difference matches a receipt or a non-Shopify sale, and clears after the next download or a manual update.
#9. Settings changed, but only recent changes were sent
Update Recent Modified Stock Levels sends only products whose stock has changed. Cin7 says to run Update All Stock after changing branches, locations or how stock is calculated. Skip it and products that haven't sold since still carry the old figure.
How to see it: slow-moving SKUs differ, fast ones agree.
#10. An upload failed and stayed failed
Open Stock Update Errors from the Stock Activity tile. "Error: Not found" means the Shopify product or variant is gone or can't be identified: delete the mapping or remap it. A product set to a fulfilment service location and also to other locations fails with "Error: An item cannot be active at more than one location if one of them is a fulfillment service location". Fix the cause, reset the error and retry.
How to see it: the same SKU differs night after night while the rest catch up. The connector-side causes from the post on Shopify inventory not updating, from SKUs that don't match to two apps writing one count, apply to Cin7 too.
#Line up every SKU and location
One product page tells you something is wrong. Both sides exported per SKU and per location tell you which cause.
Shopify:
- In Shopify admin, go to Products > Inventory and click Export.
- Under Export from, choose All locations; under Inventory states shown, choose All states.
- Choose All variants, CSV, and click Export inventory. Save it as
shopify.csv. It has one row per variant per location, with SKU, Location and Available (not editable).
Cin7: in Core, the Product Availability report shows Available, On Hand and Location per product, and Export saves it to Excel. In Omni, take the stock figure your Type of Stock Level setting sends, per branch. Save it as cin7.csv with three columns, sku, location and qty, and name the locations as Shopify does.
import csv
import sys
from collections import defaultdict
def load(path, sku_col, loc_col, qty_col):
counts, blank = defaultdict(int), set()
with open(path, newline="", encoding="utf-8-sig") as f:
for row in csv.DictReader(f):
sku = (row.get(sku_col) or "").strip()
loc = (row.get(loc_col) or "").strip()
qty = (row.get(qty_col) or "").strip()
if not sku:
continue
if qty in ("", "not stocked"):
blank.add((sku, loc))
continue
counts[(sku, loc)] += int(float(qty))
return counts, blank
shop, shop_blank = load(sys.argv[1], "SKU", "Location", "Available (not editable)")
cin7, _ = load(sys.argv[2], "sku", "location", "qty")
print("sku,location,shopify,cin7,difference,note")
for key in sorted(set(shop) | set(cin7) | shop_blank):
sku, loc = key
if key in shop_blank and key not in shop:
print(f"{sku},{loc},,{cin7.get(key, '')},,no count in Shopify: tracked?")
elif key not in shop:
print(f"{sku},{loc},,{cin7[key]},,missing in Shopify")
elif key not in cin7:
print(f"{sku},{loc},{shop[key]},,,missing in Cin7")
elif shop[key] != cin7[key]:
print(f"{sku},{loc},{shop[key]},{cin7[key]},{shop[key] - cin7[key]},")Run it as python compare_cin7.py shopify.csv cin7.csv > differences.csv. A SKU like 00412 opened and saved in Excel loses its zeros, and then nothing matches; keep the SKU column as text. If the files label the same store differently, rename one side first.
#A worked example
An invented chain of 120 stores runs Cin7 Core for stock and Shopify for the web shop and the tills, one Shopify location per store. One Monday the script returns:
| SKU | Location | Shopify | Cin7 | Difference |
|---|---|---|---|---|
| TEE-BLK-M | ST-014 | 14 | 9 | +5 |
| CAP-NVY | ST-022 | 6 | no count in Shopify | |
| GIFT-BOX | ST-031 | 7 | 12 | −5 |
| SCARF-RED | ST-037 | 3 | 5 | −2 |
| every SKU | every store | various | various | 212 rows |
Invented figures. Read the patterns:
- ST-014, +5. TEE-BLK-M is mapped to no location, so its count follows the Location for online sales, the web warehouse's 14 (cause 2). Map the product to the stores that sell it.
- ST-022, blank. Track quantity is off on the medium cap in Shopify (cause 1). Every sale of it has had nothing to reduce.
- ST-031, −5. GIFT-BOX is assembled from components with auto-assembly on (cause 6). Decide which figure the web shop should show.
- ST-037, −2. A buffer of 2 on SCARF-RED (cause 4). Not a fault: write it down as an expected difference.
- 212 rows. Update stock levels in Shopify was switched off for a stocktake on Thursday and never switched back on (cause 5).
Five causes, three of them only visible across stores, and one that is the setting working as intended.
#Doing it every night
The export and the script take ten minutes. The causes come back: a new product mapped to nothing, a buffer someone forgot, a setting left off after a stocktake. The first person to notice is a customer told a cap is in stock at ST-022.
DataMosaic runs that comparison every night against the systems themselves. Its Shopify connection asks only for read access, and arrives with a Stock by location query; Cin7's export comes in as a file from a folder or an SFTP server. A check sets Shopify's count against Cin7's per SKU and location, and its rules say how far apart is too far, so a buffer of 2 is allowed and a gap of 5 is not. A row that differs offers an investigation, the runbook your team writes once: is the product mapped to that store, is there a buffer, is the setting on. If you want Mosaic to act, say by emailing the store manager when the same SKU differs two nights running, that is a workflow you build.
The habits behind that, from agreeing the key to sending the result to an owner, are in the post on data reconciliation best practices.
#Questions people ask
#Why is Cin7 not updating stock in Shopify?
In Cin7 Core, check that Update stock levels in Shopify is on and that the product is mapped to the right locations. In Cin7 Omni, check Auto-Sync Stock and the Stock Update Errors page. In both, check Track quantity on the variant in Shopify.
#Does Shopify update stock in Cin7?
In Cin7 Core, no: stock is always pushed from Core to Shopify. Shopify orders come into Core and reduce its stock, and Core then sends the new figure back.
#How often does Cin7 Omni sync stock to Shopify?
With Auto-Sync Stock on, after each download of Shopify orders, which runs at least every two hours with Automatic Order Downloads. It also updates recently changed stock each time you open the integration's dashboard.
#Why is Shopify stock lower than Cin7?
Usually a buffer, a maximum stock level, or Core sending available rather than on hand while orders are allocated. If the difference is the same on every location for a product, look at the buffer first.
#What is the difference between Cin7 Core and Cin7 Omni?
They are separate products: Core was DEAR Inventory and Omni is Cin7's original product, renamed in January 2023. Each has its own Shopify integration, settings and help centre.