Inventory restock queue

Pro

Triage out-of-stock and low-stock products, surface incoming units, and start purchase orders or receiving flows.

Install
State

Installation

Install command

Writes app/components/restock-queue.tsx and adds @shopify/polaris-types@2.0.0 once authenticated.

API reference

itemsRequired
readonly RestockItem[]Supply id, title, SKU, available quantity, reorderPoint, and optional incoming, vendor, imageUrl, suggestedOrder, unitCost, leadTimeDays, daysUntilStockout, and location for each item.
Required
onReviewRequired
(item: RestockItem) => voidOpen a product or receiving workflow in your app.
Required
onCreatePurchaseOrder
(items: readonly RestockItem[], lines: readonly RestockOrderLine[]) => void | Promise<void>Enable multi-select checkboxes and a bulk purchase order action with resolved quantities, estimated units, cost, and vendor counts.
Optional
onDismiss
(item: RestockItem) => voidEnable a row dismiss action so merchants can snooze or clear an alert.
Optional
heading
stringName the queue.
Restock queue
currency
stringISO currency code used for suggested order and KPI cost estimates.
"USD"
emptyHeading / emptyDescription
string / stringCustomize the empty-state heading and supporting guidance when no items need restocking.
Optional

Run under Shopify App Home AppProvider. Point polarisUrl to the Polaris 2.0 runtime.