Counting stock

Tracking expiry dates

Log expiry dates when you receive stock, then sell or discount the soonest-expiring batches first.

The Expiry Tracker lists every batch you have logged an expiry date for, soonest expiry first, so you know what to sell or discount next. It is entirely optional: nothing changes for products you never log a date on.

Where to find it

Open Expiry Tracker from the app menu.

How to set it up

  1. Receive a purchase order

    Open the PO and press Receive delivery.
  2. Add the expiry date

    On any line that is perishable, press Add expiry date, enter the Expiry date (optional) and, if you like, a Batch code (optional). Leave the batch code blank and one is created for you.
  3. Apply the delivery

    Once the delivery is applied to Shopify stock, the batch shows on the Expiry Tracker.

You can also enter a date in the Expiry column while counting a stocktake. Restock also keeps the soonest expiry date for each variant in a custom.expiry_date metafield on the variant in Shopify, so you can see it, or type a date yourself, on the variant's page in your Shopify admin.

Options

ColumnWhat it shows
On handUnits of the product in stock now.
Soonest expiryThe earliest expiry date among the batches still in stock.
Days leftDays until that date. Past the date it reads as days overdue.
BatchesThe batches still in stock for the product.
StatusExpired once the date has passed, Expiring soon within 14 days, otherwise OK.

Shopify has no batches of its own, so Restock works out which batches are left by assuming the oldest-expiring units are sold first (first expired, first out).

Example

You receive 24 units with an expiry date 10 days away. The product shows on the Expiry Tracker as Expiring soon with 10 days left, so you know to put it at the front of the shelf or discount it.

Plan required


Related articles

Not on Shopify yet?

Start a free Shopify trial, then add Miko apps when you are ready.

Set up your store in minutes and try it with your own products. Loyalty, wholesale pricing, AI descriptions and the rest of the Miko apps install in one click once your store is live.