Synchronization Preview vs Apply: What Is the Difference?
Learn how IHASHOP synchronization preview and apply differ in catalog writes, safety thresholds, stock modes and partial transaction handling.
What are preview and apply?
IHASHOP Dropshipping 1.0.0 synchronization preview (dry_run) reads the real supplier feed and calculates differences without changing source or shop catalogs. Apply is a separate run that fetches the feed again and persists validated changes. It is not a guaranteed replay of the preceding preview.
1. Select the correct mode
Open Marketplace > Dropshipping Sync (/secure/dropshipping/senkron). Valid entitlement, Seller role and settings.edit permission are required. Select a connection; a single option is selected automatically and disabled connections are excluded. Confirm the preview or Apply action, which makes a real network request. Queued does not mean completed. Check the queue worker and run history.
2. Shared validation stages
Both modes perform secure download, saved mapping or adapter normalization, identity validation, category planning, catalog differences and threshold analysis. Default limits are 20% invalid products, 20% lost products and 15% comparable variants with changed costs. Strictly exceeding a limit stops before catalog writes. The cost limit is not a price increase percentage. Reusing an idempotency key returns an existing run.
Another fresh apply for the supplier is blocked; dry_run is not subject to that lock.
3. Preview write boundaries
In the successful standard dry_run test only ds_sync_runs is written and yazilan is zero. Source products, variants, categories, stock and price snapshots and shop records stay unchanged. Download failures may also update connection error status. Price and sales-link checks count only. Shadow stock reporting is not a dry_run stage.
Preview uses existing persisted snapshots, so it should not be treated as an exact forecast of every downstream effect after apply.
4. What Apply changes
Apply writes source categories, products, variants and eligible stock/price snapshots; missing cost or currency may prevent price snapshots. Price checks and missing/VAT scanning may update existing sales links. Shop products and category mappings are not automatically created, and selling prices are not written. Real stock mode may update eligible linked shop inventory. Shadow mode produces stats.golge when enabled and real mode is off.
Real mode may generate order intentions, but does not send supplier orders.
5. Compare GiyimDepom and Luxstoree
In an illustrative GiyimDepom JSON variant, StockQuantity falls from 100 to 75; in Luxstoree XML quantity falls from 5 to 0. Preview calculates changes while preserving existing source records. Successful apply records the new source stock. Zero is valid stock, not a missing product. Shop inventory changes only if real stock mode and link/reservation checks permit it.
GiyimDepom uses ProductCombinationId; Luxstoree uses an lx: key derived from product code and barcode. These are not live inventories.
GiyimDepom JSONLuxstoree XMLStockQuantity: 100 → 75quantity: 5 → 0ProductCombinationIdlx:…dry_run: 100dry_run: 5apply: 75apply: 06. Partial writes and transaction safety
KaynakKalicilikTest describes a baseline of 10 products and a new feed of nine. Entitlement closes after the third product: aborted/MODUL_KAPALI, kismi=true, three written and six remaining, zero missing markings. Another test fails on P3-B and rolls back P3 and its variants, preserving P1/P2. The synthetic RuntimeException in a direct service call leaves the run running, not completed.
SnapshotYazimTest expects two variants, two stock and two price snapshots to remain when entitlement closes at the second stock write of five products. The entire run is not one transaction.
7. Review results safely
Review run type, state, received/written products, invalid/review count, shadow report, stock and start time. ESIK_KAYIP, ESIK_FIYAT and ESIK_HATA stop before writes. MODUL_KAPALI or YAZIM_HATASI may leave earlier commits. For BAYAT_ZAMAN_ASIMI inspect the worker; the default 30 minutes is measured from the last heartbeat. Failure statistics may be incomplete. Verify source and entitlement, preview again, then deliberately apply.
Related guides
- How Does Dropshipping Product Synchronization Work?
- How to Use Field Mapping Preview
- How to Integrate GiyimDepom Dropshipping with IHASHOP
- How to Integrate Luxstoree Dropshipping with IHASHOP
- IHASHOP Dropshipping
Frequently asked questions
Does preview send a real request?
Yes; it does not write catalogs but may write operational records.
Does successful preview guarantee successful Apply?
No; Apply fetches again and repeats validation.
When is the shadow report generated?
During apply when shadow mode is enabled and real stock mode is off.
Does failed Apply roll everything back?
No; previous per-product commits may remain.
Does Apply write selling prices?
No; price checks may affect sales links, but price application is separate.