Inventory restock queue
Triage out-of-stock and low-stock products, surface incoming units, and start purchase orders or receiving flows.
Installation
Writes app/components/restock-queue.tsx and adds @shopify/polaris-types@2.0.0 once authenticated.
API reference
itemsRequiredreadonly 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.OptionalonDismiss(item: RestockItem) => voidEnable a row dismiss action so merchants can snooze or clear an alert.OptionalheadingstringName the queue.Restock queuecurrencystringISO currency code used for suggested order and KPI cost estimates."USD"emptyHeading / emptyDescriptionstring / 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.