Products missing from the ERP: draft or delete
What happens to a shop product when it leaves the ERP, and the protection against an incomplete read.
The default: draft
When a full products sync does not find in the ERP an item that exists in the shop, the product becomes a draft. Customers no longer see it, but it is not lost: it keeps its images, descriptions and history, and you bring it back with one click.
Retirement happens only in a full sync, never in a run that reads changes only.
Permanent deletion
If you turn it on for the integration, products missing from the ERP are deleted for good instead of becoming drafts. The app reminds you every time you start a full sync. Deletion cannot be undone.
We suggest staying with drafts unless you have a specific reason.
Protection against an incomplete read
If the ERP answers incompletely, a retirement would hide products that exist normally. So nothing is retired when:
- the ERP returned no rows,
- a row had no item code,
- more than 20% of the items would be retired.
In that case the run records retire_guarded. The other products are updated as usual.