Documentation

Expiry Data

Batches, FEFO, and alerts — how Foreshelf knows what expires and when.

Import batches

A CSV with SKU, batch number, quantity, and expiry date is enough. The format is flexible: comma or semicolon separators, UTF-8 or Latin-1 encoding, multiple date formats, and French or English headers. A preview always appears before anything is written to the database.

FEFO automatique

FEFO (First Expired, First Out): each sale consumes the batch that expires soonest. It is applied automatically to every Shopify order, with no action required.

Expiry alerts

SeverityWindow
CriticalFewer than 30 days before expiry
Warning30 to 60 days
Info60 to 90 days

Re-import a known batch

If you re-import an existing batch (same SKU and batch number), Foreshelf preserves units already sold — only the difference between the old and new total quantity is adjusted. A re-import never silently restores stock that was already sold.