# How corrections work

Every hour we check the group for differences. When we can't account for one, the main store's number wins — and every correction is listed.

import Term from '~/components/Term.astro';
import { Aside } from '@astrojs/starlight/components';
import DocUpdated from '~/components/DocUpdated.astro';

Syncing changes as they happen is not enough on its own for Assemblified's multi-store sync. Stock also moves in ways we never see — someone edits a number directly in Shopify admin, an app we don't know about writes to a location, a delivery fails and later turns out to have landed anyway. So once an hour we check, and where we find a difference we cannot account for, we correct it.

The hourly check runs only while the group is **syncing live**. A group that is still recording only, that has had syncing switched off, or that has been paused, is not checked and nothing is corrected.

**This page is the one to read before you are surprised by a number changing back.**

## The rule, stated once

> **Corrections come from the main store.**
>
> When a partner store's number disagrees with the main store's, and our own records do not explain the difference, the partner is set to the main store's number.

The main store is never corrected by this process. A number you change at the main store propagates outward; a number you change at a partner store is either explained by our records or overwritten.

<Aside type="caution" title="This is the single most common surprise">
If you edit stock at a **partner** store directly in Shopify admin, expect it to be corrected back within the hour. That is not a bug and it is not a failed sync — it is the rule doing exactly its job. To change a shared product's stock, change it at the **main store**, or use a [settle run](/features/multi-store/settle-and-worksheet/) to choose different values deliberately.
</Aside>

## What the check actually does

Once an hour, for each store, we look at what changed since the last check.

**First pass — things that changed at the main store.** Every matched partner must hold the same number. If it does, we count it and move on. If it does not, we set the partner to the main store's number and record the correction.

**Second pass — things that changed only at a partner store.** Here we ask a different question: *do our own records account for this?* We know what the partner's number was at the end of the last check, and we know every change we sent it since. If

```
last known value  +  everything we sent  =  what it holds now
```

then the change is explained and we leave it alone — that is your partner selling normally. If the sum does not close, something moved that we did not cause, and the main store's number stands.

**A product we have never seen at that location** gets neither treatment. We write down its current value as a starting point and change nothing. We do not overwrite something we have no history for.

Both passes only ever act on products the shared-SKU index has confirmed as **Matched**. Anything ambiguous, not found or deleted at a store is counted and skipped, never snapped.

## The four verdicts in the Corrections table

You will find them at **Settings → Multi-store → Sync runs → the Corrections tab**, the second of the two tabs there, beside **Runs**. It sits with the runs because what it lists *is* the outcome of the runs on the other tab.

Every row is one stock level, newest first: **Store**, **SKU**, **Location**, **Found → set to**, **Result**, the **Run** that did it and **When**. Page through it with **Older** / **Newer**.

| Result | Plain English | Did stock change? |
|---|---|---|
| **Settled** | you ran a settle, and we set this store to the target value | **yes** |
| **Corrected** | this store disagreed with the main store and we could not account for the difference, so we set it to the main store's number | **yes** |
| **Explained** | this store's number changed, and our records fully account for it. Left alone | no |
| **First check: recorded only** | first time we have seen this product at this location. We recorded a starting point and changed nothing | no |

<Aside type="tip" title="An empty Corrections table is healthy">
Matches are counted, not listed. A row appears only when something actually differed. If the table is empty — "Nothing to report: the stores agreed every time they were checked." — that is the outcome you want.
</Aside>

## Newly linked stores get corrected too

The first check after you link a store imposes the main store's numbers on **every** matched product at that store — settled or not. There is no grace period and no "wait until it's been settled" fence.

That is deliberate: a fence would mean a half-settled group silently running two truths. But it does mean:

> **If your partner store's counts are the ones that matter, run a settle right after linking.**

See [Settling stock](/features/multi-store/settle-and-worksheet/). A settle is how you *choose* which numbers win; the hourly check always chooses the main store.

## When we don't correct

We deliberately leave things alone in several situations. Each one is visible, not silent:

- **A change of ours is still in flight.** If we have sent something to that store and it has not come back yet, we do not correct that product this hour — correcting it would fight with our own delivery. It is checked again next hour.
- **The product is ambiguous** — the same SKU is a BOM at both stores, or matches more than one product. We exclude it from both passes entirely, so a partner's own local BOM never gets snapped.
- **The product is not matched, not found, or deleted** at that store. Nothing to compare.
- **We could not read one of the stores.** One store failing does not stop the check for the others; that store is simply not checked this hour, and the run reports it.
- **We have no starting point** for that product at that location — see "First check: recorded only" above.
- **The window did not fully resolve.** If a check left anything unfinished, the next one re-examines the same period rather than moving past it. We would rather check twice than miss once. (There is a limit: the window is never dragged back more than six hours, so one permanently stuck item cannot make every later check slower and slower.)

## We also fix our own records

The second pass does something useful in the other direction. If our ledger says a change **failed** but the partner's stock shows it actually landed, the sum closes — and we mark our own record corrected rather than pushing the stock around again. So a delivery that timed out and quietly succeeded stops looking like a failure.

## What about locations?

If Shopify moves an order's fulfilment to a different location after we have already synced it, the totals stay right but the change may sit at the old location's counterpart. The hourly check heals that. **Totals are always correct; a location split can be an hour behind.**

## Frequently asked

**"Can I make a partner store win instead?"**
Not as a standing rule — the main store always wins the hourly check. What you can do is run a **settle** and choose "lowest wins" or upload a worksheet with the numbers you want. After a settle, the hourly check has nothing to correct because the stores already agree.

**"Why did it change back after I fixed it?"**
Because you fixed it at a partner store. Fix it at the main store, or settle.

**"Can I turn the hourly check off?"**
Yes, in two ways, both on the Group tab at the main store. **Turn syncing off** is the lighter one: it stops outbound writes *and* the hourly check, while the group keeps recording what it would have done. **Pause group** stops everything including the check. Neither replays the gap when you switch it back on; the next check picks the group up where it is.

**"How far back does it look?"**
At least the last hour, and further if the previous check did not complete cleanly. It never skips a period it did not finish.

## What if the main store leaves?

Everything above rests on there being a main store. If it uninstalls Assemblified, or is removed, or its **Elevate** plan lapses, **the whole group is paused** and nothing syncs or is corrected anywhere. The Group tab says so: *"The main store is no longer available."*

<Aside type="danger" title="There is no automatic promotion, and this is not undoable by us">
No partner is promoted to main. That is deliberate, not an oversight — the main store is where the bills of materials live, where the slots are defined and where every correction originates, and inventing all three for a store that never had them would be a silent guess about your business.

The consequence you must plan for: **uninstalling Assemblified from the main store deletes that store's bills of materials, assembly BOMs and history.** Export them *before* you uninstall. They cannot be recovered afterwards.

Recovery is manual: export the main store's BOMs, import them at whichever store should take over, create a fresh group with that store as main, then index-build and settle. The surviving partners can meanwhile **Leave group**, or **Disband group** to release everyone.

A lapsed **plan** is the gentler case — it reverses by itself when the plan comes back, and nothing needs re-creating.
</Aside>

## Related

- [Settling stock and the worksheet](/features/multi-store/settle-and-worksheet/)
- [What syncs, and what partners can't do](/features/multi-store/what-syncs/)
- [Multi-store overview](/features/multi-store/overview/)

<DocUpdated date="2026-11-19" />