Faster import — what changed under the hood

If you import items from a marketplace, you'll notice 2 things: fewer duplicates and faster syncs.

If you've imported a closet from Poshmark or a store from Shopify or eBay, you may have occasionally seen duplicate rows in your inventory — the same listing appearing twice with slightly different IDs. We tracked down why and shipped three backend fixes that should make that stop.

What changed

Three quiet improvements landed together:

Transactions around each import batch
Before: if an import partially failed halfway through, we'd leave some rows committed and others not — and a retry would re-insert the committed ones as duplicates. Now: each batch runs inside a single transaction. Either every row commits or none does. Retries see a clean starting point.
Idempotency via compare-and-swap
Before: two import jobs that happened to run at the same time (rare but possible) could both insert the same row. Now: each row insert is gated by a compare-and-swap against the marketplace listing ID. Concurrent imports converge cleanly.
Ownership check before writing
Before: if a marketplace returned a listing that belonged to a different seller (extremely rare; happens when an API endpoint has a race condition), we'd write it into your inventory anyway. Now: we verify the listing's owner field matches your connected account before writing.

What you'll see

Cleaner inventory after future imports — no near-duplicate rows. Slightly faster syncs because the new code path is more efficient end-to-end. Import progress bars should also be more accurate, since rows-written-so-far now reflects committed rows, not in-flight ones.

What to do about duplicates from before this fix

If your inventory already has duplicate rows from a past import, the fix above doesn't clean them up automatically (we don't auto-delete inventory). You have two options: ignore them (duplicates don't get listed twice; the deduplication kicks in at crosslist time), or bulk-delete from Crosslister using the filter 'duplicate of'.

If you have hundreds of duplicates and don't want to clean by hand, email support@closo.co with your seller ID and we'll run a one-time dedupe on your account.

Open Imports