Understanding Lots

Understanding Lots

Everything lots, in one place. You can hold a lot when it can't be sold (quarantine), and you can tell an order exactly which lot to ship (specific lot per order line). Jump to whichever one you need.


Lot quarantine

Got a lot you can't sell right now? Maybe it was damaged, failed a quality check, or is tied up in a recall investigation. You can now quarantine the whole lot.

A quarantined lot stays on hand, so your counts don't change, but it's pulled out of everything that touches a customer order. It won't be allocated, picked, packed, or shipped. And if new stock gets received into that lot, it arrives already on hold.

AlertHeads up: This changes how picking, packing, and shipping behave for quarantined lots. Read What changes for packers and integrations below before you roll this out to your team.


How to quarantine a lot

You'll do all of this from the Lots page.

  1. Go to Lots and open the lot you want to hold.
  2. Choose Quarantine.
  3. Pick a reason: Quality control, Damaged, Pending review, or Other.
  4. Add a note so your team knows what's going on (optional, but we recommend it).
  5. Save.

Once a lot is quarantined, you'll see a Q marker next to it on the Lots page, so it's easy to spot at a glance.

NotesGood to know: The Expiry reason is reserved for the system. You won't see it as an option when you quarantine a lot yourself.

Releasing a lot from quarantine

  1. Open the quarantined lot.
  2. Choose Unquarantine and pick the quarantine you want to lift.
  3. Confirm.

AlertImportant: A lot can have more than one quarantine on it at the same time, each with its own reason, source, and audit trail. The lot only becomes usable again once every quarantine on it has been lifted. Lifting one while another is still active won't free it up.

Want to see why a lot is on hold? Use Quarantine details on the Lot page to see each quarantine, its reason, and its history.


What you'll see in your numbers

Quarantined stock gets its own figure, so nothing gets lost in the shuffle.

  • Quantity quarantined is a new figure on products and product-per-warehouse records. It defaults to 0.
  • Quantity sellable now subtracts quarantined units too. A product with a quarantined lot will show less sellable stock than before, even though on-hand hasn't changed.
  • Inventory reports, exports, snapshots, and the stale-inventory report all show quarantined quantity as a separate line.

NotesWhere to take action: You can quarantine, unquarantine, and view details from the Lot page only. Product location views will show you the quantity, but you can't take action from there.


What changes for packers and integrations

Warning
⚠️ Breaking change: Picking, packing, or shipping items from a quarantined lot used to work. Now it's refused with this message: "Lot … is quarantined and cannot be picked, packed, or shipped."

What that means for you:

  • Packers: If you're choosing a lot manually, pick one that isn't quarantined.
  • Integrations: If your integration names a specific lot on an order, make sure it's not pointing at a quarantined one, or those requests will fail.

If your team has been working around damaged or questionable lots by just not touching them, this is a good time to quarantine them properly so they stop showing up as sellable.


Quarantine for API users

You can manage quarantines through the Public API too.

Quarantine a lot

POST /lots/{id}/quarantine

Field

Required

Notes

type

Yes

One of quality_control, damaged, pending_review, or other. expiry is reserved for the system.

notes

No

Free text explaining why.

Lift a quarantine

POST /lots/{id}/unquarantine

Field

Required

Notes

quarantine_id

Yes

The specific quarantine you want to lift.

New read-only data

  • Lots now include an active_quarantines relationship.
  • A new lot-quarantines resource returns type, notes, source, and quarantined_at.

These are additive, so nothing existing breaks. It's still worth checking your integration's before-state to make sure the new fields don't trip anything up.


Ship a specific lot per order line

For lot-tracked products, you can now name the exact lot an order line must ship from. It's built for B2B orders, Amazon FBA, and anything else that's batch-specific.

NotesBefore you start: This feature is off by default. To turn on OrderLineLot please reach out to support@packiyo.com to enable for your account.

Here's how it plays out once a lot is named on a line:

  • It overrides your FIFO / LIFO / FEFO rule for that line.
  • Stock is reserved only from that lot.
  • Pickers are sent to a location that holds that lot.
  • Picking, packing, or shipping any other lot is refused.
AlertHeads up: The mobile app doesn't show the required lot to the picker yet. Until it does, let your pickers know which lot to grab, or have them check the order in the web app.

Name a lot on an order

You can set the lot on an order line in any of these places:

  • The order form
  • The brand portal
  • The Public API
  • The order CSV import

Leave the lot empty and the line works like it always has: any lot can fill it.

CSV import

The order import has a new optional lot column at the end.

  • Enter the lot's name.
  • Leave it blank for any lot.
  • If two lots share the same name, that row is refused. Make sure the name points to one lot.

The example template now includes the column. Since it's optional, your existing import files should keep working as they are.

API

When you create or update an order, each line in order_item_data takes a new optional lot_id.

Field

Required

Notes

lot_id

No

Leave it out to keep "any lot." Only accepted while OrderLineLot is on.

  • If the lot doesn't fit the line (say it belongs to another product), you'll get a validation error.
  • Order items now return a read-only lot relationship. It's empty when no lot is set.

These are additive, so existing calls keep working. It's still worth testing your integration to confirm the new field doesn't trip anything up.

If the lot you named is quarantined

A quarantined lot can't be allocated, picked, packed, or shipped. If an order line names a lot that's on hold, that line can't move until the quarantine is lifted or you change the lot on the line.


Quick answers

  1. Does quarantining a lot change my on-hand count? Nope. The stock stays on hand. It just stops being sellable.
  2. Can I quarantine part of a lot? Not yet. Quarantine applies to the whole lot.
  3. What if I receive more stock into a quarantined lot? It arrives already on hold.
  4. I lifted a quarantine but the lot is still blocked. Why? There's probably another quarantine on it. Open Quarantine details to check.
  5. What happens if I leave the lot blank on an order line? Nothing new. Any lot can fill the line, following your usual FIFO / LIFO / FEFO rule.
  6. My API request with lot_id was rejected. Why? The usual suspects: OrderLineLot is off, or the lot doesn't fit that line, like a lot from a different product.
  7. Do my pickers see the required lot in the mobile app? Not yet. Pickers will be sent to a location that holds the lot, but the lot itself isn't shown on mobile for now.

Still stuck? Reach out to our support team and we'll help you sort it out.