Recalls
List Recall Cases
Paginated list of recall cases, newest opened first. Each row carries its roll-ups: lots, affected orders, customers, notified orders, units shipped and units recovered.
Create Recall Case
Opens a recall case on a lot. The lot's forward genealogy is traced at once and every sales order that shipped it is saved on the case as an affected order (customer, email, product, lot, quantity and ship date), so the record no longer depends on later edits to those orders.
Export Recall Cases
Download the recall cases list as an Excel or CSV file: the same `filter[...]`, `filter_groups` and `sort` as List Recall Cases, one row per case with its roll-ups.
List Recall Cases for Lot
The recall cases a product + lot is already on. Check this before opening a new case so the same lot is not recalled twice.
Get Recall Case
One recall case with its lots, roll-ups, who opened it and who closed it.
Update Recall Case
Edit the title, reason and FDA classification. Refused with 422 while the case is closed.
List Recall Case Affected Orders
Every affected order saved on the case: sales order, customer, email, company, shipped product, lot, quantity, order and ship dates, when the customer was notified, and recovery (units recovered, disposition, notes).
List Recall Case Lots
Each recalled lot with every receipt of it: warehouse, receipt date, expiry, original and available quantity and lot status (for example quarantined). `on_hand` sums the available quantity across receipts.
Add Lot to Recall Case
Adds another product + lot to the case and merges the orders that shipped it into the affected orders. `orders_added` is the number of new affected orders. Refused with 422 while the case is closed or when the lot is already on the case; 404 when the lot has no receipts.
Refresh Recall Case Affected Orders
Re-runs the trace for every lot on the case and adds orders that shipped since the case was opened. Existing affected orders, including their notice and recovery entries, are kept. `orders_added` is the number of new rows.
List Recall Case Events
The case log, newest first: case opened, notices (email, export, phone, letter, press release, other), status changes (with from / to in `properties`), recovery entries and notes, each with who and when.
Log Recall Notice
Records a notice sent to affected customers. The first notice moves an open case to `notifying`.
Export Recall Case Affected Orders
Downloads the affected orders as CSV (`text/csv`) and logs an export notice on the case. Columns: Sales Order, Customer, Email, Company, Channel, Marketplace Customer (Yes/No), Order Date, Shipped On, Product SKU, Product, Lot / Batch, Units Shipped, Notified At (account timezone, named in the heading), Units Recovered, Disposition, Disposition Notes.
Record Recall Recovery
Records how many units came back from one affected order and what happened to them. The first recovery moves the case to `recovering`.
Quarantine Recall Lot Stock
Puts the available stock of one receipt of a recalled lot on a hold with reason Recall and marks the lot quarantined. Optional body: quantity, notes, release_allocations and void_confirmations, as in Quarantine Lot. 422 with conflict.type quarantine_allocated_stock when unshipped orders reserve the stock and release_allocations was not sent. Returns the case's lots. Also requires the inventory.adjust permission.
Change Recall Case Status
Moves the case to a stage by hand: open, notifying or recovering. Use Close Recall Case to close it. The change is logged.
Close Recall Case
Closes the case with closing notes. A closed case is read-only until reopened. Refused with 422 while a recall email named on the case is still queued or sending.
Reopen Recall Case
Reopens a closed case at the stage it had reached before closing (open, notifying or recovering). Closing notes are kept on the log.
Add Recall Case Note
Adds a free-text note to the case log and returns the log.