# Changelog Source: https://docs.stockful.app/changelog Release notes for Stockful: new features, improvements and fixes as they ship, across purchasing, forecasting, alerts and reporting. Stay up to date with the latest Stockful releases. **October 2026** ### Import purchase orders from Shopify If you have been raising purchase orders in Shopify, you can now bring them into Stockful with their suppliers, so reorder suggestions and receiving see everything you have on order. Stockful only reads them: nothing in Shopify is created, edited or received. * **Review before anything is written** - every purchase order is listed with the status it will have in Stockful. Tick the ones you want and import * **Open stays open, history stays history** - drafts and ordered purchase orders arrive ready to receive; archived or fully received ones arrive closed, with their receipts * **Suppliers come with them** - each order's supplier is matched to one you have, or created for you * **Run it again any time** - orders already imported are never brought in twice, and ones still being received in Shopify wait until they are done Find it on the Purchase orders page under **More actions**, then **Import from Shopify**. The Stocky import has been retired. See [importing from Shopify](/user-guide/purchasing/importing-from-shopify). **October 2026** ### A lead time for each location A warehouse across an ocean from your supplier waits longer for the same stock than the one down the road, and one store-wide lead time could not say so. Each location can now carry its own lead time, and its reorder points and suggested quantities are sized to its own wait. * **Set it on the location** - open Location settings from a row on the Locations page, or from the gear beside a tracked location in Settings, Locations. Tick several rows to give them the same number at once * **Blank means the store default** - leave it empty and the location keeps using the lead time from Settings, Forecasting * **SKU and supplier lead times still win** - they describe the product; the location's describes the destination * **Takes effect in minutes** - saving recalculates that location's forecasts, so you are not waiting for the nightly update See [locations](/user-guide/locations#lead-time). **October 2026** ### Send purchase orders, reports and alerts from your own domain Purchase orders, reports and alert emails can now come from your own address, like `purchasing@yourstore.com`, instead of a Stockful one. Your suppliers and team see your business on every email, and orders from a domain your suppliers already know are less likely to be filtered as spam. * **One domain, every email** - choose the address for purchase orders, reports and alerts separately, or leave any of them on a Stockful address * **A few DNS records** - enter your domain, copy the records Stockful shows into wherever your domain is managed, and check. Nothing else about your email changes * **Never left unsent** - if your domain stops verifying, emails go from a Stockful address until it is fixed * **See what was sent** - Email configuration also lists every purchase order, report and alert email Stockful has sent for you Sending from your own domain is \$15 a month, charged once your domain is verified. See [email configuration](/user-guide/email-configuration). **October 2026** ### Connect Etsy too Etsy joins eBay as a marketplace you can connect. If you sell on Etsy as well as Shopify, Stockful reads your Etsy receipts so forecasts and reorder points reflect what the business actually sells. * **Read only** - your completed receipts and nothing else; no listings, prices or stock levels are ever written back * **Your switch** - connecting changes nothing on its own; letting Etsy demand into your forecasts is a separate setting, off until you turn it on * **Matched by SKU, then barcode**, with anything unmatched listed for you to map * **Double-count guard** - if your Etsy orders already reach Shopify through the Etsy sales channel, the page says so before you connect See [marketplaces](/user-guide/forecasting/marketplaces). **September 2026** ### See and control exactly what Stockful tracks A SKU your exclusion rules hid used to disappear from Inventory with nothing saying why, and the only way to bring one back was to change the rules for everything they covered. Now you can see every SKU Stockful isn't tracking and why, and decide for a single SKU without touching your rules. * **Tracking status** - a filter on Inventory shows the SKUs that aren't tracked: excluded by a rule, untracked in Shopify, a bundle, paused at your plan's limit, or set to never track. A search tells you when its matches aren't tracked * **A page for every SKU** - one that isn't tracked says why, naming the exact rule it matches, with the one action that changes it * **Always track or never track** - set a single SKU either way whatever your rules say, from its page or in bulk from Inventory. Never track can end on a date * **Review before you save** - changing your exclusion rules shows how many SKUs start and stop tracking, and what your tracked stock is worth either side, before anything is saved * **History** - every change to what's tracked, with who made it and what it did. Restore puts your rules back as they were before any change See [tracking](/user-guide/tracking). **September 2026** ### Connect eBay and forecast on its sales too If you sell on eBay as well as Shopify, your forecast has only ever seen half the picture: a product selling steadily on both looked slower than it was, so its reorder point sat too low. eBay is now a marketplace you can connect. * **Read only** - Stockful reads your eBay orders and nothing else. No listings, prices or stock levels are ever written back * **Your switch** - connecting changes nothing on its own; letting eBay demand into your forecasts is a separate setting, off until you turn it on * **Matched by SKU, then barcode** - anything that does not match is listed for you to map, and mapping applies to sales already imported * **Double-count guard** - if your eBay orders already reach Shopify through Marketplace Connect, the page says so before you connect, because counting them twice would push reorder points up * **How far back** - the first sync reads 90 days by default, up to a year Amazon and Etsy are built and waiting on their approvals. See [marketplaces](/user-guide/forecasting/marketplaces). **September 2026** ### Add costs that arrive after the stock does Some costs turn up after the stock: freight to move it out of a holding warehouse, or a duty invoice that lands after you received the order. A purchase order's costs lock at the first receipt, so until now those costs had no way into what your stock cost. Now they do. * **Cost adjustments** - add a cost to stock you already hold, and Stockful folds it into each product's average cost, so your margins include it * **Start from a purchase order or a transfer** - load the products an order received or a transfer moved, or search for them, and each product's units decide its share * **Split by value or quantity**, with each product's current cost, share and new cost shown as you type. The shares always add up to the invoice * **Add a late cost** from a received purchase order's More actions, and the order's timeline links to it * **A negative amount is a credit**, which is also how a mistake is corrected, since a saved cost adjustment is permanent * **Sync landed cost to Shopify** now covers cost adjustments too, so cost per item in Shopify follows See [cost adjustments](/user-guide/counts-and-adjustments/cost-adjustments). **September 2026** ### Link your Shopify stores and buy for all of them at once Many brands run more than one Shopify store for the same stock: retail and wholesale, or one per country. Each has had its own Stockful and its own reorder list, reconciled by hand. Now you can link them. * **Link from Settings** - request a link by domain, and someone on the other store accepts it. Nothing is shared until they do, and either store can unlink at any time * **Map the products the stores share** - suggested matches by SKU and barcode, or pair them by hand, with the units where one store sells packs of the other's singles: a box of ten is 10 here = 1 there * **Pair shared warehouses** so stock at the same place is counted once * **A combined reorder view** - one row per mapped product with stock, incoming and demand pooled across the stores in your units, the split beneath each number, and one quantity to buy, netted against open orders in both stores * **Everything else stays per store** - subscription, settings, forecasts and alerts. Your store's settings govern the combined numbers See [linked stores](/user-guide/purchasing/linked-stores). **September 2026** ### A product picker built for purchase orders Adding products to an order used Shopify's picker, which offers your whole catalogue: products your exclusion rules exclude, bundles, variants Shopify does not track. None of them belong on an order. The picker is now Stockful's own, fed from the same product data as your inventory. * **Only what you can order** - excluded products, bundles and untracked variants never appear. The CSV import and the AI assistant follow the same rule, and the import now says why a row was left out * **One row per SKU**, with the stock figures for the order's destination, incoming units, and the cost the line will carry * **Every inventory filter**, plus location and supplier, so you can pull up one supplier's price list or everything low at the warehouse the order is going to * **Columns and sort of your choosing** - bring in barcode, vendor, velocity, days of supply, last sold, the supplier's SKU and pack size, and sort on any of them * **Saved views** - keep a view per supplier or for the products you top up every month, on every device * **Full screen**, so it works on a phone See [adding products](/user-guide/purchasing/purchase-orders/creating#adding-products). **September 2026** ### Draft purchase orders raised on a schedule Working through the reorder recommendations is the same job every week. Now Stockful can do it for you, on the day and at the time you choose. * **Drafts only** - one per supplier, from the same recommendations you see on the page, rounded to pack sizes and minimum quantities. Nothing reaches a supplier until you send it * **Nothing ordered twice** - a product already on a draft or open order is left alone * **Your call on supplier minimums** - raise a short order and flag it, hold it until enough is due, or top it up with that supplier's next most urgent products * **A summary after each run**, in Slack, Discord, a webhook or your inbox: every draft it raised, and everything it deliberately left alone * **Easy to spot** - an **Auto** badge on the order, a filter for them, and a timeline entry saying Stockful raised it See [automatic restocking](/user-guide/purchasing/purchase-orders/automatic-restocking). **September 2026** ### Resize a whole purchase order to a days-of-supply target Suppliers set minimums that have nothing to do with your reorder points: a carriage-paid threshold, a pallet that only makes sense full, a weight band. Now you can flex an order to clear one without retyping every line. * **Set the days of supply you want the order to cover**, from **More actions** on a draft order * **See what changes before it changes** - the current quantity, the new one, how long it covers, and the order's total units before and after * **Untick anything you want left alone**, so a quantity you set deliberately stays put * **Your saved reorder settings are untouched**, so a one-off order to clear a minimum does not change what Stockful recommends from then on * **Sized by the same forecasting as your reorder recommendations**, run again at your target, so seasonal products are resized on their own demand curve See [creating a purchase order](/user-guide/purchasing/purchase-orders/creating#resizing-the-whole-order). **September 2026** ### Set your own minimum and maximum stock levels Not every product wants forecasting. A slow but critical spare, a safety item, a line you simply always keep ten of: now you can just say so. * **A reorder policy per SKU** - leave it on **Forecast**, or switch it to **Min/max** and type the two numbers yourself * **Reordered at your minimum, topped up to your maximum**, with incoming and on-order stock still netted out so you never double-order * **Products with no recent sales finally show up** - invisible to a forecast, but if you've said keep ten, Stockful says so the moment you have nine * **Applies at every tracked location**, so each one is held to the level you set * **Marked on reorder recommendations**, with the forecast's own suggestion on the badge so you can judge your rule against it * Coming from Stocky and used to buying this way? It's the same idea, and it imports in bulk See [SKU overrides](/user-guide/forecasting/sku-overrides#minimum-and-maximum-stock-levels). **September 2026** ### Export and import your SKU overrides Per-SKU settings used to be a row-at-a-time job. Now they move in bulk. * **Export to CSV or Excel** - this page, your selected rows, everything matching your filters, or the whole catalogue * **Import a CSV back**, matched on variant ID, SKU or barcode * **A blank cell leaves that setting alone**, so you can export, change one column and import the same file back without disturbing anything else. A dash clears a setting on purpose * **A preview before anything is written**, naming every row that won't apply and why * **A template to start from** if you'd rather not export first See [SKU overrides](/user-guide/forecasting/sku-overrides#exporting-your-overrides). **August 2026** ### Retail prices that keep up with your costs Receiving an order is the moment your costs change. If the cost moves and your retail price doesn't, your margin quietly erodes. * **Suggestions after a receipt** - Stockful works out which products no longer hold your target margin and what they'd need to charge instead * **A target margin per supplier**, with a store-wide default behind it. Leave both empty and repricing stays off * **Rounding rules** - end in .99, whole numbers or the nearest 0.50, always rounding up so it can't undercut the margin you asked for * **Review before anything is written** - edit any price, untick what you'd rather leave, and see the margin each one gives before you approve it * **A record of what moved** - each change lands on the order's timeline with its old and new price, and in your price history See [updating retail prices](/user-guide/purchasing/purchase-orders/retail-prices). **August 2026** ### Alert digests on a real schedule Alert digests used to offer daily, or weekly on one day. They now use the same scheduling engine as report schedules. * **Any cadence** - several weekdays, every N weeks, or monthly by date, month-end or an nth weekday, at the time you choose * **A schedule card in the alert form** - cadence moved beside Status, mirroring report schedules * **A cadence column** on the alerts list, so immediate and scheduled rules read apart at a glance * Digest emails now say their period ("since last week") in your language See [alerts](/user-guide/alerts). **August 2026** ### Sharper alerts: oversold, on-order aware, value floors Three new ways to make alerts say something worth acting on. * **Oversold alert** - a dedicated trigger for selling past zero, with the magnitude in the message ("oversold by 12 units") and an optional minimum before it fires * **Only when nothing is on order** - low stock and reorder point alerts can skip products that incoming stock or an open purchase order already covers, so the alert list is the action list * **Minimum monthly sales value** - set a value floor and alerts ignore products selling less than that per month, keeping slow, low-value SKUs out of your channel See [alerts](/user-guide/alerts). **August 2026** ### Storefront traffic, joined to your stock Your storefront already tells you where demand is heading. Stockful now syncs sessions and searches from Shopify and joins them to your inventory, instead of leaving them in a dashboard you have to cross-reference yourself. * **Traffic on every SKU** - sessions over the last 28 days and traffic conversion against your shop average, on the product detail page * **Demand-pressure reordering** - opt in and the reorder list ranks by the demand each product's page traffic implies, with a Traffic surge badge when sessions have at least doubled * **Stockouts that are costing you visits** - the dashboard counts out-of-stock products still drawing traffic, and the health check names the worst * **Searches you aren't answering** - frequent storefront searches that match nothing in your catalogue, surfaced in the health check * **Two datasets, three reports** - Traffic & Conversion, Traffic vs Sales Trend and Top Storefront Searches, with traffic and search queryable in the report builder * **One switch** - everything sits behind a Storefront traffic setting, with a per-SKU opt-out See [storefront traffic](/user-guide/traffic). **August 2026** ### A forecast from day one A newly listed product has no sales history, so it used to sit blank until orders came through - exactly when you are watching stock hardest. Now you can tell Stockful what it sells like. * **Automatic** - Stockful finds comparable products in your own catalogue (same type and vendor, similar price) and estimates the launch from their early sales, with no setup at all * **Sells like another product** - or pick the product it resembles yourself, on the new product's detail page under Forecast overrides * **Clearly marked** - borrowed forecasts carry an Estimated badge on the chart and in reorder recommendations, and always name the product they are based on * **Hands over to real sales** - as the new product builds its own history the estimate fades out, and after about four weeks it runs entirely on its own numbers * **Or wait** - a per-product option to show no forecast until real sales exist See [new products](/user-guide/forecasting/new-products). **August 2026** ### Raw materials, for makers If you make what you sell rather than buying it finished, the things you consume were invisible. Flour, wax, fabric, thread, packaging: none of them is a Shopify product, so nothing tracked them. Stockful now does, and connects them to what you sell. * **A catalogue of your own** - materials with their own stock, unit of measure, cost, supplier and lead time, in kilograms, metres, litres or count * **Bills of materials** - what one unit of a product takes. Versioned, so editing tomorrow's recipe never rewrites what last month's run actually used * **Batches** - start one and the material is reserved; close it with what you really made and really used, and the finished goods go to Shopify. The gap between planned and actual is your yield variance * **Know what to buy** - your sales forecast is walked back through your bills of materials to say how much flour you need, netted against the cookies and the dough you already hold, over each material's own lead time * **On the same purchase orders** - materials sit beside products on one order to a supplier, and receive in one action * **Multi-level** - a cookie made of dough and dough made of flour is followed all the way down, so dough on the shelf reduces the flour you are told to buy Six reports come with it, under **Materials & production**, and every figure is queryable through three new datasets. Material expiry is not part of this and follows the lot tracking work. See the [raw materials guide](/user-guide/raw-materials/index). **August 2026** ### Schedules that fit how you actually work Report schedules could say one thing where you often needed several, so the same report ended up on two schedules that slowly drifted apart. Both halves of that are fixed. * **Several formats in one delivery** - pick CSV and XLSX and each arrives as its own file on the same email or Slack message, so a report that feeds a system and gets read by a person is one schedule rather than two * **More than one day a week** - send on Monday and Thursday from a single weekly schedule * **The last day of the month** - follows the real length of each month, so it lands on the 31st in January and the 28th in February, which a numbered day cannot do * **A particular weekday** - the last Monday of the month, the first Friday, and so on * **Repeat less often** - every 2 weeks or every 3 months, counting from a start date you pick and can move to shift the whole pattern * **Yearly** - one month and day each year See [scheduling reports](/user-guide/reports/scheduling). **August 2026** ### Over 100 reports, and a builder for your own The 14 fixed reports have become a reporting engine. Over 100 reports come built in and run against your live data, and when none of them is quite the question you had, you build your own. * **Build it yourself** - pick your metrics and dimensions, set a date range and a comparison, choose a chart, and save it as your own report * **Or write it** - every report is also an editable query, with autocomplete, live validation and a formatter, so a small change is a few keystrokes rather than a rebuild * **Delivered where you work** - schedule any report to email, Slack, a webhook, Google Sheets or Airtable * **Export it properly** - CSV, Excel, XML or JSONL, and PDF for the charts * **See what was sent** - run history records every scheduled run, whether it landed, who received it and what set it off One change you will notice in the navigation: Purchase orders has its own item now, next to Replenishment, so raising an order is one click rather than two. See the [reports guide](/user-guide/reports), the [built-in reports](/user-guide/reports/built-in-reports) and [scheduling](/user-guide/reports/scheduling). **July 2026** ### Purchase orders, built in Purchase orders now live in Stockful from start to finish. Build one from a reorder recommendation or from scratch, send it to your supplier, receive stock as it arrives, and let landed cost flow straight into your margins. * **From recommendation to order** - Stockful works out what to buy from each supplier and pre-fills the order, so a repeat order is mostly quantities * **Send it your way** - export a clean PDF or email the order to your supplier, with your own branding * **Receive in parts** - log shipments in transit and accept stock as it arrives, with partial receipts and packing slips * **True landed cost** - shipping, duties and fees spread across your units and feed your average cost, with an option to sync it back to Shopify * **Suppliers and price lists** - keep costs, supplier SKUs, pack sizes, lead times and minimum order values in one place See the [purchase orders guide](/user-guide/purchasing/purchase-orders). **July 2026** ### Moving from Stocky Stocky and its API shut down on 31 August 2026. Stockful's import wizard brings your suppliers, price lists, purchase orders and stock adjustments across before then, so you don't start from scratch - and everything imports as net-new, so re-running never duplicates. See [migrating from Stocky](/user-guide/purchasing/migrating-from-stocky). **July 2026** ### Forecasting that learns every product The forecasting engine has had its biggest upgrade yet. Forecasts are now per-product models chosen automatically from five candidates - and a richer model is only adopted when it proves itself against your product's own history, so forecasts can never get worse by being cleverer. * **Seasonality, learned per product** - lines that peak in December or slow down in summer get forecasts that follow the curve, not a flat average * **Slow movers, done properly** - products that sell a few units a month get a model built for sparse sales, so reorder points stop swinging * **Up to 2 years of history** - Stockful imports your sales history straight from Shopify, so forecasts start with real memory (approve the reports permission when prompted to unlock it) * **Smarter safety stock** - calculated from your real demand variability and supplier lead-time variability, not a flat buffer * **Self-tracked accuracy** - every forecast is graded against what actually happened, week after week There is nothing to configure - your forecasts already use the new engine. **July 2026** ### Stock adjustments Correct stock levels with a proper paper trail. Adjustments are numbered documents recording what changed, where, why, and who made the change - written straight to Shopify so they appear in each product's inventory history. If you're moving from Stocky, this will feel instantly familiar - see the [guide](/user-guide/adjustments). * **Numbered documents** - one location per adjustment, with a reason, employee, and notes; drafts stay open and editable until you perform them * **Three ways to add items** - search, a bulk-add table of the location's inventory, or CSV import with automatic column detection (Stocky's own exports work as-is) and a validated preview * **Safe by design** - a confirmation summary before anything is applied, and if an item's stock changed while your draft sat open, that line is flagged and refreshed instead of applied blindly * **A permanent record** - performed adjustments become read-only, with per-line links into Shopify's inventory history, CSV export, and archiving to keep the list tidy * **Adjust from anywhere** - an **Adjust stock** action on the inventory detail page starts an adjustment with the item and location pre-filled **June 2026** ### Replenishment: your restocking command centre Reorder recommendations, transfer suggestions and the new incoming stock view now live together under a top-level **Replenishment** section, with a planning dashboard that turns them into one workflow - see the [guide](/user-guide/purchasing). * **Planning summary** - recommended spend, units to rebalance, units inbound, and how many SKUs will stock out before their inbound lands * **Replenishment schedule** - per-SKU, the date to place each order (projected stockout minus lead time) and when stock arrives, sorted by urgency * **Projected stock** - a shop-wide view of on-hand units over the coming weeks, stepping up as shipments land * **Buy list by vendor** - reorder recommendations grouped by supplier, ready to order from * **Incoming stock** - a dedicated view of inbound shipments and ETAs, flagging anything that won't arrive before you run out * Reorder recommendations and transfer suggestions still support scheduling and export **June 2026** ### A new dashboard built for action The dashboard has been rebuilt from the ground up around one idea: show what needs doing, not just charts - see the [guide](/user-guide/dashboard). * **Needs your attention** - a prioritised list of reorders, stockouts, anomalies, transfer suggestions, and clearance candidates, each with a count and the worst case spelled out, linking straight to where you act * **Setup guide** - a short auto-completing checklist (notification rule, lead times, AI and anomaly alerts, health check) that replaces the old health-check banner and disappears when you're done * **Forecast accuracy** - a new headline stat showing how closely Stockful's forecasts matched your actual sales * **Since yesterday** - what changed overnight: items back in stock, new stockouts, and the value movement * Hub-aware locations table, one trend chart with a value/issues view picker, and a lighter page that loads faster **June 2026** ### Stockful at the till: POS extensions Stockful now lives inside Shopify POS. Two read-only extensions bring stock intelligence to retail staff - see the [guide](/user-guide/shopify-admin#point-of-sale-extensions). * **Stock check** - a smart grid tile with a low-stock count for the store, opening a full product search: status, stock, velocity, days of cover, incoming shipments, and stock at every other location * **Product stock block** - an inline Stockful panel on every POS product screen, with a per-location breakdown one tap away * Hub locations (from the warehouse roles feature) are labelled, so staff can see at a glance that "the warehouse has 40" even when the shelf is empty **June 2026** ### Hub and spoke: warehouse locations done right If a central warehouse feeds your other locations, Stockful now understands it. Locations have a role - **Fulfillment** or **Hub (warehouse)** - detected automatically and overridable in [Settings → Locations](/user-guide/locations#warehouse--hub-locations). * **Hubs get real reorder suggestions** - demand at a hub is measured against everything it supplies, with reorder points sized for your supplier lead time, instead of being invisible because it has no direct sales * **No more false alarms** - hub stock no longer shows up as dead stock or clearance candidates, and routine hub-to-store transfers stop triggering "unusual drop" anomaly alerts * **Transfers first** - transfer suggestions prefer the hub as the source, and reorder rows at your stores show when stock is already sitting at the hub ("12 at Main Warehouse - transfer instead?") **June 2026** ### Smarter, self-tuning forecasting Forecasting now adapts to each SKU and grades its own accuracy. * **Self-tuning models** - Stockful backtests a flat baseline, a trend model, and a day-of-week model on each SKU's own history and adopts a richer one only when it clearly beats the baseline, so the [forecast](/user-guide/forecasting) chart goes non-linear for products with a real trend or weekly pattern (sparse SKUs stay simple) * **Promo-aware demand** - sale days are detected automatically (price markdowns, compare-at prices, and now discount codes and order-level promotions) and excluded from the demand baseline, so a flash sale no longer inflates your velocity, reorder points, or stockout forecasts * **Incoming shipments** show as a step-up on the forecast chart, so you can see stock replenish before it runs out * **Forecast accuracy** - the inventory detail page shows how accurate past forecasts have been, and the AI assistant can explain where and why a forecast missed * **Statistical safety stock** - reorder points now size safety stock from each SKU's real demand variability and a target service level, not a flat day buffer * **Lost to stockouts** - a new dashboard figure and [report](/user-guide/reports/built-in-reports) quantifying what stockouts have cost you over the last 30 days * **Clearance recommendations** - a new [report](/user-guide/reports/built-in-reports) that turns overstock and dead stock into ranked "clear it" actions to free up cash **May 2026** ### MCP server for your AI tools Connect Stockful to the AI tools you already use - the Claude desktop app, Claude Code, Cursor, VS Code, Gemini CLI and ChatGPT - through a remote [MCP server](/user-guide/mcp-server). * Ask about your inventory, forecasts, stock value, margins, ABC ranking, lost sales and AI-detected demand anomalies, straight from your AI tool * Take action with confirmation: snooze reorders, dismiss transfer suggestions, toggle alerts and scheduled reports, and adjust forecast settings * Create a connection in **Settings** → **MCP server**, name it, and paste one URL into your tool - no API keys or headers to manage * Each connection is read-only or confirmed-write, scoped to your store, attributed to whoever created it, and revocable any time **May 2026** ### Incoming stock and actionable transfers **Transfer Suggestions, now actionable** * Transfer Suggestions is now a live, interactive report with **Suggested**, **In progress**, and **Dismissed** tabs * Create a transfer straight from a suggestion - Stockful creates it in Shopify as a **draft** [inventory transfer](https://help.shopify.com/en/manual/products/inventory/inventory-transfers) (tagged `stockful`), so you stay in control of when it ships * Track created transfers through **Draft → Ready to ship → In transit**; they drop off once received or canceled * Dismiss suggestions you don't need (with an optional reason) and restore them later * Filter by **Origin** and **Destination** location **Incoming stock** * Stock in transit - from [Shopify inventory transfers](https://help.shopify.com/en/manual/products/inventory/inventory-transfers) or shipments marked in transit - is now tracked as **incoming** * Incoming is netted into reorder recommendations, transfer suggestions, and the dashboard, so you're never told to reorder stock that's already on its way (it doesn't affect stock status or days of supply, which reflect what's on hand) **Reorder snooze** * Snooze reorder recommendations you're already handling, with an optional reason and note, and a **Snoozed** tab to manage them **May 2026** ### AI assistant, autonomous insights, and smarter alerts A major release that brings AI throughout the app. Get an inventory expert at your side, automatic anomaly detection, weekly insight digests, and threshold suggestions tuned to each SKU. **AI assistant** * In-app AI assistant with full thread history, accessible from anywhere in Stockful * Tabbed Messenger-style interface with **Help** (search docs in-app) and **News** (release updates) alongside the assistant * Ask about inventory, sales velocity, reorder timing, or how Stockful works - the assistant reads your shop's data and answers with charts and tables * Propose changes to notification rules and report schedules directly from chat, with a confirmation card before anything is applied * Thumbs up/down feedback on every reply **Weekly Slack digest** * AI-written summary of the past week delivered to your chosen Slack channel: what's selling, what's stuck, what needs attention * Pick the day and hour the digest fires (defaults to Monday morning in your shop's timezone) * Personalised to your inventory and sales patterns - not a generic dashboard dump * Rate digests with a single click; feedback shapes future ones **Anomaly detection** * Daily scan flags unusual velocity drops or spikes per SKU per location, with a short AI-written explanation of likely cause * Severity tiers (high / medium / low) plus optional Slack alerts for high-severity events * Dedicated `/anomalies` page with filters by location, severity, and direction * Banner on the inventory detail page when a variant has an open anomaly **Health check** * Audit page in Settings that surfaces gaps in your tracking config, forecasting setup, notification coverage, catalog data quality, and inventory distribution * Tailored to your shop's actual state, not a generic checklist * Each finding includes a one-click fix path or a clear explanation of why it matters **AI threshold suggestions** * Get tuned recommendations for lead time, safety stock, restock-to days, and low-stock threshold per SKU * Bulk mode for tuning many SKUs at once, single-SKU mode in the inventory detail modal * Reasoning surfaced per field so you understand the suggestion before applying **Low-stock threshold reworked** * Replaces the fixed unit count with **days of cover** - alert when a SKU will run out in less than X days at current sales velocity * Auto-scales with each SKU's velocity, so a single setting works for a piano shop and a t-shirt shop alike * New units floor as a safety net for products with no sales history yet * Existing thresholds auto-converted from your shop's historical velocity **Other improvements** * Cost coverage banner on the Inventory Valuation report so you can see at a glance how much of your catalog has cost data * Setup wizard streamlined with a new recommended-flow path that picks sensible defaults based on your catalog **April 2026** ### Shopify Flow integration and storefront data Expose your inventory data on your storefront and automate workflows with Shopify Flow. **Shopify Flow** * **10 triggers** - low stock, out of stock, restocked, reorder point reached, stockout projected, velocity changed, ABC class change, sell-through milestone, overstock, and dead stock * **9 actions** - get forecast, get inventory health, get stock by location, get reorder list, get transfer suggestion, set safety stock, set lead time, set demand adjustment, and send Slack message * Build workflows that react to stock changes in real time, query forecast data, and update inventory settings automatically **Storefront data** * **11 metafields** across product and variant levels - stock status, available quantity, velocity, days of supply, low stock threshold, reorder point, ABC class, and more * **Theme blocks** - stock badge and location availability, configurable directly in the theme editor * **Developer API** - access metafield data via `window.stockful` for custom integrations **April 2026** ### Initial release Stockful launches on the Shopify App Store. * **Real-time inventory tracking** across all your locations * **Dashboard** with summary cards, inventory breakdown, and snapshot comparisons * **Inventory detail pages** with historical charts and change logs * **11 built-in reports** - low stock, out of stock, overstocked, dead stock, inventory valuation, reorder recommendations, ABC analysis, location comparison, transfer suggestions, profit/COGS, and sell-through rate * **Report scheduling** with email and Slack delivery * **Notification rules** for out of stock, low stock, and overstock alerts via Slack * **Demand forecasting** with reorder point and stockout predictions * **Per-location tracking** with location-level inventory breakdowns # Actions Source: https://docs.stockful.app/flow/actions The nine Stockful actions available in Shopify Flow: query actions that return inventory data, write actions that update settings, and integrations. Stockful provides 9 actions you can use in Flow workflows. Query actions return data for use in subsequent steps. Write actions update Stockful settings. Integration actions connect to external services. ## Query actions These actions return structured data that you can reference in conditions and subsequent actions within your workflow. ### Get forecast Get inventory forecast data for a variant including velocity, days of supply, and reorder recommendations. Multi-location variants are aggregated: quantities and velocity sum across locations, the stockout date is the earliest, and status reflects the most constrained location. **Inputs:** | Field | Required | Description | | - | - | - | | Product | Yes | The product to query | | Variant ID | Yes | The numeric variant ID | **Returns:** | Field | Type | Description | | - | - | - | | velocity | Float | Sales velocity in units per day | | days\_of\_supply | Float | Estimated days of stock remaining | | reorder\_point | Integer | Quantity at which to reorder | | reorder\_quantity | Integer | Suggested order quantity | | projected\_stockout\_date | Text | Date when stock is projected to run out | | abc\_class | Text | ABC revenue classification (A, B, or C) | | stock\_status | Text | Current stock status (healthy, low, out\_of\_stock, overstock) | | sell\_through\_rate | Float | Sell-through rate between 0 and 1 | | total\_sold\_30d | Integer | Units sold in last 30 days | | available | Integer | Current available quantity | ### Get inventory health Get inventory health metrics for a variant including stock status, ABC class, and sell-through rate. Multi-location variants are aggregated the same way as Get forecast. **Inputs:** | Field | Required | Description | | - | - | - | | Product | Yes | The product to query | | Variant ID | Yes | The numeric variant ID | **Returns:** | Field | Type | Description | | - | - | - | | stock\_status | Text | Current stock status (healthy, low, out\_of\_stock, overstock) | | abc\_class | Text | ABC revenue classification (A, B, or C) | | sell\_through\_rate | Float | Sell-through rate between 0 and 1 | | days\_of\_supply | Float | Estimated days of stock remaining | | available | Integer | Current available quantity | | velocity | Float | Sales velocity in units per day | ### Get stock by location Get inventory levels for a variant across all tracked locations. **Inputs:** | Field | Required | Description | | - | - | - | | Product | Yes | The product to query | | Variant ID | Yes | The numeric variant ID | **Returns:** | Field | Type | Description | | - | - | - | | total\_available | Integer | Total available across all locations | | location\_count | Integer | Number of locations with stock data | | items | List | Per-location stock data (see below) | Each item in the `items` list contains: | Field | Type | Description | | - | - | - | | location | Text | Location name | | available | Integer | Current available quantity | | velocity | Float | Sales velocity in units per day | | days\_of\_supply | Float | Estimated days of stock remaining | | stock\_status | Text | Current stock status | | reorder\_point | Integer | Calculated reorder point | ### Get reorder list Get all variants that are at or below their reorder point, with forecast context for each. **Inputs:** | Field | Required | Description | | - | - | - | | Location name | No | Filter to a specific location. Leave empty for all locations | **Returns:** | Field | Type | Description | | - | - | - | | total\_count | Integer | Total number of variants needing reorder | | items | List | Variants at or below their reorder point (see below) | Each item in the `items` list contains: | Field | Type | Description | | - | - | - | | product\_title | Text | Product title | | variant\_title | Text | Variant title | | sku | Text | Variant SKU | | location | Text | Location name | | available | Integer | Current available quantity | | reorder\_point | Integer | Calculated reorder point | | reorder\_quantity | Integer | Suggested reorder quantity | | velocity | Float | Sales velocity in units per day | | days\_of\_supply | Float | Estimated days of stock remaining | | abc\_class | Text | ABC revenue classification | | stock\_status | Text | Current stock status | > [!TIP] > > The "Get reorder list" action doesn't require a product or variant - it returns all variants that need reordering across your entire inventory. Use it in scheduled workflows to generate regular reorder reports. ### Get transfer suggestion Suggest an inventory transfer between locations to balance stock for a variant. **Inputs:** | Field | Required | Description | | - | - | - | | Product | Yes | The product to query | | Variant ID | Yes | The numeric variant ID | **Returns:** | Field | Type | Description | | - | - | - | | has\_suggestion | Boolean | Whether a viable transfer was found | | from\_location | Text | Source location name | | to\_location | Text | Destination location name | | suggested\_quantity | Integer | Suggested quantity to transfer | | from\_available | Integer | Available stock at source location | | to\_available | Integer | Available stock at destination location | | from\_days\_of\_supply | Float | Days of supply at source location | | to\_days\_of\_supply | Float | Days of supply at destination location | ## Write actions These actions update Stockful settings for a variant. They affect how forecasts and reorder points are calculated. ### Set safety stock Set the safety stock override in days for a variant, affecting reorder point calculations. **Inputs:** | Field | Required | Description | | - | - | - | | Product | Yes | The product to update | | Variant ID | Yes | The numeric variant ID | | Safety stock days | Yes | Safety stock buffer in days (e.g. 5 for five days of extra stock) | **Returns:** | Field | Type | Description | | - | - | - | | success | Boolean | Whether the safety stock was applied | | variant\_id | Text | The variant ID that was updated | | safety\_stock\_days | Integer | The safety stock in days that was applied | ### Set lead time Set the lead time override in days for a variant, affecting reorder point calculations. **Inputs:** | Field | Required | Description | | - | - | - | | Product | Yes | The product to update | | Variant ID | Yes | The numeric variant ID | | Lead time days | Yes | Lead time in days (e.g. 14 for two weeks) | **Returns:** | Field | Type | Description | | - | - | - | | success | Boolean | Whether the lead time was applied | | variant\_id | Text | The variant ID that was updated | | lead\_time\_days | Integer | The lead time in days that was applied | ### Set demand adjustment Adjust the demand forecast percentage for a variant to account for expected changes in sales. **Inputs:** | Field | Required | Description | | - | - | - | | Product | Yes | The product to update | | Variant ID | Yes | The numeric variant ID | | Adjustment percent | Yes | Demand adjustment percentage (e.g. 20 for +20%, -30 for -30%) | **Returns:** | Field | Type | Description | | - | - | - | | success | Boolean | Whether the adjustment was applied | | variant\_id | Text | The variant ID that was adjusted | | demand\_adjustment | Float | The demand adjustment percentage that was applied | > [!TIP] > > Use demand adjustments ahead of known sales events. For example, set +50% before Black Friday for your bestsellers, then reset to 0% after the event. ## Integration actions ### Send Slack message Send a custom message to a Slack channel using the shop's connected Slack workspace. **Inputs:** | Field | Required | Description | | - | - | - | | Channel | Yes | Slack channel name to send the message to (e.g. #inventory-alerts) | | Title | No | Optional header for the message (defaults to "Stockful Alert") | | Message | Yes | The message text to send (supports Slack mrkdwn formatting) | **Returns:** | Field | Type | Description | | - | - | - | | delivered | Boolean | Whether the message was delivered | | error | Text | Error message if delivery failed | > [!NOTE] > > This action requires a Slack workspace connected in Stockful. Connect it under **Settings**, then **Integrations**. If Slack isn't connected, or the channel can't be reached, the workflow run fails so the problem is visible in Flow's run history. # Example Workflows Source: https://docs.stockful.app/flow/examples Worked Shopify Flow examples built on Stockful triggers and actions, starting with tagging products when they run low and untagging them on recovery. These examples show common workflow patterns you can build with Stockful's Flow integration. Each one can be set up entirely in the Shopify Flow visual editor. ## Auto-tag low stock products Automatically add a tag when a product is running low, and remove it when restocked. ### Tag on low stock 1. **Trigger:** Stockful - Low stock detected 2. **Action:** Shopify - Add product tags * Tags: `low-stock` ### Remove tag on restock 1. **Trigger:** Stockful - Back in stock 2. **Action:** Shopify - Remove product tags * Tags: `low-stock` > [!TIP] > > Create a "Low Stock" collection filtered by the `low-stock` tag. It updates automatically as products move in and out of low stock status. ## Slack alert when bestsellers stock out Get immediate Slack notifications when your top-selling products go out of stock. 1. **Trigger:** Stockful - Out of stock 2. **Condition:** `SKU` is not empty (filter out untracked variants) 3. **Action:** Stockful - Get inventory health * Variant ID: use `Variant ID` from the trigger 4. **Condition:** `abc_class` equals `A` 5. **Action:** Stockful - Send Slack message * Channel: `#inventory-alerts` * Title: `Bestseller out of stock` * Message: `*{{Product.title}}* ({{SKU}}) is out of stock at {{Location}}. Suggested reorder: {{Reorder quantity}} units.` ## Weekly reorder report Generate a reorder list every Monday morning and send it to your purchasing team. 1. **Trigger:** Shopify - Scheduled time (every Monday at 9am) 2. **Action:** Stockful - Get reorder list 3. **Condition:** `total_count` is greater than 0 4. **Action:** Stockful - Send Slack message * Channel: `#purchasing` * Title: `Weekly reorder report` * Message: `There are {{total_count}} variants below their reorder point. Review the reorder list in Stockful.` ## Demand adjustment for sales events Increase demand forecasts before a planned sale, then reset after. ### Before the sale 1. **Trigger:** Shopify - Scheduled time (e.g. 1 week before sale) 2. **Action:** For each product tagged `summer-sale`: * Stockful - Set demand adjustment * Adjustment percent: `50` (increases forecast by 50%) ### After the sale 1. **Trigger:** Shopify - Scheduled time (e.g. day after sale ends) 2. **Action:** For each product tagged `summer-sale`: * Stockful - Set demand adjustment * Adjustment percent: `0` (resets to normal) ## Transfer suggestion on imbalance When one location runs low, check if another location has excess stock to transfer. 1. **Trigger:** Stockful - Low stock detected 2. **Action:** Stockful - Get transfer suggestion * Variant ID: use `Variant ID` from the trigger 3. **Condition:** `has_suggestion` is true 4. **Action:** Stockful - Send Slack message * Channel: `#warehouse-ops` * Title: `Transfer suggestion` * Message: `*{{Product.title}}* ({{SKU}}) is low at {{to_location}}. Consider transferring {{suggested_quantity}} units from {{from_location}} ({{from_available}} available, {{from_days_of_supply}} days of supply).` ## Dead stock clearance workflow Automatically tag dead stock products for discounting and notify your merchandising team. 1. **Trigger:** Stockful - Dead stock detected 2. **Action:** Shopify - Add product tags * Tags: `dead-stock`, `clearance-candidate` 3. **Action:** Stockful - Send Slack message * Channel: `#merchandising` * Title: `Dead stock detected` * Message: `*{{Product.title}}* ({{SKU}}) has {{Available}} units at {{Location}} with zero sales velocity. Consider marking down or bundling.` ## ABC class promotion alert Notify your team when a product gets promoted to A-class (bestseller status). 1. **Trigger:** Stockful - ABC class change 2. **Condition:** `New ABC class` equals `A` AND `Old ABC class` does not equal `A` 3. **Action:** Stockful - Send Slack message * Channel: `#product-team` * Title: `New bestseller` * Message: `*{{Product.title}}* ({{SKU}}) has been promoted to A-class (top 80% of revenue) at {{Location}}. Velocity: {{Velocity}} units/day.` ## High sell-through safety stock increase When a variant sells through most of its stock quickly, automatically increase safety stock to prevent future stockouts. 1. **Trigger:** Stockful - Sell through milestone reached 2. **Condition:** `Sell through rate` is greater than 0.9 3. **Action:** Stockful - Set safety stock * Variant ID: use `Variant ID` from the trigger * Safety stock days: `7` 4. **Action:** Stockful - Send Slack message * Channel: `#inventory-alerts` * Title: `Safety stock increased` * Message: `*{{Product.title}}* ({{SKU}}) hit 90%+ sell-through at {{Location}}. Safety stock increased to 7 days.` # Shopify Flow Source: https://docs.stockful.app/flow/overview Connect Stockful to Shopify Flow to automate inventory work: react to stock changes in real time, query forecast data mid-workflow, and update settings. Stockful integrates with [Shopify Flow](https://help.shopify.com/en/manual/shopify-flow) to let you build automated workflows around your inventory data. React to stock changes in real time, query forecast data mid-workflow, and update Stockful settings - all without writing code. ## What you get > [card] [10 triggers](/flow/triggers) > > Fire workflows when stock status changes, velocity shifts, or reorder points are hit > [card] [9 actions](/flow/actions) > > Query forecasts, get reorder lists, adjust demand, send Slack messages, and more ## Quick start ### 1. Create a workflow in Shopify Flow In your Shopify admin, go to **Settings > Flow** (or **Apps > Flow**) and click **Create workflow**. ### 2. Pick a Stockful trigger Click **Select a trigger** and search for "Stockful". You'll see all 10 triggers listed by name. Choose the event you want to react to. ### 3. Add conditions and actions Use Flow's built-in conditions to filter on the trigger data (e.g. only fire when ABC class is "A"), then add actions - either Stockful's own actions or any other Flow-compatible action like sending an email, tagging a product, or creating an order note. ## How triggers work Stockful fires triggers as part of its normal inventory processing: * **Real-time triggers** (low stock, out of stock, back in stock, reorder point reached) fire within seconds of an inventory change * **Daily triggers** (ABC class change, velocity change, stockout projected, sell-through milestone, dead stock, overstock) fire during the daily analytics run * Each trigger fires at most **once per SKU per location per 24 hours**, so a product hovering around a threshold starts one workflow run, not a run per inventory event Each trigger includes rich context - not just the event itself, but forecast data like velocity, days of supply, and reorder quantities. This means you can build sophisticated conditions without needing a separate "Get forecast" action. ## How actions work Stockful actions are called by Flow during workflow execution. They fall into three categories: * **Query actions** return data you can use in subsequent workflow steps (Get forecast, Get inventory health, Get stock by location, Get reorder list, Get transfer suggestion) * **Write actions** update Stockful settings for a variant (Set safety stock, Set lead time, Set demand adjustment) * **Integration actions** connect to external services (Send Slack message) ## Example workflows Here are some common patterns to get you started: * **Auto-tag low stock products** - When "Low stock detected" fires, add a "low-stock" tag to the product so it shows up in filtered collections * **Slack alert for bestseller stockouts** - When "Out of stock" fires, check if ABC class is "A", then send a Slack message to your purchasing channel * **Seasonal demand adjustment** - On a schedule, use "Set demand adjustment" to increase forecast by 30% for products tagged "holiday" * **Auto-create purchase orders** - When "Reorder point reached" fires, use the included reorder quantity to create a draft order or send an email to your supplier See the [examples page](/flow/examples) for detailed step-by-step workflow setups. # Triggers Source: https://docs.stockful.app/flow/triggers The ten Stockful triggers available in Shopify Flow. Each fires on an inventory event and carries a product reference plus event-specific data. Stockful provides 10 triggers that fire when inventory events occur. Every trigger includes a **Product reference** (the Shopify product resource, giving you access to all product fields in Flow) along with event-specific data. ## Low stock detected Fires when inventory falls below the low-stock threshold at a location. | Field | Type | Description | | - | - | - | | Product | Product reference | The product with low stock | | Location | Text | The location where stock is low | | Available | Number | Current available quantity | | Threshold | Number | The low-stock threshold that was breached | | Velocity | Number | Sales velocity in units per day | | Days of supply | Number | Estimated days of stock remaining | | Reorder point | Number | Calculated reorder point | | Reorder quantity | Number | Suggested reorder quantity | | Variant ID | Number | The numeric variant ID | | SKU | Text | Variant SKU | | Variant title | Text | Variant title | **When it fires:** Real-time, within seconds of an inventory change that crosses the threshold. Like every trigger, it fires at most once per SKU per location per 24 hours. > [!TIP] > > This trigger includes reorder point and reorder quantity, so you can go straight to creating a purchase order or supplier notification without querying forecast data separately. ## Out of stock Fires when a variant goes out of stock at a specific location. | Field | Type | Description | | - | - | - | | Product | Product reference | The product that is out of stock | | Location | Text | The location where stock ran out | | Velocity | Number | Sales velocity before stockout (units/day) | | Reorder quantity | Number | Suggested reorder quantity | | Stock status | Text | Current stock status | | Variant ID | Number | The numeric variant ID | | SKU | Text | Variant SKU | | Variant title | Text | Variant title | **When it fires:** Real-time, when available quantity drops to zero. ## Back in stock Fires when a variant that was out of stock (zero available) returns to a positive quantity at a location. It does not fire when stock increases from an already-positive level. | Field | Type | Description | | - | - | - | | Product | Product reference | The product that was restocked | | Location | Text | The location where stock was received | | Available | Number | New available quantity | | Restock amount | Number | Quantity added in this restock | | Variant ID | Number | The numeric variant ID | | SKU | Text | Variant SKU | | Variant title | Text | Variant title | **When it fires:** Real-time, when a variant transitions from zero to positive stock. > [!TIP] > > Pair this with the "Out of stock" trigger to build back-in-stock notification workflows - tag products when they go out, remove the tag and notify customers when they're restocked. ## Reorder point reached Fires when inventory falls below the calculated reorder point at a location. | Field | Type | Description | | - | - | - | | Product | Product reference | The product that needs reordering | | Location | Text | The location where reorder is needed | | Available | Number | Current available quantity | | Reorder point | Number | The reorder point that was breached | | Reorder quantity | Number | Suggested reorder quantity | | Velocity | Number | Sales velocity in units per day | | Days of supply | Number | Estimated days of stock remaining | | Variant ID | Number | The numeric variant ID | | SKU | Text | Variant SKU | | Variant title | Text | Variant title | **When it fires:** Real-time, when available quantity drops below the reorder point. ## Stockout projected Fires when a variant is projected to run out of stock based on current velocity. | Field | Type | Description | | - | - | - | | Product | Product reference | The product projected to stock out | | Location | Text | The location where stockout is projected | | Projected stockout date | Text | The date when stock is projected to run out | | Days until stockout | Number | Number of days until projected stockout | | Available | Number | Current available quantity | | Velocity | Number | Sales velocity in units per day | | Reorder quantity | Number | Suggested reorder quantity | | Variant ID | Number | The numeric variant ID | | SKU | Text | Variant SKU | | Variant title | Text | Variant title | **When it fires:** Daily, during the analytics run. ## Velocity changed Fires when a variant's sales velocity changes significantly at a location. | Field | Type | Description | | - | - | - | | Product | Product reference | The product with velocity change | | Location | Text | The location where velocity changed | | Old velocity | Number | Previous sales velocity (units/day) | | New velocity | Number | Current sales velocity (units/day) | | Percent change | Number | Percentage change in velocity | | Direction | Text | Direction of change (`up` or `down`) | | Variant ID | Number | The numeric variant ID | | SKU | Text | Variant SKU | | Variant title | Text | Variant title | **When it fires:** Daily, during the analytics run. ## ABC class change Fires when a variant's ABC revenue classification changes at a location. | Field | Type | Description | | - | - | - | | Product | Product reference | The product whose ABC class changed | | Location | Text | The location where the classification changed | | Old ABC class | Text | Previous ABC classification (A, B, or C) | | New ABC class | Text | New ABC classification (A, B, or C) | | Available | Number | Current available quantity | | Velocity | Number | Sales velocity in units per day | | Variant ID | Number | The numeric variant ID | | SKU | Text | Variant SKU | | Variant title | Text | Variant title | **When it fires:** Daily, during the analytics run. ## Sell through milestone reached Fires when a variant's sell-through rate crosses the 80% threshold at a location. | Field | Type | Description | | - | - | - | | Product | Product reference | The product that reached the milestone | | Location | Text | The location where the milestone was reached | | Sell through rate | Number | Current sell-through rate (0 to 1) | | Available | Number | Current available quantity | | Total sold last month | Number | Units sold in the last 30 days | | Velocity | Number | Sales velocity in units per day | | Variant ID | Number | The numeric variant ID | | SKU | Text | Variant SKU | | Variant title | Text | Variant title | **When it fires:** Daily, during the analytics run. ## Overstock detected Fires when a variant has excess inventory at a location based on demand forecast. | Field | Type | Description | | - | - | - | | Product | Product reference | The overstocked product | | Location | Text | The location with excess stock | | Available | Number | Current available quantity | | Days of supply | Number | Estimated days of stock at current velocity | | Velocity | Number | Sales velocity in units per day | | ABC class | Text | Revenue classification (A, B, or C) | | Variant ID | Number | The numeric variant ID | | SKU | Text | Variant SKU | | Variant title | Text | Variant title | **When it fires:** Daily, during the analytics run. ## Dead stock detected Fires when a variant transitions to dead stock status - zero velocity with available inventory. | Field | Type | Description | | - | - | - | | Product | Product reference | The dead stock product | | Location | Text | The location with dead stock | | Available | Number | Current available quantity | | Velocity | Number | Sales velocity in units per day (expected to be 0) | | Stock status | Text | Current stock status | | Variant ID | Number | The numeric variant ID | | SKU | Text | Variant SKU | | Variant title | Text | Variant title | **When it fires:** Daily, during the analytics run. ## Common fields Every trigger includes these identification fields: | Field | Description | | - | - | | **Product** | Shopify product reference - gives you access to all standard product fields (title, tags, vendor, type, etc.) within Flow conditions and actions | | **Variant ID** | Numeric variant ID, useful for passing to Stockful actions like "Get forecast" | | **SKU** | The variant's SKU, useful for matching with external systems | | **Variant title** | The variant title (e.g. "Large / Blue") | | **Location** | The location name where the event occurred | # Data Processing Agreement Source: https://docs.stockful.app/policies/data-processing-agreement The GDPR Article 28 data processing terms between Stockful and merchants, covering our role as processor, sub-processors and security measures. **Last Updated:** May 24, 2026 This Data Processing Agreement ("DPA") forms part of, and is subject to, the [Terms of Service](/policies/terms-of-service) (the "Terms") between Stockful ("Processor", "we", "us") and the merchant using the Stockful Shopify application ("Controller", "you"). Capitalised terms not defined here have the meanings given in the Terms or in Regulation (EU) 2016/679 (the "GDPR") and the UK GDPR. This DPA satisfies Article 28 of the GDPR and the equivalent provisions of the UK GDPR. For merchants established outside the EU/UK, it reflects the equivalent obligations we apply globally as a matter of policy. ## 1. Roles of the parties * The **Controller** is the merchant operating the Shopify store. The Controller determines the purposes and means of processing Personal Data. * The **Processor** is Stockful. The Processor processes Personal Data only on documented instructions from the Controller, as described in this DPA and the Terms. The Processor does not determine the purposes or essential means of processing the Controller's Personal Data. ## 2. Subject matter, duration, nature and purpose * **Subject matter**: Processing of Personal Data accessible via the Controller's Shopify store in order to deliver Stockful's inventory monitoring, historical tracking, analytics, forecasting, and notification services as described in the Terms. * **Duration**: For as long as Stockful is installed on the Controller's store, plus the retention periods set out in the Privacy Policy (including the 48-hour post-uninstall retention window). * **Nature**: Automated storage, structuring, aggregation, calculation, and transmission of data via cloud infrastructure. * **Purpose**: Provision of the Stockful service to the Controller. ## 3. Categories of data and data subjects **Categories of Personal Data processed:** * Merchant staff identifiers (names, email addresses, Shopify staff IDs) used to authenticate with and operate the app. * Customer personal data contained within order records returned by Shopify's API (names, email addresses, billing and shipping addresses). This data is processed only for aggregate velocity and forecasting and is not retained individually; the source customer fields are discarded after aggregation. * Notification recipient email addresses and Slack channel identifiers provided by the Controller for alert delivery. * Content submitted to and returned by AI features (assistant chat messages, AI-written digests, anomaly narratives, threshold suggestions, and health-check findings). This content is processed via OpenAI's API and stored against the Controller's shop. Customer personal data is not included in any AI request; only aggregated product, inventory, and sales metrics are sent. **Categories of data subjects:** * The Controller's staff members and other individuals with Shopify admin access. * The Controller's end customers, to the extent their personal data appears in the Controller's order records. * Recipients configured by the Controller for notifications (typically Controller staff). ## 4. Controller instructions The Processor processes Personal Data only on documented instructions from the Controller, including as set out in the Terms, the Privacy Policy, and this DPA. The Controller's use of the app (installation, configuration, and ongoing operation) constitutes documented instructions to the Processor. The Processor will notify the Controller if, in its opinion, an instruction infringes the GDPR or other applicable data protection law. ## 5. Processor obligations The Processor will: * Process Personal Data only for the purposes set out in Section 2. * Ensure that personnel authorised to process Personal Data are bound by appropriate confidentiality obligations. * Implement appropriate technical and organisational measures (see Section 6). * Assist the Controller, at the Controller's expense where the assistance is non-trivial, in: * Responding to data subject rights requests. * Meeting its obligations under Articles 32 to 36 of the GDPR (security, breach notification, impact assessments, and prior consultation). * Make available to the Controller information necessary to demonstrate compliance with Article 28 of the GDPR. ## 6. Security measures Stockful maintains the technical and organisational measures described in the Privacy Policy's [Data Security](/policies/privacy-policy#data-security) section, including encryption in transit (HTTPS/TLS), multi-tenant isolation, least-privilege API scopes, AES-256-GCM encryption of credentials at rest, and alignment with Shopify's app security guidelines. Measures are reviewed periodically and updated to reflect evolving risks. ## 7. Sub-processors The Controller authorises the Processor to engage the sub-processors listed below for the stated purposes. Changes to this list will be reflected in an updated version of this DPA and the Privacy Policy; continued use of the app after such change constitutes authorisation of the new or replaced sub-processor. | Sub-processor | Location | Purpose | | - | - | - | | [Cloudflare](https://cloudflare.com) | UK/EU for stored files (R2, Western Europe); Workers hold no data and run at the data centre nearest the user | Application hosting, backend infrastructure, and file storage (Workers, R2, KV) | | [Neon](https://neon.tech) | UK (AWS London, eu-west-2) | Primary PostgreSQL database | | [Shopify](https://shopify.dev) | Global | E-commerce platform integration | | [Resend](https://resend.com) | US | Transactional email delivery | | [Slack](https://slack.com) | US | Optional notification delivery | | [Sentry](https://sentry.io) | EU (Germany) | Error tracking and monitoring | | [Axiom](https://axiom.co) | US | Operational analytics and event logging | | [Trigger.dev](https://trigger.dev) | US | Background job execution | | [OpenAI](https://openai.com) | US | AI assistant, weekly digest, anomaly narratives, threshold suggestions, and health check | Each sub-processor is contractually bound to data protection obligations no less onerous than those set out in this DPA. ## 8. International data transfers Where processing of Personal Data originating in the EU/EEA or UK involves a transfer to a third country that has not been the subject of an adequacy decision, the Processor relies on the European Commission's Standard Contractual Clauses (and the UK Information Commissioner's Office's International Data Transfer Addendum, as applicable), which are incorporated into its agreements with relevant sub-processors. ## 9. Assistance with data subject rights Taking into account the nature of processing, the Processor will assist the Controller by appropriate technical and organisational measures, in responding to requests from data subjects exercising their rights under the GDPR (access, rectification, erasure, restriction, portability, and objection). The Processor honours all Shopify GDPR compliance webhooks (`customers/data_request`, `customers/redact`, `shop/redact`). ## 10. Personal data breach notification The Processor will notify the Controller without undue delay, and in any event within **72 hours** of becoming aware of a Personal Data breach affecting the Controller's data. The notification will include, to the extent known at the time, the nature of the breach, the categories and approximate number of data subjects and records concerned, the likely consequences, and the measures taken or proposed. ## 11. Audit rights The Processor will make available to the Controller all information necessary to demonstrate compliance with this DPA and will allow for and contribute to audits, including inspections, conducted by the Controller or another auditor mandated by the Controller. Audits must be conducted with reasonable advance notice (at least 30 days), during business hours, no more than once per calendar year unless in response to a Personal Data breach, and subject to the auditor executing appropriate confidentiality undertakings. The Controller bears its own audit costs unless the audit reveals a material breach of this DPA. ## 12. Deletion or return of personal data At the Controller's choice, the Processor will delete or return all Personal Data to the Controller after the end of the provision of services, and delete existing copies unless EU or member state law requires storage of the Personal Data. Absent an instruction from the Controller, the Processor will delete all Personal Data 48 hours after uninstallation of the app, or, where a free trial ends without a subscription while the app remains installed, at the end of the post-trial retention window, in each case in line with the retention policy set out in the Privacy Policy. ## 13. Liability and indemnification Liability arising under this DPA is subject to the limitations set out in the Terms of Service. Nothing in this DPA limits either party's liability to data subjects or to supervisory authorities to the extent that such liability cannot be limited by applicable law. ## 14. Order of precedence In the event of a conflict between this DPA and the Terms of Service, the DPA prevails with respect to the processing of Personal Data. ## 15. Governing law This DPA is governed by the laws of England and Wales. Disputes arising from this DPA are subject to the jurisdiction clause in the Terms of Service. ## 16. Contact and signing EU/UK-based Controllers are deemed to have accepted this DPA upon installation of the app. A counter-signed copy is available on request. * **Email:** [support@stockful.app](mailto:support@stockful.app) # Privacy Policy Source: https://docs.stockful.app/policies/privacy-policy How Stockful collects, uses, stores and protects your store's data, who it is shared with, and the choices and rights you have over it. **Last Updated:** September 4, 2026 ## Company Details * **Organization:** Stockful * **Data Protection Contact:** [support@stockful.app](mailto:support@stockful.app) ## Overview Stockful ("the App") is a Shopify application that provides inventory monitoring, historical tracking, analytics, forecasting, and notifications for Shopify merchants. This Privacy Policy explains how we collect, use, and protect information when you use the App. ## Information We Collect When you install and use Stockful, we access and store the following data from your Shopify store: ### Store Information * Store name, domain, and Shopify identifier * Store email address, currency, and timezone * Staff account information associated with the Shopify admin ### Inventory & Product Data * Inventory levels and quantities across all locations (available, committed, reserved, etc.) * Inventory item details (cost, tracking status) * Product and variant information (titles, SKUs, handles, media) * Product classification and attributes - category, collections, product type, vendor, tags, and flags such as gift card, taxable, requires shipping, country of origin, and weight * Sales channel, market, and catalog membership - which channels and catalogs a product is published to, including market and B2B company-location names used to label filters * Bundle relationships - which products are components of a bundle * Merchant metafield values - only for the product and variant metafields you enable for filtering and reports * Location names and addresses ### Order Data * Order and fulfillment records (used solely for sales velocity calculations and demand forecasting) * Order records returned by Shopify's API include customer personal data (names, email addresses, billing and shipping addresses). This data is processed only to compute aggregate sales velocity and demand forecasts. **Individual customer personal information is not retained, stored in our database, analyzed, or shared with third parties.** ### App Configuration * Alert and report schedule delivery settings (recipient email addresses, Slack channel selections) * Tracking preferences and thresholds * Report configurations * Subscription and billing status ### What We Do Not Collect Or Retain * **Customer personal data at rest** - although the Shopify order API returns customer names, emails, and addresses as part of order records, Stockful does not store, retain, analyze, or share individual customer personal information. Order data is transformed into aggregate velocity and forecasting metrics, and the source customer fields are discarded. * **Payment card information** - all billing is handled through the Shopify App Store; we never see card numbers, expiry dates, or CVV codes. * **Customer browsing or behavioral data** - we do not track your storefront visitors, set cookies on your storefront, or receive analytics events from customer-facing pages. * **Children's data** - see the Children's Privacy section below. ## How We Use Your Information We use the information collected to: * **Deliver the service** - monitor inventory levels, generate reports, send notifications, and provide forecasting * **Improve the App** - analyze usage patterns and performance to enhance features and reliability * **Provide support** - respond to your inquiries and troubleshoot issues * **Communicate updates** - notify you of important changes to the App or these terms * **Ensure security** - detect and prevent fraud, abuse, or technical issues * **Meet legal obligations** - comply with applicable laws and Shopify's requirements ## AI Features Stockful's AI features (the in-app assistant, the first reply to emails sent to [support@stockful.app](mailto:support@stockful.app), weekly Slack digest, daily anomaly detection, AI-suggested thresholds, and the on-demand health check) are powered by [OpenAI](https://openai.com) via its API. **What we send to OpenAI:** * Aggregated product, inventory, and sales metrics (variant titles, SKUs, stock levels, velocity, days of supply, sell-through, projected stockouts) * For the assistant: the message you type in chat and the relevant inventory context needed to answer it * For support email: the text of your email to [support@stockful.app](mailto:support@stockful.app) when the assistant writes the first reply, plus the relevant inventory context when your email address matches a Stockful user. Every such conversation is also read by a person * For digests, anomalies, and health checks: the metric snapshots needed to write the narrative or finding **What we do not send to OpenAI:** * Customer personal data (names, emails, addresses) from your order records. These are discarded during aggregation before any AI processing * Payment, billing, or staff account credentials * Any data from another merchant's store **Data handling at OpenAI:** Requests are sent through OpenAI's standard API and are subject to OpenAI's API data usage and retention terms. See OpenAI's [Enterprise Privacy](https://openai.com/enterprise-privacy) page for the current details. **What Stockful stores:** * Assistant chat messages and AI responses, kept against your shop so you can browse thread history * Support emails the assistant answered and its replies, kept against your shop for quality review * AI-generated digests, anomaly narratives, and health-check findings, kept with the rest of your shop's app data * Feedback you give on AI output (thumbs up/down, helpful/not helpful), used to improve our prompts You can turn AI features off any time in **Settings → AI**. ## Legal Bases for Processing We process your data under the following legal bases, depending on your jurisdiction: * **Contractual necessity** - processing required to deliver the service you've installed * **Legitimate interests** - improving service quality, ensuring security, and preventing abuse * **Consent** - where required by local law (e.g., Brazil's LGPD, India's DPDP Act), consent is obtained during app installation ## Third-Party Services We share data with the following third-party service providers to operate the App. We do not sell, rent, or trade your personal information. | Service | Purpose | Data Shared | | - | - | - | | [Cloudflare](https://cloudflare.com) | Application hosting, backend infrastructure, and file storage (Workers, R2, KV) | All app data, report files | | [Neon](https://neon.tech) | Primary database (PostgreSQL) | All app data (primary data store) | | [Shopify](https://shopify.dev) | E-commerce platform integration | Store data via API - read access for everything the App displays, plus the narrow write access set out under Data Security below | | [Resend](https://resend.com) | Transactional email delivery | Recipient email addresses, notification content | | [Slack](https://slack.com) | Notification delivery (optional integration) | Inventory alert messages, channel identifiers | | [Sentry](https://sentry.io) | Error tracking and monitoring | Exception data, shop identifier (no inventory data) | | [Axiom](https://axiom.co) | Operational analytics and event logging | Event logs, shop identifier, operational metrics | | [Trigger.dev](https://trigger.dev) | Background job execution | Task payloads (shop identifiers, job parameters) | | [OpenAI](https://openai.com) | AI assistant, weekly digest, anomaly narratives, threshold suggestions, and health check | Aggregated product, inventory, and sales data; assistant chat messages. Never customer contact details. | Each provider processes data in accordance with their own privacy policies and is contractually obligated to protect your information. ## Data Security We implement the following security measures to protect your data: * **Encryption in transit** - all data transmitted over HTTPS/TLS * **Access control** - multi-tenant isolation ensures each store can only access its own data * **Scoped API access** - the App uses the minimum Shopify API scopes required for its features. Most scopes are read-only. The full set is: | Scope | Type | Purpose | | - | - | - | | `read_products` | Read | View product catalog to display inventory. | | `write_products` | Write | Three uses: (1) publish app-owned metafields in the `app--stockful` namespace (stock status, days of supply, velocity trend, projected stockout, ABC class, restock status, sold last 30d, tracked flag) so storefronts can display live inventory data; (2) enable the `admin_filterable` capability on merchant-created product and variant metafield definitions so Stockful can filter products by those metafields - the toggle changes only the definition's capability flag, never a merchant metafield value; (3) write variant barcode, retail price and unit cost. Every price or cost write follows an explicit merchant action: editing a variant's fields in Stockful, accepting the retail prices Stockful proposes when a purchase order is received (the merchant reviews each row and any rejected row cancels the whole update), or enabling landed-cost sync, which is off by default and writes the recalculated unit cost when a delivery is received. We do not modify product titles, descriptions, options, media, or any non-Stockful metafield values. | | `read_locations` | Read | List locations to show inventory by location. | | `write_locations` | Write | Update a location's name, address, phone number and whether it fulfills online orders, from the location's page in Stockful. Every write follows an explicit merchant edit; nothing changes a location on its own. The address matters beyond the location list - it is the delivery address printed on purchase orders and packing slips sent to suppliers. | | `read_inventory` | Read | Read inventory levels for monitoring and forecasting. | | `write_inventory` | Write | Two kinds of write, both started by an explicit merchant action. Quantities: applying a stock adjustment or stock count the merchant has built and confirmed in Stockful, and posting the component consumption and finished output of a production run they mark complete. Each quantity change is sent with the figure Stockful last read as a compare-and-swap baseline, so a level that moved in the meantime is rejected rather than overwritten, and a stock count may activate an inventory item at a location that was not yet tracking it. Metadata: correcting missing cost, SKU and HS code on inventory items, from the health-check fix page or the variant edit form. Nothing writes stock on its own - no sync, forecast, or alert changes a quantity. | | `read_orders`, `read_all_orders` | Read | Read order and fulfillment history for sales velocity and demand forecasting. Only aggregate metrics are retained; individual customer personal data is not stored. | | `read_draft_orders` | Read | Read the line items on a draft order so the Stock availability block on the draft order page can show stock for each product. Only product and variant fields are read; customer details on the draft order are never queried or stored. | | `read_fulfillments`, `read_merchant_managed_fulfillment_orders`, `read_third_party_fulfillment_orders` | Read | Attribute stock movements correctly across fulfillment services. | | `read_inventory_transfers` | Read | Read inventory transfers to show stock in transit and track the status of transfers created from Stockful. | | `write_inventory_transfers` | Write | Two uses, both started by an explicit merchant action: (1) acting on a transfer suggestion creates a draft transfer (tagged `stockful`) that the merchant completes in Shopify; (2) marking a purchase order as shipped creates the supplier-inbound transfer for that order as ready to ship (tagged `stockful-po`). Stockful only touches transfers it created. | | `read_inventory_shipments` | Read | Read inventory shipments to keep incoming-stock figures accurate as shipments move and arrive. | | `write_inventory_shipments` | Write | Create and update the shipment behind a purchase order when the merchant marks that order as shipped - adding the ordered items and saving the tracking details they enter in Stockful. Only shipments Stockful created for a purchase order are modified. | | `read_inventory_shipments_received_items` | Read | Read received-item quantities on shipments so incoming stock clears correctly when shipments are received, including partial receipts. | | `write_inventory_shipments_received_items` | Write | Record received quantities against a purchase order's shipment when the merchant receives stock in Stockful, including partial receipts, so Shopify inventory and incoming-stock figures stay in sync. | | `read_publications`, `read_product_listings` | Read | Read which sales channels and catalogs a product is published to, so products can be filtered by sales channel, market, or catalog. | | `read_markets` | Read | Read the store's markets to label region and B2B catalog filters. Only used if the store has Markets configured. | | `read_companies` | Read | Read B2B company locations to label company-location catalog filters. Only used if the store sells B2B. | | `read_reports` | Read | Run Shopify's analytics queries (ShopifyQL) to import historical sales and inventory-movement aggregates, so sales velocity and stockout history can be backfilled beyond the order data available at install. Only aggregate per-product metrics are read; individual customer personal data is never queried or stored. | | `write_app_proxy` | Write | Required by Shopify to register the App Proxy used by storefront features; does not modify store data. | * **Token-protected downloads** - report files require authenticated download tokens * **Credential protection** - API keys and access tokens are stored securely (AES-256-GCM at rest) and never exposed to the frontend * **Alignment with Shopify standards** - development and security practices follow Shopify's app development guidelines ## Our Role Under GDPR For the purposes of the EU/UK General Data Protection Regulation (GDPR) and equivalent laws: * You (the merchant) are the **data controller** for your store data and your customers' personal data. * Stockful acts as a **data processor** on your behalf, processing the data only in line with your instructions and this Privacy Policy. A standalone [Data Processing Agreement](/policies/data-processing-agreement) governs this relationship and satisfies Article 28 of the GDPR. EU/UK-based merchants are deemed to have accepted the DPA on installation; a counter-signed copy is available on request at **[support@stockful.app](mailto:support@stockful.app)**. ## Data Retention and Deletion * **Inventory and analytics data** - retained for historical tracking and forecasting while the App is installed * **Report files** - automatically cleaned up based on retention settings * **Upon uninstallation** - app data is retained for 48 hours in case you reinstall, then permanently deleted * **If a free trial ends without a subscription** - app data is retained for 30 days after tracking stops (we email a warning before deletion), then permanently deleted * **Shopify compliance** - we honor all Shopify GDPR/privacy webhooks (customer data requests, customer redaction, and shop redaction) * **Support records** - retained for up to 3 years for quality and legal purposes * **Legal obligations** - data may be retained longer where required by applicable law ## Your Rights Depending on your jurisdiction, you may have the following rights regarding your data: * **Access** - request a copy of the data we hold about your store * **Correction** - request correction of inaccurate data * **Deletion** - request deletion of your data (or uninstall the App) * **Portability** - request your data in a machine-readable format * **Restriction** - request that we limit processing of your data * **Objection** - object to processing based on legitimate interests ### Regional Rights * **GDPR (EU/EEA/UK)** - you have the right to lodge a complaint with your local supervisory authority * **CCPA/CPRA (California)** - you have the right to know, delete, and opt out of the sale of personal information. We do not sell personal information. * **PIPEDA (Canada)** - you may access and challenge the accuracy of your information * **LGPD (Brazil)** - you may request confirmation of processing, access, correction, anonymization, or deletion To exercise any of these rights, contact us at **[support@stockful.app](mailto:support@stockful.app)**. ## Children's Privacy Stockful is a business-to-business application intended for use by Shopify merchants. We do not knowingly collect information from children under 13 (or the applicable age in your jurisdiction). If you believe we have inadvertently collected such information, please contact us immediately. ## Changes to This Policy We may update this Privacy Policy from time to time. We will notify you of material changes by updating the "Last Updated" date at the top of this page. Continued use of the App after changes constitutes acceptance of the revised policy. ## Contact Us If you have questions about this Privacy Policy or our data practices, please contact us: * **Email:** [support@stockful.app](mailto:support@stockful.app) # Security Incident Response Policy Source: https://docs.stockful.app/policies/security-incident-response How Stockful detects, responds to and recovers from security incidents affecting the confidentiality, integrity or availability of merchant data. **Last Updated:** July 13, 2026 This policy describes how Stockful ("we", "us") identifies, responds to, and recovers from security incidents affecting the confidentiality, integrity, or availability of the data we process on behalf of merchants. It sits alongside the [Privacy Policy](/policies/privacy-policy) and the [Data Processing Agreement](/policies/data-processing-agreement), and it defines the internal process behind the breach-notification commitment in Section 10 of the DPA. ## 1. Purpose and scope The purpose of this policy is to ensure that security incidents are detected quickly, contained, investigated, and remediated in a consistent way, and that affected merchants are notified promptly and accurately. This policy applies to all systems that store or process merchant or customer personal data, including our Cloudflare Workers infrastructure, PostgreSQL database (Neon), object and key-value storage (R2, KV), background job execution (Trigger.dev), and the sub-processors listed in the [DPA](/policies/data-processing-agreement#7-sub-processors). ## 2. What counts as a security incident A security incident is any event that compromises, or that we reasonably believe may compromise, the confidentiality, integrity, or availability of data we process. Examples include: * Unauthorised access to, or disclosure of, merchant or customer personal data. * Compromise of application credentials, access tokens, encryption keys, or infrastructure accounts. * Exploitation of a vulnerability in the application or a sub-processor. * Loss, corruption, or unavailability of merchant data beyond expected service limits. * Malware, ransomware, or other malicious activity affecting our systems. A **personal data breach** is the subset of security incidents that leads to the accidental or unlawful destruction, loss, alteration, unauthorised disclosure of, or access to personal data. Personal data breaches trigger the notification obligations in Section 6. ## 3. Severity classification Incidents are classified on first assessment and re-assessed as facts change: | Severity | Definition | Examples | | - | - | - | | **SEV1 — Critical** | Confirmed or highly likely unauthorised access to personal data, or a full service outage affecting all merchants. | Database exfiltration, leaked production credentials, exposed access tokens. | | **SEV2 — Major** | A material security weakness or partial outage with a credible path to personal data exposure, not yet confirmed as exploited. | Exploitable vulnerability, sub-processor breach affecting our data, unauthorised access to a non-production system holding real data. | | **SEV3 — Minor** | A contained security issue with no evidence of personal data exposure. | Isolated misconfiguration caught before exposure, low-risk dependency vulnerability, single failed intrusion attempt. | ## 4. Roles and responsibilities Given the size of our team, one person holds primary responsibility for security incident response as the **Incident Lead**. The Incident Lead: * Owns the response from detection through to post-incident review. * Decides severity, containment actions, and whether a personal data breach has occurred. * Coordinates with sub-processors' security and support teams where an incident originates with or involves them. * Owns merchant and regulator communications, or delegates drafting while retaining approval. Where specialist help is required, we engage the relevant sub-processor's security team or external counsel. ## 5. Response process We follow a consistent lifecycle for every incident. Steps run concurrently where appropriate; containment is never delayed for the sake of process. 1. **Detect and report.** Incidents surface through automated monitoring and alerting (Sentry error tracking, Axiom operational analytics and event logging), sub-processor notifications, or reports from merchants and security researchers sent to **[support@stockful.app](mailto:support@stockful.app)**. Anyone who suspects an incident must report it to the Incident Lead without delay. 2. **Triage and classify.** The Incident Lead confirms the incident is genuine, assigns an initial severity (Section 3), and begins an incident record capturing timeline, actions, and evidence. 3. **Contain.** Limit the blast radius — for example rotate or revoke compromised credentials and access tokens, disable affected functionality, block malicious traffic, or isolate affected systems. Preserve evidence needed for investigation. 4. **Eradicate.** Remove the root cause — patch the vulnerability, revoke unauthorised access, remove malicious artefacts, and correct the misconfiguration. 5. **Recover.** Restore affected systems and data to normal operation from known-good state, verify integrity, and confirm the issue is resolved before standing down. Where data restoration is required, we restore from the encrypted, point-in-time backups maintained by our database provider. 6. **Notify.** Where the incident is a personal data breach, follow Section 6. 7. **Review.** Conduct a post-incident review (Section 7). ## 6. Notification Where an incident is a personal data breach, we notify each affected merchant **without undue delay, and in any event within 72 hours** of becoming aware of the breach, consistent with Section 10 of the [Data Processing Agreement](/policies/data-processing-agreement#10-personal-data-breach-notification). The notification includes, to the extent known at the time: * The nature of the breach. * The categories and approximate number of data subjects and records concerned. * The likely consequences of the breach. * The measures taken or proposed to address it and to mitigate its effects. As a data processor, we notify the merchant (the controller) so that the merchant can meet its own obligations to supervisory authorities and data subjects under Articles 33 and 34 of the GDPR. Where an incident affects the Shopify platform integration, we also cooperate with Shopify as required. Notification is never delayed pending complete information; we send an initial notification with what is known and follow up as the investigation progresses. ### Incidents involving connected marketplace accounts Where an incident affects information obtained from a connected marketplace account, we additionally notify that marketplace on the timetable its own terms require, and the shorter of that timetable and the one above applies. For information obtained through the Amazon Selling Partner API, we report security incidents to **[security@amazon.com](mailto:security@amazon.com) within 24 hours** of detection, and we notify affected merchants of the same incident within 24 hours rather than the 72 hours that applies elsewhere. This is a commitment under the Amazon Services API Data Protection Policy and it is not conditional on the incident amounting to a personal data breach: any suspected compromise, unauthorised access, or unauthorised disclosure of Amazon Information is reported. ## 7. Post-incident review After every SEV1 and SEV2 incident, and at the Incident Lead's discretion for SEV3, we conduct a post-incident review that documents the timeline, root cause, impact, and the effectiveness of the response, and that agrees concrete remediation actions to reduce the likelihood and impact of recurrence. Remediation actions are tracked to completion. ## 8. Testing and maintenance This policy is reviewed at least every six months and after any SEV1 incident, and updated to reflect changes to our systems, sub-processors, and the threat landscape. The six-month cadence is the shortest required by any platform whose data we process, so one review satisfies all of them. Our detection and alerting configuration is reviewed as part of ongoing operations. ## 9. Reporting a security concern If you believe you have found a security vulnerability or have witnessed a security incident affecting Stockful, please contact us as soon as possible: * **Email:** [support@stockful.app](mailto:support@stockful.app) Please include enough detail to reproduce or understand the issue. We investigate all reports and will acknowledge receipt. # Terms of Service Source: https://docs.stockful.app/policies/terms-of-service The terms governing your use of the Stockful Shopify app: your account, subscription and billing, acceptable use, and how the agreement can end. **Last Updated:** September 4, 2026 ## Overview These Terms of Service ("Terms") govern your use of the Stockful application ("the App"), a Shopify application operated by Stockful ("we", "us", "our"). By installing or using the App, you agree to be bound by these Terms. ## Service Description The App provides inventory monitoring, historical tracking, analytics, forecasting, AI-assisted insights, and notification services for Shopify stores. Specifically, the App allows you to: * Monitor inventory levels and quantities across locations in real time * Track historical inventory changes and trends * Generate reports on inventory health, low stock, and demand * Receive inventory and purchase order alerts via Slack or email, and scheduled reports via email or Slack * Forecast future inventory needs based on sales velocity * Use an AI assistant in-app to ask questions about your inventory and propose changes (alerts, scheduled reports) that you confirm before they apply * Receive AI-written weekly Slack digests, daily anomaly narratives, AI-suggested forecast thresholds, and an on-demand health check of your setup * Publish stock and availability metafields to your storefront for use in themes and Shopify Flow ## Eligibility To use the App, you must: * Be at least 18 years of age * Have the authority to bind the business entity that owns the Shopify store * Maintain an active Shopify store with a valid subscription * Agree to these Terms and our [Privacy Policy](/policies/privacy-policy) ## Account and Access * You are responsible for maintaining the security of your Shopify account * You must provide accurate and current information * You may not share, transfer, or sublicense your access to the App * We grant you a limited, non-exclusive, non-transferable, revocable license to use the App for your internal business purposes ## Acceptable Use You agree not to: * Use the App for any unlawful purpose or in violation of any applicable laws * Attempt to reverse engineer, decompile, or disassemble the App * Interfere with or disrupt the App's infrastructure or other users' access * Use the App to transmit malware, spam, or other harmful content * Exceed reasonable usage limits or abuse API access * Resell, redistribute, or sublicense the App or its data ## Fees and Billing * Subscription fees are as specified on the Shopify App Store listing and within the App * All billing is processed through the Shopify App Store; we do not directly handle payment information * Fees are billed monthly in accordance with your selected plan * New installations include a 14-day free trial with full access; no charge is made unless you subscribe * If a free trial ends without a subscription, access is restricted and data is subsequently deleted in accordance with our Privacy Policy * We reserve the right to change pricing with 30 days' notice ## Data and Privacy * Our collection and use of data is governed by our [Privacy Policy](/policies/privacy-policy). * For EU/UK merchants, a separate [Data Processing Agreement](/policies/data-processing-agreement) forms part of these Terms and satisfies Article 28 of the GDPR. * You retain ownership of all data originating from your Shopify store. * We may generate derived data (analytics, forecasts, reports) from your store data to provide the service. * The App accesses your Shopify store primarily with **read** permissions. A limited set of **write** permissions are required for specific features and are used only as described below: ### Permission scopes | Scope | Type | Purpose | | - | - | - | | `read_products` | Read | View product catalog to display inventory. | | `write_products` | Write | Three uses: (1) publish app-owned metafields in the `app--stockful` namespace (stock status, days of supply, velocity trend, projected stockout, ABC class, restock status, sold last 30d, tracked flag); (2) enable the `admin_filterable` capability on merchant-created product metafield definitions so Stockful can filter products by those metafields in tracking rules - the toggle only affects the definition's capability flag, and **no merchant metafield values are ever modified**; and (3) write variant **barcode**, **retail price** and **unit cost**. Every price or cost write follows an explicit merchant action: editing a variant's fields in Stockful, accepting the retail prices Stockful proposes when a purchase order is received (the merchant reviews each row, and any rejected row cancels the whole update), or enabling landed-cost sync, which is off by default and writes the recalculated unit cost when a delivery is received. We do not modify product titles, descriptions, options, media, or any non-Stockful metafield values. | | `read_locations` | Read | List locations to show inventory by location. | | `read_inventory` | Read | Read inventory levels for monitoring and forecasting. | | `read_orders`, `read_all_orders` | Read | Read order and fulfillment history for sales velocity and demand forecasting. Only aggregate metrics are retained; individual customer personal data is not stored. | | `read_draft_orders` | Read | Read the line items on a draft order so the Stock availability block on the draft order page can show stock for each product. Only product and variant fields are read; customer details on the draft order are never queried or stored. | | `read_fulfillments`, `read_merchant_managed_fulfillment_orders`, `read_third_party_fulfillment_orders` | Read | Attribute stock movements correctly across fulfillment services. | | `write_inventory` | Write | Two kinds of write, both started by an explicit merchant action. **Quantities:** applying a stock adjustment or stock count the merchant has built and confirmed in Stockful, and posting the component consumption and finished output of a production run they mark complete. Each quantity change is sent with the figure Stockful last read as a compare-and-swap baseline, so a level that moved in the meantime is rejected rather than overwritten, and a stock count may activate an inventory item at a location that was not yet tracking it. **Metadata:** correcting missing **cost**, **SKU code** and **HS code** on inventory items, from the health-check fix page or the variant edit form. Nothing writes stock on its own - no sync, forecast, or alert changes a quantity. | | `read_inventory_transfers` | Read | Read inventory transfers to show stock in transit and track the status of transfers created from Stockful. | | `write_inventory_transfers` | Write | Two uses, both started by an explicit merchant action: (1) acting on a transfer suggestion creates a **draft** transfer (tagged `stockful`) that the merchant completes in Shopify; (2) marking a purchase order as shipped creates the supplier-inbound transfer for that order as **ready to ship** (tagged `stockful-po`). Stockful only touches transfers it created. | | `read_inventory_shipments` | Read | Read inventory shipments to keep incoming-stock figures accurate as shipments move and arrive. | | `write_inventory_shipments` | Write | Create and update the shipment behind a purchase order when the merchant marks that order as shipped - adding the ordered items and saving the tracking details they enter in Stockful. Only shipments Stockful created for a purchase order are modified. | | `read_inventory_shipments_received_items` | Read | Read received-item quantities on shipments so incoming stock clears correctly when shipments are received, including partial receipts. | | `write_inventory_shipments_received_items` | Write | Record received quantities against a purchase order's shipment when the merchant receives stock in Stockful, including partial receipts, so Shopify inventory and incoming-stock figures stay in sync. | | `read_publications`, `read_product_listings` | Read | Read which sales channels and catalogs a product is published to, so products can be filtered by sales channel, market, or catalog. | | `read_markets` | Read | Read the store's markets to label region and B2B catalog filters. Only used if the store has Markets configured. | | `read_companies` | Read | Read B2B company locations to label company-location catalog filters. Only used if the store sells B2B. | | `read_reports` | Read | Run Shopify's analytics queries (ShopifyQL) to import historical sales and inventory-movement aggregates, so sales velocity and stockout history can be backfilled beyond the order data available at install. Only aggregate per-product metrics are read; individual customer personal data is never queried or stored. | | `write_app_proxy` | Write | Required by Shopify to register the App Proxy endpoint used by storefront features. Does not modify any store data. | ## Intellectual Property * The App, including its design, code, algorithms, documentation, and branding, is owned by Stockful and protected by applicable intellectual property laws * You may not copy, modify, or create derivative works of the App * Feedback or suggestions you provide may be used by us without obligation to you ## Service Availability * We strive to maintain high availability but do not guarantee uninterrupted access * The App is provided "as is" and "as available" * We may perform maintenance, updates, or modifications that temporarily affect availability * We will make reasonable efforts to notify you of planned downtime ## Disclaimer of Warranties TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE APP IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. We do not warrant that: * The App will meet all of your requirements * The App will be uninterrupted, timely, secure, or error-free * Inventory data, forecasts, or analytics will be completely accurate * Any defects will be corrected ## Limitation of Liability TO THE MAXIMUM EXTENT PERMITTED BY LAW: * Our total liability for any claims arising from your use of the App shall not exceed the greater of (a) the total fees paid by you in the 12 months preceding the claim, or (b) \$100 USD * We shall not be liable for any indirect, incidental, special, consequential, or punitive damages, including but not limited to loss of profits, data, or business opportunities * We are not liable for any decisions made based on inventory data, forecasts, or reports generated by the App ## Indemnification You agree to indemnify and hold harmless Stockful, its officers, directors, and employees from any claims, damages, or expenses (including reasonable legal fees) arising from: * Your use of the App * Your violation of these Terms * Your violation of any third-party rights * Any data you provide through the App ## Termination ### By You * You may terminate at any time by uninstalling the App from your Shopify store * No refunds are provided for partial billing periods unless required by applicable law ### By Us * We may suspend or terminate your access with 30 days' written notice * We may terminate immediately if you breach these Terms, engage in fraudulent activity, or pose a security risk * We may discontinue the App entirely with 60 days' notice ### Effect of Termination * Upon uninstallation, your data is retained for 48 hours in case of reinstallation * After 48 hours, all data is permanently deleted in accordance with our Privacy Policy * Report files stored on our servers are deleted as part of the data removal process * Sections on liability, indemnification, intellectual property, and dispute resolution survive termination ## Changes to These Terms * We may update these Terms from time to time * Material changes will be communicated via the App or email with at least 30 days' notice * Continued use of the App after changes take effect constitutes acceptance * If you disagree with changes, you may uninstall the App before they take effect ## Governing Law These Terms are governed by the laws of England and Wales. Any disputes arising from these Terms or your use of the App shall be resolved in the courts of England and Wales. ## Severability If any provision of these Terms is found to be unenforceable, the remaining provisions shall continue in full force and effect. ## Entire Agreement These Terms, together with our Privacy Policy, constitute the entire agreement between you and Stockful regarding the App and supersede any prior agreements. ## Contact Us If you have questions about these Terms, please contact us: * **Email:** [support@stockful.app](mailto:support@stockful.app) # Stock adjustments Source: https://docs.stockful.app/stockfulql/datasets/adjustments Performed stock adjustments: net change, cost impact and shrinkage by reason. Performed stock adjustments: net change, cost impact and shrinkage by reason. ## Example ```sql theme={null} FROM adjustments SHOW net_delta, units_added GROUP BY product ORDER BY net_delta DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `net_delta` | Number | Sum of all adjustment deltas - units added minus units removed. | | `units_added` | Number | Total units added by positive adjustments. | | `units_removed` | Number | Total units removed by negative adjustments (as a positive magnitude). | | `cost_impact` | Currency | Cost value of the net change (Σ delta × unit cost); negative when stock is written down. | | `shrinkage_value` | Currency | Cost value of units removed (loss/damage/theft), as a positive magnitude. | | `adjustment_lines` | Number | Number of adjustment line items in the period. | | `lines_counted` | Number | Number of stock count lines someone actually counted. Excludes lines left blank, which are a gap in the count rather than a finding. | | `lines_with_variance` | Number | Counted lines where what was found differed from what was expected. | | `count_accuracy` | Percent | Share of counted lines that matched the expected quantity exactly. The standard measure of how far your stock records can be trusted. | | `absolute_variance_units` | Number | Total units the records were wrong by, regardless of direction. Net change hides this: five over on one SKU and five under on another nets to zero while representing ten units of error. | | `absolute_variance_value` | Currency | Cost value of the units the records were wrong by, regardless of direction. | | `found_units` | Number | Units discovered during counts that the count's scope never covered, including SKUs the location was not stocking at all. | | `found_value` | Currency | Cost value of stock discovered during counts that the scope never covered. | ## Dimensions | Dimension | Description | | - | - | | `product` | Product with image, rendered as a single cell (variants roll up). | | `sku` | Variant SKU - splits a product-grain report into variant rows. | | `variant` | Variant title (e.g. "Small / Blue"), shown as a dash for products without options. Group by product too - on its own, variants sharing a title across different products fall into one row. | | `barcode` | Variant barcode (GTIN/UPC/EAN/ISBN), grouping under a blank value when none. | | `category` | Shopify product category (full taxonomy path). | | `collection` | Shopify collection - a SKU appears under each collection it belongs to (cross-collection totals overlap), grouping under a blank value when it is in none. | | `location` | The adjustment's location. | | `adjustment_number` | The adjustment document's sequential number. Group by it (with SKU) for one row per document line - the line-by-line audit view. | | `date` | The day the adjustment was performed - sort by it descending for a newest-first audit trail. | | `reason` | The adjustment reason (e.g. Damaged, Theft, Correction, Received). | | `notes` | The adjustment document's notes, grouping under a blank value when none. Notes live on the document, so every line of an adjustment carries the same value. | | `employee` | Who performed the adjustment, grouping under a blank value when unattributed. | | `result_status` | Per-line perform outcome (e.g. success or error). | | `kind` | Whether the change came from a stock count or a manual adjustment. A count variance and a deliberate correction are different findings, and shrinkage reporting reads very differently once they are told apart. | | `found` | Whether the line was stock found during a count that its scope never covered - the count discovering the system was wrong about where stock was, rather than a variance on a line it expected. | | `vendor` | Product vendor. | | `product_type` | Shopify product type. | | `tags` | Product tags (the full tag string), grouping under a blank value when none. | | `tag` | Individual product tag - a line appears under each of its tags (cross-tag totals overlap). | ## Filters | Filter | Type | Description | | - | - | - | | `collection` | Number | Restrict to products in the selected collection(s). | | `category` | Text | Restrict to products in the selected category (matches sub-categories too). | | `sales_channel` | Number | Restrict to products published to the selected sales channel. | | `region_catalog` | Number | Restrict to products in the selected region (market) catalog. | | `b2b_catalog` | Number | Restrict to products in the selected B2B (market) catalog. | | `company_location_catalog` | Number | Restrict to products in the selected company-location catalog. | | `vendor` | Text | Product vendor. | | `product_type` | Text | Shopify product type. | | `product_title` | Text | Product title. | | `sku` | Text | Variant SKU. | | `barcode` | Text | Variant barcode. | | `adjustment_number` | Number | The adjustment document's sequential number. | | `reason` | Text | The adjustment reason. | | `notes` | Text | The adjustment document's notes. | | `employee` | Text | Who performed the adjustment. | | `result_status` | Text | Per-line perform outcome. | | `location_name` | Text | The adjustment's location. | | `delta` | Number | The per-line adjustment quantity (positive = added, negative = removed). | | `unit_cost` | Number | Cost per unit at the time of the adjustment. | ## Related datasets * [Forecast accuracy](/stockfulql/datasets/forecast_runs) * [Pricing](/stockfulql/datasets/price_history) # Cost history Source: https://docs.stockful.app/stockfulql/datasets/cost_history Every recorded change to a variant's cost: purchase order receipts, cost adjustments and edits made in Shopify. Every recorded change to a variant's cost: purchase order receipts, cost adjustments and edits made in Shopify. ## Example ```sql theme={null} FROM cost_history SHOW cost_events, avg_event_cost GROUP BY product ORDER BY cost_events DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `cost_events` | Number | Number of recorded cost changes. | | `avg_event_cost` | Currency | Mean unit cost across the cost events in the range. | | `min_event_cost` | Currency | Lowest unit cost recorded in the range. | | `max_event_cost` | Currency | Highest unit cost recorded in the range. | | `cost_swing` | Currency | Highest minus lowest unit cost in the range - how much the price moved. | | `cost_swing_pct` | Percent | Cost movement across the range as a % of the lowest cost recorded. | | `latest_avg_cost` | Currency | Weighted-average landed cost after the most recent cost event in the range, summed across the group. | | `net_units` | Number | Net units the cost events covered. Signed - receipt corrections write negative rows. | | `first_event_date` | Date | Earliest cost event in the range. | | `last_event_date` | Date | Most recent cost event in the range. | ## Dimensions | Dimension | Description | | - | - | | `product` | Product with image, rendered as a single cell (variants roll up). | | `sku` | Variant SKU - splits a product-grain report into variant rows. | | `variant` | Variant title (e.g. "Small / Blue"), shown as a dash for products without options. Group by product too - on its own, variants sharing a title across different products fall into one row. | | `barcode` | Variant barcode (GTIN/UPC/EAN/ISBN), grouping under a blank value when none. | | `category` | Shopify product category (full taxonomy path). | | `collection` | Shopify collection - a SKU appears under each collection it belongs to (cross-collection totals overlap), grouping under a blank value when it is in none. | | `vendor` | Product brand, grouping under a blank value when unset. | | `product_type` | Product type, grouping under a blank value when unset. | | `source` | What produced the cost event: a purchase order receipt, a cost adjustment, or an edit made in Shopify. | | `event_date` | The day the cost event was recorded. | ## Filters | Filter | Type | Description | | - | - | - | | `collection` | Number | Restrict to products in the selected collection(s). | | `category` | Text | Restrict to products in the selected category (matches sub-categories too). | | `sales_channel` | Number | Restrict to products published to the selected sales channel. | | `region_catalog` | Number | Restrict to products in the selected region (market) catalog. | | `b2b_catalog` | Number | Restrict to products in the selected B2B (market) catalog. | | `company_location_catalog` | Number | Restrict to products in the selected company-location catalog. | | `product_title` | Text | Product title. | | `sku` | Text | Variant SKU. | | `barcode` | Text | Variant barcode. | | `vendor` | Text | Product brand. | | `product_type` | Text | Product type. | | `source` | Text | What produced the cost event. | | `unit_cost_base` | Number | The cost recorded by the event. | ## Related datasets * [Purchasing](/stockfulql/datasets/purchasing) * [Purchase costs](/stockfulql/datasets/purchase_costs) * [Goods receipts](/stockfulql/datasets/receipts) * [Supplier performance](/stockfulql/datasets/supplier_performance) # Forecast accuracy Source: https://docs.stockful.app/stockfulql/datasets/forecast_runs Forecast accuracy: predicted vs actual demand per run. Forecast accuracy: predicted vs actual demand per run. ## Example ```sql theme={null} FROM forecast_runs SHOW predicted_units, actual_units GROUP BY product ORDER BY predicted_units DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `predicted_units` | Number | Forecast units (predicted velocity × 7) over the graded weeks. | | `actual_units` | Number | Units actually sold in the graded weeks. | | `forecast_wape` | Percent | Weighted absolute percentage error: Σ\|actual − predicted\| ÷ Σactual; lower is more accurate. | | `forecast_bias` | Percent | Σ(predicted − actual) ÷ Σactual; positive = over-forecasting, negative = under. | | `weeks_compared` | Number | Number of graded (variant, location, week) predictions in the group. | ## Dimensions | Dimension | Description | | - | - | | `product` | Product with image, rendered as a single cell (variants roll up). | | `sku` | Variant SKU - splits a product-grain report into variant rows. | | `variant` | Variant title (e.g. "Small / Blue"), shown as a dash for products without options. Group by product too - on its own, variants sharing a title across different products fall into one row. | | `barcode` | Variant barcode (GTIN/UPC/EAN/ISBN), grouping under a blank value when none. | | `category` | Shopify product category (full taxonomy path). | | `collection` | Shopify collection - a SKU appears under each collection it belongs to (cross-collection totals overlap), grouping under a blank value when it is in none. | | `location` | Fulfilment location. | | `vendor` | Product vendor. | | `product_type` | Shopify product type. | | `forecast_model` | The demand model used for the prediction: linear, trend, day-of-week (dow), seasonal, or intermittent. | ## Filters | Filter | Type | Description | | - | - | - | | `collection` | Number | Restrict to products in the selected collection(s). | | `category` | Text | Restrict to products in the selected category (matches sub-categories too). | | `sales_channel` | Number | Restrict to products published to the selected sales channel. | | `region_catalog` | Number | Restrict to products in the selected region (market) catalog. | | `b2b_catalog` | Number | Restrict to products in the selected B2B (market) catalog. | | `company_location_catalog` | Number | Restrict to products in the selected company-location catalog. | | `vendor` | Text | Product vendor. | | `product_type` | Text | Shopify product type. | | `product_title` | Text | Product title. | | `sku` | Text | Variant SKU. | | `barcode` | Text | Variant barcode. | | `location_name` | Text | Fulfilment location. | | `forecast_model` | Text | The demand model used for the prediction (linear, trend, dow). | ## Related datasets * [Pricing](/stockfulql/datasets/price_history) * [Stock adjustments](/stockfulql/datasets/adjustments) # Inventory Source: https://docs.stockful.app/stockfulql/datasets/inventory Stock levels, valuation and cover per variant and location, live and over any past date range. Stock levels, valuation and cover per variant and location, live and over any past date range. This dataset can be read live (as it stands now) or over a past date range (from daily history), and supports `COMPARE TO`. ## Example ```sql theme={null} FROM inventory SHOW current_quantity, previous_quantity GROUP BY product ORDER BY current_quantity DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `current_quantity` | Number | On-hand units at this location. | | `previous_quantity` | Number | The variant's total availability on the snapshot at the start of the date range. | | `previous_value` | Currency | The variant's cost value on the previous snapshot day. | | `current_value` | Currency | The variant's cost value on the latest snapshot day, paired with the previous one for a change comparison - needs a window spanning both days, so it is not the measure for plain stock valuation. | | `value_delta` | Currency | Cost-value change between the two latest snapshot days. | | `low_stock_direction` | Text | Whether the variant went low on stock or recovered since the previous snapshot. | | `unit_cost` | Currency | Cost per unit; blank when no cost is set. | | `price` | Currency | Selling price per unit; blank when no price is set. | | `compare_at_price` | Currency | Compare-at (was) price per unit; blank when not set. | | `incoming` | Number | Units on incoming transfers or purchase orders to this location. | | `last_restock_date` | Date | Date the variant was last restocked at this location. | | `incoming_eta` | Date | Earliest expected arrival date of the incoming stock at this location. | | `total_quantity` | Number | Total on-hand units across the group. | | `inventory_value` | Currency | On-hand units × cost (and × price), excluding bundle parents. | | `sku_count` | Number | Distinct tracked variants in the group. | | `variants_with_cost` | Number | Distinct variants that have a cost set. | | `units_sold` | Number | Units sold at this location over the last 30 days (maintained). | | `units_remaining` | Number | On-hand units still available. | | `sell_through_rate` | Percent | Units sold over the report's date range as a share of units handled (sold plus still on hand). | | `oos_days_30d` | Number | Days the variant was out of stock at this location in the last 30 days. | | `lost_units_30d` | Number | Estimated units of demand lost to stockouts in the last 30 days. | | `lost_revenue_30d` | Currency | Estimated revenue lost to stockouts in the last 30 days. | | `days_since_created` | Number | Days since the variant was created. | | `created_date` | Date | Date the variant was created. | | `days_since_last_sale` | Number | Days since the variant last sold at this location. | | `last_sale_date` | Date | Date of the variant's most recent sale. | | `days_out_of_stock` | Number | Days since the variant was last in stock at this location. | | `last_in_stock_date` | Date | Date the variant was last in stock at this location. | | `avg_daily_sales` | Units per day | Average units sold per day (trailing sales velocity). | | `estimated_lost_revenue` | Currency | Estimated revenue lost while out of stock (velocity x days x price). | | `total_skus` | Number | Distinct tracked variants in the group. | | `total_value` | Currency | On-hand value at cost (and price) for the group. Valued at Shopify's cost-per-item, so it reconciles with Shopify's own reporting. | | `average_velocity` | Units per day | Average daily sales velocity across the group's variants. | | `in_stock_percentage` | Percent | Share of variants with stock on hand. | | `out_of_stock_count` | Number | Variants currently out of stock in the group. | | `low_stock_count` | Number | Variants currently below their low-stock threshold. | | `daily_velocity` | Units per day | Units sold per day at this location. | | `days_of_cover` | Number | Days of stock remaining at the current sales rate; blank when not selling. | | `excess_units` | Number | On-hand units beyond the overstock threshold's worth of cover. | | `cash_tied` | Currency | Cost value of the excess units. | | `current_discount` | Percent | Existing markdown vs the compare-at price, if any. | | `action` | Text | Markdown, deep markdown or liquidate, by velocity and recency. | | `days_of_supply` | Number | Days the on-hand stock lasts at the current sales rate. | | `excess_quantity` | Number | On-hand units beyond the target days of supply. | | `excess_value_cost` | Currency | Cost value of the units held beyond 90 days of demand - the overstock only, not the value of all stock on hand. | | `excess_value_retail` | Currency | Retail value of the units held beyond 90 days of demand - the overstock only, not the value of all stock on hand. | | `inventory_value_landed` | Currency | On-hand stock valued at true landed cost, including allocated freight and duties. | | `revenue` | Currency | Revenue over the last 30 days. | | `revenue_percentage` | Percent | Share of total revenue. | | `cumulative_percentage` | Percent | Running share of revenue, richest first. | | `abc_tier` | Text | A (top 80% of revenue), B (next 15%), C (rest), ranked across the groups shown. | | `gmroi` | Number | Annualised gross margin returned per unit of stock at cost. Sales over the report's date range against stock as it stands. | | `inventory_turnover` | Number | Annualised cost of goods sold over stock at cost. How many times stock turns per year. | | `days_inventory_outstanding` | Number | Average days stock is held before it sells. | | `stock_to_sales` | Number | Retail value of stock relative to revenue over the report's date range. | | `weeks_of_cover` | Number | Weeks of stock remaining at the current sales rate; blank when not selling. | | `coefficient_of_variation` | Number | Average coefficient of variation of daily demand (σ ÷ mean velocity) across the group; higher is more erratic. Blank when there is no in-stock sales signal. | | `age_days` | Number | Average days the on-hand stock has been in stock since its last restock; blank for out-of-stock items. | | `reorder_point` | Number | Total reorder point across the group - the raw threshold, before counting inbound stock or open purchase orders. | | `reorder_quantity` | Number | Total recommended reorder quantity across the group, before counting inbound stock or open purchase orders - see Units to order for the netted figure. | | `units_to_order` | Number | Units still to order once inbound stock and open purchase orders are counted. | | `recommended_spend` | Currency | Cost of the units still to order, at the variant's cost price. | | `safety_stock_units` | Number | Total statistical safety-stock units across the group. | | `demand_std_dev` | Number | Average standard deviation of daily demand (units/day) across the group. | | `lead_time_std_dev_days` | Number | Average lead-time variability (standard deviation, days) feeding safety stock - higher σ means a larger safety buffer (#506). | | `demand_history_days` | Number | Average days of sales history the forecast drew on (up to 365 for backfilled shops) - how much data is behind the numbers (#506). | | `forecast_error` | Percent | Weighted average forecast error (WAPE = \|actual − predicted\| ÷ actual) across the group; lower is more accurate. | | `projected_stockout_date` | Date | Soonest projected stockout date across the group at the current sales rate. | | `inventory_margin` | Currency | On-hand retail value minus cost value as of the end of the range. Valued at landed cost, so it includes allocated freight and duties. | | `avg_units` | Number | Average on-hand units across the group over the range. | | `peak_units` | Number | Sum of each variant's highest on-hand units over the range. | | `lowest_units` | Number | Sum of each variant's lowest on-hand units over the range. | | `avg_inventory_value` | Currency | Average value held (units × cost, and × price) across the range. The basis for turnover and GMROI over the period. | | `stockout_days` | Number | Total variant-days out of stock across the group over the range (a variant out for 3 days counts 3). Distinct from the live 'Days out of stock' staleness measure. | | `stockout_events` | Number | Times a variant went from in stock to out of stock during the range. | | `lost_sales_units` | Number | Estimated units of demand lost while out of stock (days out of stock × velocity). | | `lost_sales_revenue` | Currency | Estimated revenue lost while out of stock (lost units × average price). | | `net_units_change` | Number | On-hand units at the end of the range minus the start (positive = stock grew). | | `net_value_change` | Currency | On-hand cost value at the end of the range minus the start. | | `units_added` | Number | Total day-over-day increases in on-hand units over the range (restocks). | | `units_depleted` | Number | Total day-over-day decreases in on-hand units over the range (sales and shrinkage). | ## Dimensions | Dimension | Description | | - | - | | `product` | Product with image, rendered as a single cell (variants roll up). | | `sku` | Variant SKU - splits a product-grain report into variant rows. | | `variant` | Variant title (e.g. "Small / Blue"), shown as a dash for products without options. Group by product too - on its own, variants sharing a title across different products fall into one row. | | `barcode` | Variant barcode (GTIN/UPC/EAN/ISBN), grouping under a blank value when none. | | `location` | Stock location. | | `vendor` | Product vendor. | | `product_type` | Shopify product type. | | `category` | Shopify product category (full taxonomy path). | | `collection` | Shopify collection - a SKU appears under each collection it belongs to (cross-collection totals overlap), grouping under a blank value when it is in none. | | `location_role` | Whether the location acts as a hub or a fulfillment location. | | `country_of_origin` | Variant country of origin (ISO code), grouping under a blank value when none. | | `status` | Shopify product status (active, draft, archived, unlisted). | | `abc_class` | Maintained ABC tier per variant×location by 30-day revenue, ranked across the whole shop. Distinct from the computed abc\_class measure (variant-grain, in-query); don't select both together. | | `tags` | Product tags (the full tag string), grouping under a blank value when none. | | `tag` | Individual product tag - a SKU appears under each of its tags (cross-tag totals overlap). | | `stock_status` | Maintained stock status (in stock, low, out of stock). | | `xyz_class` | Demand-variability tier from CV = σ ÷ velocity: X stable (\<0.5), Y variable (0.5-1), Z erratic (>1); Unclassified when there's no in-stock sales signal. | | `option_1` | First variant option as "name: value" (e.g. "Size: M"); blank for products without options. | | `option_2` | Second variant option as "name: value" (e.g. "Color: Red"); blank when absent. | | `option_3` | Third variant option as "name: value"; blank when absent. | | `age_bucket` | Age band of the on-hand stock since its last restock. Unknown when out of stock or the age is unavailable. | | `incoming_status` | Whether incoming stock arrives before the projected stockout ('On track'), or after it or not at all with a stockout due ('At risk'). | | `order_by_week` | Week the order needs placing, a lead time ahead of the projected stockout. | | `forecast_model` | The demand model auto-selected per SKU: linear, trend, day-of-week (dow), seasonal, or intermittent (Croston's, for lumpy demand). | ## Filters | Filter | Type | Description | | - | - | - | | `collection` | Number | Restrict to products in the selected collection(s). | | `category` | Text | Restrict to products in the selected category (matches sub-categories too). | | `sales_channel` | Number | Restrict to products published to the selected sales channel. | | `region_catalog` | Number | Restrict to products in the selected region (market) catalog. | | `b2b_catalog` | Number | Restrict to products in the selected B2B (market) catalog. | | `company_location_catalog` | Number | Restrict to products in the selected company-location catalog. | | `vendor` | Text | Product vendor. | | `product_type` | Text | Shopify product type. | | `status` | Text | Shopify product status (active, draft, archived, unlisted). | | `is_gift_card` | Text | Whether the product is a gift card. | | `published_at` | Text | When the product was published to the online store. | | `created_at` | Text | When the product was created in Shopify (product age). | | `combined_listing_role` | Text | The product's role in a combined listing (PARENT / CHILD / NONE). | | `requires_selling_plan` | Text | Whether the product can only be bought via a subscription (selling plan). | | `country_of_origin` | Text | Variant country of origin (ISO code). | | `province_of_origin` | Text | Variant province / state of origin (code). | | `requires_shipping` | Text | Whether the variant is a physical item that ships. | | `weight` | Number | Variant weight, in its own unit (see weight\_unit). | | `weight_unit` | Text | The unit of the weight value (KILOGRAMS, GRAMS, POUNDS, OUNCES). | | `taxable` | Text | Whether tax is charged on the variant. | | `part_of_bundle` | Text | Whether the variant is used as a component in any bundle. | | `location_role` | Text | Whether the location acts as a hub or a fulfillment location. | | `abc_class` | Text | Maintained ABC tier (A/B/C) by 30-day revenue. | | `product_title` | Text | Product title. | | `sku` | Text | Variant SKU. | | `barcode` | Text | Variant barcode. | | `location_name` | Text | Stock location name. | | `current_quantity` | Number | Current on-hand units at the variant × location. | | `velocity` | Number | Maintained average units sold per day. | | `days_of_supply` | Number | Days of cover at current velocity (on-hand ÷ velocity). | | `lost_revenue_30d` | Number | Estimated revenue lost to stockouts in the last 30 days. | | `total_revenue_30d` | Number | Revenue earned over the shop's velocity calculation period (Settings → Forecasting), clamped to the order history held. | | `total_sold_30d` | Number | Units sold over the shop's velocity calculation period (Settings → Forecasting), clamped to the order history held. | | `tags` | Text | Product tag (matches any tag on the product). | | `price` | Number | Variant selling price. | | `cost` | Number | Variant unit cost. | | `stock_status` | Text | Stock health: healthy, low, out\_of\_stock or overstock. | | `forecast_model` | Text | The demand model auto-selected per SKU: linear, trend, dow, seasonal, or intermittent - e.g. filter to your seasonal SKUs. | | `reorder_point` | Number | Maintained reorder point, in units - the raw threshold, before inbound stock or open purchase orders are counted. | | `incoming` | Number | Units currently incoming to this location. | | `snoozed` | Text | Whether the recommendation is currently snoozed. | # Material movements Source: https://docs.stockful.app/stockfulql/datasets/material_movements Every change to material stock: what production consumed, what a batch made, what arrived and what was written off. Every change to material stock: what production consumed, what a batch made, what arrived and what was written off. ## Example ```sql theme={null} FROM material_movements SHOW units_in, units_out GROUP BY material ORDER BY units_in DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `units_in` | Number | Material added over the period: received, produced or counted up. | | `units_out` | Number | Material used over the period, as a positive figure. | | `net_change` | Number | Everything in, less everything out. | | `cost_impact` | Currency | The net change valued at what the material cost. | | `movement_count` | Number | How many ledger entries the group covers. | | `consumed` | Number | Material a batch drew from stock, as a positive figure. | | `produced` | Number | Material a batch made. | | `received` | Number | Material taken in against a purchase order. | | `used` | Number | Material taken from stock for day-to-day use, as a positive figure. | | `written_off` | Number | Material removed as waste, as a positive figure. | ## Dimensions | Dimension | Description | | - | - | | `material` | The material SKU the movement was written against. | | `material_product` | The parent grouping - every SKU under it rolls up. | | `material_category` | The merchant-authored grouping on the material product. | | `cause` | Why the stock moved: consumed, produced, received, used, counted, adjusted or written off. | | `location` | Where the movement happened. | | `unit` | The unit the movement was recorded in. | ## Filters | Filter | Type | Description | | - | - | - | | `material_name` | Text | The material's full name. | | `sku` | Text | The material's SKU. | | `material_category` | Text | The grouping on the material product. | | `cause` | Text | Why the stock moved. | | `unit_code` | Text | The unit the movement was recorded in. | ## Related datasets * [Raw materials](/stockfulql/datasets/materials) * [Production](/stockfulql/datasets/production) # Raw materials Source: https://docs.stockful.app/stockfulql/datasets/materials Raw materials you hold: what is on the shelf, what it is worth, what production has committed and what is on the way. Raw materials you hold: what is on the shelf, what it is worth, what production has committed and what is on the way. ## Example ```sql theme={null} FROM materials SHOW material_count, qty_on_hand GROUP BY material ORDER BY material_count DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `material_count` | Number | How many distinct material SKUs the group covers. | | `qty_on_hand` | Number | Units of the material held, in its own stocking unit. | | `stock_value` | Currency | On-hand units valued at the material's unit cost. | | `committed` | Number | Units reserved by batches already underway. | | `incoming` | Number | Units ordered from a supplier and not yet received. | | `in_production` | Number | Units a batch underway will produce. | | `free_stock` | Number | On hand plus what is arriving, less what production has committed. | | `safety_stock` | Number | The buffer the material should not drop below. | | `unit_cost` | Currency | What one unit of the material costs. | ## Dimensions | Dimension | Description | | - | - | | `material` | The material SKU - the grain a recipe and a movement point at. | | `material_product` | The parent grouping - every SKU under it rolls up. | | `material_category` | The merchant-authored grouping on the material product. | | `supplier` | Who the material is bought from. | | `location` | Where the material is held. | | `unit` | The unit the material is stocked in. | ## Filters | Filter | Type | Description | | - | - | - | | `material_name` | Text | The material's full name. | | `sku` | Text | The material's SKU. | | `material_category` | Text | The grouping on the material product. | | `supplier_name` | Text | Who the material is bought from. | | `unit_code` | Text | The material's stocking unit. | | `qty_on_hand` | Number | Units held. | | `safety_stock` | Number | The buffer the material should not drop below. | ## Related datasets * [Material movements](/stockfulql/datasets/material_movements) * [Production](/stockfulql/datasets/production) # Orders Source: https://docs.stockful.app/stockfulql/datasets/orders Order lines by the day the order was placed, shipped or not: units, revenue, orders and margin over a date range. Order lines by the day the order was placed, shipped or not: units, revenue, orders and margin over a date range. ## Example ```sql theme={null} FROM orders SHOW units_sold, line_count GROUP BY product ORDER BY units_sold DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `units_sold` | Number | Units sold in the selected period. | | `line_count` | Number | Number of order lines placed in the period. | | `total_revenue` | Currency | Gross revenue from sales in the period. | | `unit_cost` | Currency | Cost per unit; 0 when no cost is set. | | `total_cogs` | Currency | Cost of goods sold (units sold × unit cost) in the period. | | `gross_profit` | Currency | Revenue minus cost of goods sold in the period. | | `landed_cogs` | Currency | Cost of goods sold at true landed cost, including allocated freight and duties. | | `landed_gross_profit` | Currency | Revenue minus landed cost of goods sold - margin after freight and duties. | | `period_days` | Number | How many days the report's date range covers. | | `landed_margin_pct` | Percent | Landed gross profit as a percentage of revenue. | | `profit_margin` | Percent | Gross profit as a percentage of revenue. | | `order_count` | Number | Number of orders placed in the period. | | `avg_order_value` | Currency | Revenue per order in the period, counting only the lines in this report's scope. | ## Dimensions | Dimension | Description | | - | - | | `product` | Product with image, rendered as a single cell (variants roll up). | | `sku` | Variant SKU - splits a product-grain report into variant rows. | | `variant` | Variant title (e.g. "Small / Blue"), shown as a dash for products without options. Group by product too - on its own, variants sharing a title across different products fall into one row. | | `barcode` | Variant barcode (GTIN/UPC/EAN/ISBN), grouping under a blank value when none. | | `category` | Shopify product category (full taxonomy path). | | `collection` | Shopify collection - a SKU appears under each collection it belongs to (cross-collection totals overlap), grouping under a blank value when it is in none. | | `location` | Sales location. | | `vendor` | Product vendor. | | `product_type` | Shopify product type. | | `tag` | Individual product tag - a SKU appears under each of its tags (cross-tag totals overlap). | | `location_role` | Whether the fulfilling location acts as a hub or a fulfillment location. | | `order_channel` | The channel the order came through, such as the online store, POS, or a marketplace. Orders with no recorded channel group under Unknown. | | `order_source` | Where the order was placed: web, POS, or a channel app. Coarser than order channel; use it to split online from in-person. | | `promotion` | The declared promotion covering the sale date, from the promotion calendar. Days outside every declared window group under None. | ## Filters | Filter | Type | Description | | - | - | - | | `collection` | Number | Restrict to products in the selected collection(s). | | `category` | Text | Restrict to products in the selected category (matches sub-categories too). | | `sales_channel` | Number | Restrict to products published to the selected sales channel. | | `region_catalog` | Number | Restrict to products in the selected region (market) catalog. | | `b2b_catalog` | Number | Restrict to products in the selected B2B (market) catalog. | | `company_location_catalog` | Number | Restrict to products in the selected company-location catalog. | | `order_channel` | Text | The channel the order came through. Distinct from sales channel, which filters on where a product is listed rather than where an order came from. | | `order_source` | Text | Where the order was placed: web, POS, or a channel app. | | `vendor` | Text | Product vendor. | | `product_type` | Text | Shopify product type. | | `product_title` | Text | Product title. | | `sku` | Text | Variant SKU. | | `barcode` | Text | Variant barcode. | | `location_name` | Text | Sales location name. | | `promotion` | Text | Name of the declared promotion covering the sale date. Null outside every declared window. | ## Related datasets * [Sales](/stockfulql/datasets/sales) * [Sales trends](/stockfulql/datasets/sales_history) * [Returns](/stockfulql/datasets/returns) * [Promotions](/stockfulql/datasets/promo) # Overview Source: https://docs.stockful.app/stockfulql/datasets/overview The data you can query with StockfulQL, grouped by area A query always starts with a dataset in its `FROM` clause. Each dataset covers one area of your store and groups the metrics and dimensions that belong together, so a query only uses the fields its dataset defines. **Metrics** are the numbers a dataset lets you measure, like `inventory_value` or `total_revenue`. You return them with `SHOW`. **Dimensions** are the attributes you break those metrics down by, like `vendor`, `product` or `reason`. Group by them with `GROUP BY`, bucket them over time with `TIMESERIES`, or filter on them with `WHERE`. Each dataset's page below lists its metrics and dimensions with a type and description, plus the filters it supports. Pick the one that holds the data you want. inventoryDATASETMetricsValues you measureinventory\_valuedays\_of\_supplydays\_out\_of\_stockDimensionsBreak metrics down byproductvendorsku ## Inventory | Dataset | What it holds | | - | - | | [Inventory](/stockfulql/datasets/inventory) | Stock levels, valuation and cover per variant and location, live and over any past date range. | ## Sales | Dataset | What it holds | | - | - | | [Sales](/stockfulql/datasets/sales) | Fulfilled order lines by the day they were fulfilled: units, revenue and margin over a date range. | | [Orders](/stockfulql/datasets/orders) | Order lines by the day the order was placed, shipped or not: units, revenue, orders and margin over a date range. | | [Sales trends](/stockfulql/datasets/sales_history) | Long-horizon daily sales - units, revenue and discounts per variant over up to two years, for trends and year-over-year. | | [Returns](/stockfulql/datasets/returns) | Product returns from order refunds: units returned, return rate and net-of-returns sales by product, SKU, vendor and reason. | | [Promotions](/stockfulql/datasets/promo) | Discounted order lines and their promotional revenue. | ## Purchasing | Dataset | What it holds | | - | - | | [Purchasing](/stockfulql/datasets/purchasing) | Purchase order lines: spend, units ordered and received, supplier and landed cost. Placed orders only. | | [Purchase costs](/stockfulql/datasets/purchase_costs) | Freight, duty and fees added to purchase orders, and what they add on top of the goods. | | [Cost history](/stockfulql/datasets/cost_history) | Every recorded change to a variant's cost: purchase order receipts, cost adjustments and edits made in Shopify. | | [Goods receipts](/stockfulql/datasets/receipts) | Goods receipts: when each delivery landed and how long the supplier took. | | [Supplier performance](/stockfulql/datasets/supplier_performance) | Purchase-order delivery reliability by supplier: on-time rate, deliveries and average days late, judged on the first receipt against the expected date. | ## Replenishment | Dataset | What it holds | | - | - | | [Reorder history](/stockfulql/datasets/reorder_history) | One row per SKU per night it was on the reorder list - what was recommended, and when. | | [Reorder (all locations)](/stockfulql/datasets/reorder_consolidated) | The reorder list with locations pooled: one decision per variant for the whole business. | | [Transfer history](/stockfulql/datasets/transfer_history) | One row per location pair per night it was on the transfer list - what was suggested, and when. | | [Transfer suggestions](/stockfulql/datasets/transfer_suggestions) | The live rebalance list: stock worth moving between locations right now, and how much. | ## Operations | Dataset | What it holds | | - | - | | [Stock adjustments](/stockfulql/datasets/adjustments) | Performed stock adjustments: net change, cost impact and shrinkage by reason. | | [Pricing](/stockfulql/datasets/price_history) | Recorded price changes per variant over time. | | [Forecast accuracy](/stockfulql/datasets/forecast_runs) | Forecast accuracy: predicted vs actual demand per run. | ## Production | Dataset | What it holds | | - | - | | [Raw materials](/stockfulql/datasets/materials) | Raw materials you hold: what is on the shelf, what it is worth, what production has committed and what is on the way. | | [Material movements](/stockfulql/datasets/material_movements) | Every change to material stock: what production consumed, what a batch made, what arrived and what was written off. | | [Production](/stockfulql/datasets/production) | Production batches: what each set out to make, what it actually made, and the material it took to do it. | ## Traffic | Dataset | What it holds | | - | - | | [Storefront traffic](/stockfulql/datasets/traffic) | Storefront sessions per product with units and conversion, for spotting demand your sales numbers haven't caught yet. | | [Storefront search](/stockfulql/datasets/search) | Storefront search terms: volume, click-through, and the searches shoppers gave up on. | # Pricing Source: https://docs.stockful.app/stockfulql/datasets/price_history Recorded price changes per variant over time. Recorded price changes per variant over time. ## Example ```sql theme={null} FROM price_history SHOW avg_price, avg_compare_at GROUP BY product ORDER BY avg_price DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `avg_price` | Currency | Average observed price in the period. | | `avg_compare_at` | Currency | Average observed compare-at price in the period. | | `avg_cost` | Currency | Average observed unit cost in the period (from cost-change captures). | | `discount_depth` | Percent | Average markdown vs compare-at price ((compare-at − price) ÷ compare-at). | | `price_changes` | Number | Number of logged price/cost changes in the period. | ## Dimensions | Dimension | Description | | - | - | | `product` | Product with image, rendered as a single cell (variants roll up). | | `sku` | Variant SKU - splits a product-grain report into variant rows. | | `variant` | Variant title (e.g. "Small / Blue"), shown as a dash for products without options. Group by product too - on its own, variants sharing a title across different products fall into one row. | | `barcode` | Variant barcode (GTIN/UPC/EAN/ISBN), grouping under a blank value when none. | | `category` | Shopify product category (full taxonomy path). | | `collection` | Shopify collection - a SKU appears under each collection it belongs to (cross-collection totals overlap), grouping under a blank value when it is in none. | | `vendor` | Product vendor. | | `product_type` | Shopify product type. | | `source` | Where the change was observed (webhook or sync). | ## Filters | Filter | Type | Description | | - | - | - | | `collection` | Number | Restrict to products in the selected collection(s). | | `category` | Text | Restrict to products in the selected category (matches sub-categories too). | | `sales_channel` | Number | Restrict to products published to the selected sales channel. | | `region_catalog` | Number | Restrict to products in the selected region (market) catalog. | | `b2b_catalog` | Number | Restrict to products in the selected B2B (market) catalog. | | `company_location_catalog` | Number | Restrict to products in the selected company-location catalog. | | `vendor` | Text | Product vendor. | | `product_type` | Text | Shopify product type. | | `product_title` | Text | Product title. | | `sku` | Text | Variant SKU. | | `barcode` | Text | Variant barcode. | | `source` | Text | What logged the price/cost change (e.g. product update, cost capture). | | `price` | Number | Observed selling price. | | `compare_at_price` | Number | Observed compare-at price. | | `cost` | Number | Observed unit cost. | ## Related datasets * [Forecast accuracy](/stockfulql/datasets/forecast_runs) * [Stock adjustments](/stockfulql/datasets/adjustments) # Production Source: https://docs.stockful.app/stockfulql/datasets/production Production batches: what each set out to make, what it actually made, and the material it took to do it. Production batches: what each set out to make, what it actually made, and the material it took to do it. ## Example ```sql theme={null} FROM production SHOW batches, planned_qty GROUP BY batch ORDER BY batches DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `batches` | Number | How many production runs the group covers. | | `planned_qty` | Number | Units the batches set out to make. | | `actual_qty` | Number | Units the batches actually produced. Blank until a batch closes. | | `yield_variance` | Number | Made less planned. Negative means the batch fell short of its recipe. | | `yield_rate` | Percent | Made as a share of planned. | | `material_used` | Number | Units of material the batches drew, in each material's own unit. | | `material_cost` | Currency | What the material the batches consumed cost. | ## Dimensions | Dimension | Description | | - | - | | `batch` | One production run, by its document number. | | `status` | Where the batch got to: underway, completed or cancelled. | | `material` | A material the batch consumed - one row per material on the recipe. | | `material_category` | The grouping on the consumed material's product. | | `location` | Where the batch was made. | ## Filters | Filter | Type | Description | | - | - | - | | `status` | Text | Where the batch got to. | | `material_name` | Text | A material the batch consumed. | | `material_category` | Text | The grouping on the consumed material's product. | ## Related datasets * [Raw materials](/stockfulql/datasets/materials) * [Material movements](/stockfulql/datasets/material_movements) # Promotions Source: https://docs.stockful.app/stockfulql/datasets/promo Discounted order lines and their promotional revenue. Discounted order lines and their promotional revenue. ## Example ```sql theme={null} FROM promo SHOW discounted_units, total_units GROUP BY product ORDER BY discounted_units DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `discounted_units` | Number | Units sold at a discount in the period. | | `total_units` | Number | Total units sold in the period. | | `discount_rate` | Percent | Share of units sold at a discount (discounted ÷ total units). | | `discount_amount` | Currency | Money discounted in the period, including markdowns (where Shopify reporting data is available). | | `discount_per_unit` | Currency | Average money discounted per unit sold in the period. | ## Dimensions | Dimension | Description | | - | - | | `product` | Product with image, rendered as a single cell (variants roll up). | | `vendor` | Product vendor. | | `product_type` | Shopify product type. | | `category` | Shopify product category (full taxonomy path). | | `collection` | Shopify collection - a SKU appears under each collection it belongs to (cross-collection totals overlap), grouping under a blank value when it is in none. | ## Filters | Filter | Type | Description | | - | - | - | | `collection` | Number | Restrict to products in the selected collection(s). | | `category` | Text | Restrict to products in the selected category (matches sub-categories too). | | `sales_channel` | Number | Restrict to products published to the selected sales channel. | | `region_catalog` | Number | Restrict to products in the selected region (market) catalog. | | `b2b_catalog` | Number | Restrict to products in the selected B2B (market) catalog. | | `company_location_catalog` | Number | Restrict to products in the selected company-location catalog. | | `vendor` | Text | Product vendor. | | `product_type` | Text | Shopify product type. | | `sku` | Text | Variant SKU. | ## Related datasets * [Sales](/stockfulql/datasets/sales) * [Orders](/stockfulql/datasets/orders) * [Sales trends](/stockfulql/datasets/sales_history) * [Returns](/stockfulql/datasets/returns) # Purchase costs Source: https://docs.stockful.app/stockfulql/datasets/purchase_costs Freight, duty and fees added to purchase orders, and what they add on top of the goods. Freight, duty and fees added to purchase orders, and what they add on top of the goods. ## Example ```sql theme={null} FROM purchase_costs SHOW adjustment_total, adjustment_count GROUP BY supplier ORDER BY adjustment_total DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `adjustment_total` | Currency | Freight, duty and fees added on top of the goods, in your currency. | | `adjustment_count` | Number | Number of separate charges added. | | `avg_adjustment` | Currency | Mean value of each added charge. | | `cost_share_pct` | Percent | Added costs as a share of the goods they were charged on - the real overhead on top of the invoice. | ## Dimensions | Dimension | Description | | - | - | | `supplier` | Who the stock was bought from. | | `kind` | What the charge was for - shipping, duty, tax or another fee. | | `purchase_order` | The individual purchase order. | | `ordered_date` | The day the order was placed. | ## Filters | Filter | Type | Description | | - | - | - | | `supplier_name` | Text | Who the stock was bought from. | | `kind` | Text | Shipping, duty, tax or another fee. | | `amount_base` | Number | Value of the individual charge. | ## Related datasets * [Purchasing](/stockfulql/datasets/purchasing) * [Cost history](/stockfulql/datasets/cost_history) * [Goods receipts](/stockfulql/datasets/receipts) * [Supplier performance](/stockfulql/datasets/supplier_performance) # Purchasing Source: https://docs.stockful.app/stockfulql/datasets/purchasing Purchase order lines: spend, units ordered and received, supplier and landed cost. Placed orders only. Purchase order lines: spend, units ordered and received, supplier and landed cost. Placed orders only. ## Example ```sql theme={null} FROM purchasing SHOW spend, landed_spend GROUP BY product ORDER BY spend DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `spend` | Currency | Ordered value at the price paid - units ordered x unit cost, in your currency. | | `landed_spend` | Currency | Received value at true landed cost - units received x landed unit cost, so freight and duties are included. | | `on_order_value` | Currency | Value of units ordered but not yet received - cash committed and still to land. | | `units_ordered` | Number | Total units ordered across the matching PO lines. | | `units_received` | Number | Total units accepted into stock. | | `units_rejected` | Number | Units refused at receiving - damaged, wrong, or short-shipped. | | `units_outstanding` | Number | Units ordered that haven't been received yet. | | `po_count` | Number | Number of distinct purchase orders. | | `avg_unit_cost` | Currency | Quantity-weighted average price paid per unit. | | `avg_landed_cost` | Currency | Quantity-weighted average landed cost per received unit, including allocated freight and duties. | | `landed_uplift_pct` | Percent | How much more the goods truly cost once freight and duties land, as a % over the quoted price. | | `price_variance` | Currency | Charged minus the supplier's price-list price, x units ordered. Positive means you paid over the agreed price. | | `price_variance_pct` | Percent | Charged vs the supplier's price-list price as a %. Positive means over the agreed price. | | `fill_rate` | Percent | Share of ordered units actually received. | | `rejection_rate` | Percent | Share of delivered units refused at receiving. | | `first_ordered_date` | Date | Earliest order date in the range. | | `last_ordered_date` | Date | Most recent order date in the range. | ## Dimensions | Dimension | Description | | - | - | | `product` | Product with image, rendered as a single cell (variants roll up). | | `sku` | Variant SKU - splits a product-grain report into variant rows. | | `variant` | Variant title (e.g. "Small / Blue"), shown as a dash for products without options. Group by product too - on its own, variants sharing a title across different products fall into one row. | | `barcode` | Variant barcode (GTIN/UPC/EAN/ISBN), grouping under a blank value when none. | | `category` | Shopify product category (full taxonomy path). | | `collection` | Shopify collection - a SKU appears under each collection it belongs to (cross-collection totals overlap), grouping under a blank value when it is in none. | | `supplier` | Who the stock was bought from. Not the same as the brand - see Vendor. | | `vendor` | Product brand, grouping under a blank value when unset. Not who you bought from. | | `product_type` | Product type, grouping under a blank value when unset. | | `destination` | Where the stock was ordered into. | | `po_status` | Purchase order status (ordered, partially received, received, closed, cancelled). | | `purchase_order` | The individual purchase order reference. | | `cost_source` | Where the line's price came from (price list, last paid, manual). | | `ordered_date` | The day the order was placed. | | `expected_date` | The day the stock is due to land. Blank when no arrival date was agreed. | | `ship_date` | The day the supplier is due to ship. Blank when no ship date was agreed. | | `cancel_date` | The day the order can be cancelled if it hasn't shipped. Blank when no cancel date was agreed. | ## Filters | Filter | Type | Description | | - | - | - | | `collection` | Number | Restrict to products in the selected collection(s). | | `category` | Text | Restrict to products in the selected category (matches sub-categories too). | | `sales_channel` | Number | Restrict to products published to the selected sales channel. | | `region_catalog` | Number | Restrict to products in the selected region (market) catalog. | | `b2b_catalog` | Number | Restrict to products in the selected B2B (market) catalog. | | `company_location_catalog` | Number | Restrict to products in the selected company-location catalog. | | `product_title` | Text | Product title. | | `sku` | Text | Variant SKU. | | `barcode` | Text | Variant barcode. | | `supplier_name` | Text | Who the stock was bought from. | | `vendor` | Text | Product brand. | | `product_type` | Text | Product type. | | `po_status` | Text | Purchase order status. | | `destination_name` | Text | Destination location name. | | `cost_source` | Text | Where the line price came from. | | `unit_cost_base` | Number | Price paid per unit. | | `fully_paid` | Text | Whether the purchase order has been paid in full. | | `expected_at` | Text | The day the stock is due to land. | | `ship_at` | Text | The day the supplier is due to ship. | | `cancel_at` | Text | The day the order can be cancelled if it hasn't shipped. | ## Related datasets * [Cost history](/stockfulql/datasets/cost_history) * [Purchase costs](/stockfulql/datasets/purchase_costs) * [Goods receipts](/stockfulql/datasets/receipts) * [Supplier performance](/stockfulql/datasets/supplier_performance) # Goods receipts Source: https://docs.stockful.app/stockfulql/datasets/receipts Goods receipts: when each delivery landed and how long the supplier took. Goods receipts: when each delivery landed and how long the supplier took. ## Example ```sql theme={null} FROM receipts SHOW units_received, units_rejected GROUP BY supplier ORDER BY units_received DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `units_received` | Number | Units accepted into stock on the deliveries that landed in the range. | | `units_rejected` | Number | Units refused at receiving - damaged, wrong, or short-shipped. | | `value_received` | Currency | What the accepted stock cost at the landed price stamped when it was booked in, so freight and duties are included. | | `avg_lead_time_days` | Number | Days from placing the order to receiving the stock. | | `slowest_lead_time_days` | Number | The longest wait from order to receipt in the range. | | `fastest_lead_time_days` | Number | The shortest wait from order to receipt in the range. | | `lead_time_spread_days` | Number | Slowest minus fastest delivery - how predictable the supplier is, which matters more than raw speed. | | `receipt_count` | Number | Number of separate goods receipts. | | `last_received_date` | Date | Most recent delivery in the range. | ## Dimensions | Dimension | Description | | - | - | | `supplier` | Who the stock was bought from. | | `destination` | Where the stock was received into. | | `purchase_order` | The individual purchase order. | | `received_date` | The day the stock was received. | ## Filters | Filter | Type | Description | | - | - | - | | `supplier_name` | Text | Who the stock was bought from. | | `destination_name` | Text | Where the stock was received into. | | `lead_time_days` | Number | Days from order to receipt. | ## Related datasets * [Purchasing](/stockfulql/datasets/purchasing) * [Cost history](/stockfulql/datasets/cost_history) * [Purchase costs](/stockfulql/datasets/purchase_costs) * [Supplier performance](/stockfulql/datasets/supplier_performance) # Reorder (all locations) Source: https://docs.stockful.app/stockfulql/datasets/reorder_consolidated The reorder list with locations pooled: one decision per variant for the whole business. The reorder list with locations pooled: one decision per variant for the whole business. ## Example ```sql theme={null} FROM reorder_consolidated SHOW units_to_order, recommended_spend GROUP BY product ORDER BY units_to_order DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `units_to_order` | Number | Units still to order across all locations, once inbound and open POs are counted. | | `recommended_spend` | Currency | Cost of the units still to order, at the variant's landed cost. | | `current_quantity` | Number | Units held across every location. | | `incoming` | Number | Units inbound across every location. | | `reorder_point` | Number | Pooled reorder point across locations. | | `daily_velocity` | Units per day | Units sold per day across every location. | | `lead_time_days` | Number | Days the supplier takes, from the variant, its supplier, or the shop default. | | `unit_cost` | Currency | Cost price of the variant. | | `projected_stockout_date` | Date | When the pooled stock is forecast to run out. | | `skus_to_order` | Number | Distinct variants needing a reorder. | ## Dimensions | Dimension | Description | | - | - | | `product` | Product with image, rendered as a single cell (variants roll up). | | `sku` | Variant SKU - splits a product-grain report into variant rows. | | `variant` | Variant title (e.g. "Small / Blue"), shown as a dash for products without options. Group by product too - on its own, variants sharing a title across different products fall into one row. | | `barcode` | Variant barcode (GTIN/UPC/EAN/ISBN), grouping under a blank value when none. | | `category` | Shopify product category (full taxonomy path). | | `collection` | Shopify collection - a SKU appears under each collection it belongs to (cross-collection totals overlap), grouping under a blank value when it is in none. | | `vendor` | Product vendor. | | `product_type` | Shopify product type. | ## Filters | Filter | Type | Description | | - | - | - | | `product_title` | Text | Product title. | | `sku` | Text | Variant SKU. | | `barcode` | Text | Variant barcode. | | `vendor` | Text | Product vendor. | | `product_type` | Text | Shopify product type. | | `units_to_order` | Number | Units still to order. | | `snoozed` | Text | Whether the recommendation is snoozed at every location holding it. | ## Related datasets * [Reorder history](/stockfulql/datasets/reorder_history) * [Transfer history](/stockfulql/datasets/transfer_history) * [Transfer suggestions](/stockfulql/datasets/transfer_suggestions) # Reorder history Source: https://docs.stockful.app/stockfulql/datasets/reorder_history One row per SKU per night it was on the reorder list - what was recommended, and when. One row per SKU per night it was on the reorder list - what was recommended, and when. ## Example ```sql theme={null} FROM reorder_history SHOW units_to_order, recommended_spend GROUP BY product ORDER BY units_to_order DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `units_to_order` | Number | Recommended order quantity on the most recent day in the range, after netting off incoming stock. | | `recommended_spend` | Currency | Cost of the recommended order on the most recent day in the range. | | `skus_to_order` | Number | Number of variants recommended on the most recent day in the range. | | `units_on_hand` | Number | Stock held by the flagged SKUs on the most recent day. Covers recommended rows only - it will not match total inventory. | | `units_incoming` | Number | Inbound stock against the flagged SKUs on the most recent day. | | `avg_days_of_supply` | Number | Mean cover across the flagged SKUs on the most recent day. | | `avg_daily_velocity` | Units per day | Mean daily sales rate across the flagged SKUs on the most recent day. | | `as_of_date` | Date | The most recent day in the range that has logged recommendations. | | `sku_days_flagged` | Number | Days spent on the reorder list, summed across SKUs - a variant flagged for 3 days counts 3. | | `skus_flagged` | Number | Distinct variants that appeared on the reorder list at any point in the range. | | `times_flagged` | Number | Separate spells on the reorder list - consecutive days count once, so a SKU flagged, restocked, then flagged again counts twice. | | `sku_days_snoozed` | Number | Of the days flagged, how many the recommendation was snoozed on. | | `avg_daily_units_to_order` | Number | Recommended order quantity averaged over the days in the range. Safe to chart. | | `avg_daily_recommended_spend` | Currency | Recommended order cost averaged over the days in the range. Safe to chart. | | `first_flagged_date` | Date | Earliest day in the range the SKU appeared on the reorder list. | | `last_flagged_date` | Date | Most recent day in the range the SKU appeared on the reorder list. | ## Dimensions | Dimension | Description | | - | - | | `product` | Product with image, rendered as a single cell (variants roll up). | | `sku` | Variant SKU - splits a product-grain report into variant rows. | | `variant` | Variant title (e.g. "Small / Blue"), shown as a dash for products without options. Group by product too - on its own, variants sharing a title across different products fall into one row. | | `barcode` | Variant barcode (GTIN/UPC/EAN/ISBN), grouping under a blank value when none. | | `category` | Shopify product category (full taxonomy path). | | `collection` | Shopify collection - a SKU appears under each collection it belongs to (cross-collection totals overlap), grouping under a blank value when it is in none. | | `location` | The location the recommendation was made for. | | `vendor` | Product vendor, grouping under a blank value when unset. | | `product_type` | Product type, grouping under a blank value when unset. | | `forecast_model` | The demand model that produced the recommendation (linear, trend, day-of-week, seasonal, intermittent). | | `snapshot_date` | The day the recommendation was live. | ## Filters | Filter | Type | Description | | - | - | - | | `collection` | Number | Restrict to products in the selected collection(s). | | `category` | Text | Restrict to products in the selected category (matches sub-categories too). | | `sales_channel` | Number | Restrict to products published to the selected sales channel. | | `region_catalog` | Number | Restrict to products in the selected region (market) catalog. | | `b2b_catalog` | Number | Restrict to products in the selected B2B (market) catalog. | | `company_location_catalog` | Number | Restrict to products in the selected company-location catalog. | | `product_title` | Text | Product title. | | `sku` | Text | Variant SKU. | | `barcode` | Text | Variant barcode. | | `vendor` | Text | Product vendor. | | `product_type` | Text | Product type. | | `location_name` | Text | Location name. | | `forecast_model` | Text | The demand model behind the recommendation. | | `snoozed` | Text | Whether the recommendation was snoozed on that day. | | `quantity_to_order` | Number | Recommended order quantity on that day. | | `days_of_supply` | Number | Cover remaining on that day. | ## Related datasets * [Transfer history](/stockfulql/datasets/transfer_history) * [Transfer suggestions](/stockfulql/datasets/transfer_suggestions) * [Reorder (all locations)](/stockfulql/datasets/reorder_consolidated) # Returns Source: https://docs.stockful.app/stockfulql/datasets/returns Product returns from order refunds: units returned, return rate and net-of-returns sales by product, SKU, vendor and reason. Product returns from order refunds: units returned, return rate and net-of-returns sales by product, SKU, vendor and reason. ## Example ```sql theme={null} FROM returns SHOW units_returned, return_rate GROUP BY product ORDER BY units_returned DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `units_returned` | Number | Units returned in the period, from order refunds. | | `return_rate` | Percent | Units returned as a percentage of gross units sold (net units sold plus returns). | | `net_units` | Number | Units sold after returns are netted off, over the period (Shopify net units). | | `gross_units` | Number | Units sold before returns (net units sold plus units returned). | | `net_sales` | Currency | Revenue after returns are netted off, over the period. | ## Dimensions | Dimension | Description | | - | - | | `product` | Product with image, rendered as a single cell (variants roll up). | | `sku` | Variant SKU - splits a product-grain report into variant rows. | | `variant` | Variant title (e.g. "Small / Blue"), shown as a dash for products without options. Group by product too - on its own, variants sharing a title across different products fall into one row. | | `barcode` | Variant barcode (GTIN/UPC/EAN/ISBN), grouping under a blank value when none. | | `category` | Shopify product category (full taxonomy path). | | `collection` | Shopify collection - a SKU appears under each collection it belongs to (cross-collection totals overlap), grouping under a blank value when it is in none. | | `vendor` | Product vendor. | | `product_type` | Shopify product type. | | `reason` | Shopify return reason (too small, damaged, changed mind, …); blank on sales that had no return. | | `tag` | Individual product tag - a SKU appears under each of its tags (cross-tag totals overlap). | ## Filters | Filter | Type | Description | | - | - | - | | `collection` | Number | Restrict to products in the selected collection(s). | | `category` | Text | Restrict to products in the selected category (matches sub-categories too). | | `sales_channel` | Number | Restrict to products published to the selected sales channel. | | `region_catalog` | Number | Restrict to products in the selected region (market) catalog. | | `b2b_catalog` | Number | Restrict to products in the selected B2B (market) catalog. | | `company_location_catalog` | Number | Restrict to products in the selected company-location catalog. | | `vendor` | Text | Product vendor. | | `product_type` | Text | Shopify product type. | | `product_title` | Text | Product title. | | `sku` | Text | Variant SKU. | | `barcode` | Text | Variant barcode. | | `reason` | Text | Shopify return reason. | ## Related datasets * [Sales](/stockfulql/datasets/sales) * [Orders](/stockfulql/datasets/orders) * [Sales trends](/stockfulql/datasets/sales_history) * [Promotions](/stockfulql/datasets/promo) # Sales Source: https://docs.stockful.app/stockfulql/datasets/sales Fulfilled order lines by the day they were fulfilled: units, revenue and margin over a date range. Fulfilled order lines by the day they were fulfilled: units, revenue and margin over a date range. ## Example ```sql theme={null} FROM sales SHOW units_sold, line_count GROUP BY product ORDER BY units_sold DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `units_sold` | Number | Units sold in the selected period. | | `line_count` | Number | Number of fulfilled order lines in the period. | | `total_revenue` | Currency | Gross revenue from sales in the period. | | `unit_cost` | Currency | Cost per unit; 0 when no cost is set. | | `total_cogs` | Currency | Cost of goods sold (units sold × unit cost) in the period. | | `gross_profit` | Currency | Revenue minus cost of goods sold in the period. | | `landed_cogs` | Currency | Cost of goods sold at true landed cost, including allocated freight and duties. | | `landed_gross_profit` | Currency | Revenue minus landed cost of goods sold - margin after freight and duties. | | `period_days` | Number | How many days the report's date range covers. | | `landed_margin_pct` | Percent | Landed gross profit as a percentage of revenue. | | `profit_margin` | Percent | Gross profit as a percentage of revenue. | ## Dimensions | Dimension | Description | | - | - | | `product` | Product with image, rendered as a single cell (variants roll up). | | `sku` | Variant SKU - splits a product-grain report into variant rows. | | `variant` | Variant title (e.g. "Small / Blue"), shown as a dash for products without options. Group by product too - on its own, variants sharing a title across different products fall into one row. | | `barcode` | Variant barcode (GTIN/UPC/EAN/ISBN), grouping under a blank value when none. | | `category` | Shopify product category (full taxonomy path). | | `collection` | Shopify collection - a SKU appears under each collection it belongs to (cross-collection totals overlap), grouping under a blank value when it is in none. | | `location` | Sales location. | | `vendor` | Product vendor. | | `product_type` | Shopify product type. | | `tag` | Individual product tag - a SKU appears under each of its tags (cross-tag totals overlap). | | `location_role` | Whether the fulfilling location acts as a hub or a fulfillment location. | | `order_channel` | The channel the order came through, such as the online store, POS, or a marketplace. Orders with no recorded channel group under Unknown. | | `order_source` | Where the order was placed: web, POS, or a channel app. Coarser than order channel; use it to split online from in-person. | | `promotion` | The declared promotion covering the sale date, from the promotion calendar. Days outside every declared window group under None. | ## Filters | Filter | Type | Description | | - | - | - | | `collection` | Number | Restrict to products in the selected collection(s). | | `category` | Text | Restrict to products in the selected category (matches sub-categories too). | | `sales_channel` | Number | Restrict to products published to the selected sales channel. | | `region_catalog` | Number | Restrict to products in the selected region (market) catalog. | | `b2b_catalog` | Number | Restrict to products in the selected B2B (market) catalog. | | `company_location_catalog` | Number | Restrict to products in the selected company-location catalog. | | `order_channel` | Text | The channel the order came through. Distinct from sales channel, which filters on where a product is listed rather than where an order came from. | | `order_source` | Text | Where the order was placed: web, POS, or a channel app. | | `vendor` | Text | Product vendor. | | `product_type` | Text | Shopify product type. | | `product_title` | Text | Product title. | | `sku` | Text | Variant SKU. | | `barcode` | Text | Variant barcode. | | `location_name` | Text | Sales location name. | | `promotion` | Text | Name of the declared promotion covering the sale date. Null outside every declared window. | > [!NOTE] > > Order channel is recorded from the point it was added, so orders older than that, and orders whose channel has not yet been filled in by the nightly sync, group under **Unknown** rather than being counted as direct sales. ## Related datasets * [Orders](/stockfulql/datasets/orders) * [Sales trends](/stockfulql/datasets/sales_history) * [Returns](/stockfulql/datasets/returns) * [Promotions](/stockfulql/datasets/promo) # Sales trends Source: https://docs.stockful.app/stockfulql/datasets/sales_history Long-horizon daily sales - units, revenue and discounts per variant over up to two years, for trends and year-over-year. Long-horizon daily sales - units, revenue and discounts per variant over up to two years, for trends and year-over-year. ## Example ```sql theme={null} FROM sales_history SHOW units_sold, total_revenue GROUP BY product ORDER BY units_sold DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `units_sold` | Number | Units sold in the selected period. | | `total_revenue` | Currency | Gross revenue from sales in the period. | | `discount_amount` | Currency | Money discounted in the period, including markdowns (where Shopify reporting data is available). | | `avg_selling_price` | Currency | Average revenue per unit sold in the period. | ## Dimensions | Dimension | Description | | - | - | | `product` | Product with image, rendered as a single cell (variants roll up). | | `sku` | Variant SKU - splits a product-grain report into variant rows. | | `variant` | Variant title (e.g. "Small / Blue"), shown as a dash for products without options. Group by product too - on its own, variants sharing a title across different products fall into one row. | | `barcode` | Variant barcode (GTIN/UPC/EAN/ISBN), grouping under a blank value when none. | | `category` | Shopify product category (full taxonomy path). | | `collection` | Shopify collection - a SKU appears under each collection it belongs to (cross-collection totals overlap), grouping under a blank value when it is in none. | | `vendor` | Product vendor. | | `product_type` | Shopify product type. | | `tag` | Individual product tag - a SKU appears under each of its tags (cross-tag totals overlap). | ## Filters | Filter | Type | Description | | - | - | - | | `collection` | Number | Restrict to products in the selected collection(s). | | `category` | Text | Restrict to products in the selected category (matches sub-categories too). | | `sales_channel` | Number | Restrict to products published to the selected sales channel. | | `region_catalog` | Number | Restrict to products in the selected region (market) catalog. | | `b2b_catalog` | Number | Restrict to products in the selected B2B (market) catalog. | | `company_location_catalog` | Number | Restrict to products in the selected company-location catalog. | | `vendor` | Text | Product vendor. | | `product_type` | Text | Shopify product type. | | `product_title` | Text | Product title. | | `sku` | Text | Variant SKU. | | `barcode` | Text | Variant barcode. | ## Related datasets * [Sales](/stockfulql/datasets/sales) * [Orders](/stockfulql/datasets/orders) * [Returns](/stockfulql/datasets/returns) * [Promotions](/stockfulql/datasets/promo) # Storefront search Source: https://docs.stockful.app/stockfulql/datasets/search Storefront search terms: volume, click-through, and the searches shoppers gave up on. Storefront search terms: volume, click-through, and the searches shoppers gave up on. ## Example ```sql theme={null} FROM search SHOW searches, clicked_searches GROUP BY query ORDER BY searches DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `searches` | Number | Storefront searches over the period. | | `clicked_searches` | Number | Searches where the shopper clicked a result. | | `click_through_rate` | Percent | Searches with a clicked result as a percentage of all searches. | ## Dimensions | Dimension | Description | | - | - | | `query` | The storefront search term, exactly as typed. | ## Filters | Filter | Type | Description | | - | - | - | | `query` | Text | The storefront search term. | ## Related datasets * [Storefront traffic](/stockfulql/datasets/traffic) # Supplier performance Source: https://docs.stockful.app/stockfulql/datasets/supplier_performance Purchase-order delivery reliability by supplier: on-time rate, deliveries and average days late, judged on the first receipt against the expected date. Purchase-order delivery reliability by supplier: on-time rate, deliveries and average days late, judged on the first receipt against the expected date. ## Example ```sql theme={null} FROM supplier_performance SHOW on_time_rate, deliveries GROUP BY supplier ORDER BY on_time_rate DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `on_time_rate` | Percent | Percentage of deliveries whose first receipt landed on or before the expected date. | | `deliveries` | Number | Received purchase orders that carried an expected date, in the period. | | `on_time_deliveries` | Number | Deliveries whose first receipt was on or before the expected date. | | `late_deliveries` | Number | Deliveries whose first receipt was after the expected date. | | `avg_days_late` | Number | Average days between the expected date and the first receipt (negative = early). | ## Dimensions | Dimension | Description | | - | - | | `supplier` | The purchase order's supplier. | | `destination` | The location the purchase order was received into. | ## Filters | Filter | Type | Description | | - | - | - | | `supplier` | Text | The purchase order's supplier. | | `destination` | Text | The location the purchase order was received into. | ## Related datasets * [Purchasing](/stockfulql/datasets/purchasing) * [Cost history](/stockfulql/datasets/cost_history) * [Purchase costs](/stockfulql/datasets/purchase_costs) * [Goods receipts](/stockfulql/datasets/receipts) # Storefront traffic Source: https://docs.stockful.app/stockfulql/datasets/traffic Storefront sessions per product with units and conversion, for spotting demand your sales numbers haven't caught yet. Storefront sessions per product with units and conversion, for spotting demand your sales numbers haven't caught yet. ## Example ```sql theme={null} FROM traffic SHOW sessions, net_units GROUP BY product ORDER BY sessions DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `sessions` | Number | Storefront sessions that landed on the product's page over the period. | | `net_units` | Number | Units sold over the period (Shopify net units). | | `conversion` | Percent | Units sold per hundred product-page sessions over the period. | | `net_sales` | Currency | Revenue over the period. | ## Dimensions | Dimension | Description | | - | - | | `product` | Product with image, rendered as a single cell. | | `vendor` | Product vendor. | | `product_type` | Shopify product type. | | `category` | Shopify product category (full taxonomy path). | | `collection` | Shopify collection - a SKU appears under each collection it belongs to (cross-collection totals overlap), grouping under a blank value when it is in none. | | `tag` | Individual product tag - a product appears under each of its tags (cross-tag totals overlap). | ## Filters | Filter | Type | Description | | - | - | - | | `vendor` | Text | Product vendor. | | `product_type` | Text | Shopify product type. | ## Related datasets * [Storefront search](/stockfulql/datasets/search) # Transfer history Source: https://docs.stockful.app/stockfulql/datasets/transfer_history One row per location pair per night it was on the transfer list - what was suggested, and when. One row per location pair per night it was on the transfer list - what was suggested, and when. ## Example ```sql theme={null} FROM transfer_history SHOW units_to_transfer, transfer_value GROUP BY product ORDER BY units_to_transfer DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `units_to_transfer` | Number | Suggested transfer quantity on the most recent day in the range. | | `transfer_value` | Currency | Cost value of the suggested transfers on the most recent day. | | `skus_to_transfer` | Number | Distinct variants suggested for transfer on the most recent day. | | `source_units_on_hand` | Number | Stock at the source location on the most recent day. | | `destination_units_on_hand` | Number | Stock at the destination location on the most recent day. | | `as_of_date` | Date | The most recent day in the range that has logged suggestions. | | `pair_days_suggested` | Number | Days spent on the transfer list, summed across location pairs - a pair suggested for 3 days counts 3. | | `pairs_suggested` | Number | Distinct location pairs suggested at any point in the range. | | `times_suggested` | Number | Separate spells on the transfer list - consecutive days count once. | | `pair_days_dismissed` | Number | Of the days suggested, how many the suggestion was dismissed on. | | `avg_daily_units_to_transfer` | Number | Suggested transfer quantity averaged over the days in the range. Safe to chart. | | `first_suggested_date` | Date | Earliest day in the range the pair appeared on the transfer list. | | `last_suggested_date` | Date | Most recent day in the range the pair appeared on the transfer list. | ## Dimensions | Dimension | Description | | - | - | | `product` | Product with image, rendered as a single cell (variants roll up). | | `sku` | Variant SKU - splits a product-grain report into variant rows. | | `variant` | Variant title (e.g. "Small / Blue"), shown as a dash for products without options. Group by product too - on its own, variants sharing a title across different products fall into one row. | | `barcode` | Variant barcode (GTIN/UPC/EAN/ISBN), grouping under a blank value when none. | | `category` | Shopify product category (full taxonomy path). | | `collection` | Shopify collection - a SKU appears under each collection it belongs to (cross-collection totals overlap), grouping under a blank value when it is in none. | | `source_location` | The location stock would move out of. | | `destination_location` | The location stock would move into. | | `vendor` | Product vendor, grouping under a blank value when unset. | | `product_type` | Product type, grouping under a blank value when unset. | | `snapshot_date` | The day the suggestion was live. | ## Filters | Filter | Type | Description | | - | - | - | | `collection` | Number | Restrict to products in the selected collection(s). | | `category` | Text | Restrict to products in the selected category (matches sub-categories too). | | `sales_channel` | Number | Restrict to products published to the selected sales channel. | | `region_catalog` | Number | Restrict to products in the selected region (market) catalog. | | `b2b_catalog` | Number | Restrict to products in the selected B2B (market) catalog. | | `company_location_catalog` | Number | Restrict to products in the selected company-location catalog. | | `product_title` | Text | Product title. | | `sku` | Text | Variant SKU. | | `barcode` | Text | Variant barcode. | | `vendor` | Text | Product vendor. | | `product_type` | Text | Product type. | | `source_location_name` | Text | Source location name. | | `destination_location_name` | Text | Destination location name. | | `dismissed` | Text | Whether the suggestion was dismissed on that day. | | `source_is_hub` | Text | Whether the source location is a hub. | | `suggested_transfer_quantity` | Number | Suggested transfer quantity on that day. | ## Related datasets * [Reorder history](/stockfulql/datasets/reorder_history) * [Transfer suggestions](/stockfulql/datasets/transfer_suggestions) * [Reorder (all locations)](/stockfulql/datasets/reorder_consolidated) # Transfer suggestions Source: https://docs.stockful.app/stockfulql/datasets/transfer_suggestions The live rebalance list: stock worth moving between locations right now, and how much. The live rebalance list: stock worth moving between locations right now, and how much. ## Example ```sql theme={null} FROM transfer_suggestions SHOW units_to_transfer, transfer_value GROUP BY product ORDER BY units_to_transfer DESC ``` ## Metrics | Metric | Type | Description | | - | - | - | | `units_to_transfer` | Number | Units worth moving from the source to the destination right now. | | `transfer_value` | Currency | Cost value of the units worth moving. | | `pairs_suggested` | Number | How many source-to-destination moves are suggested. | | `source_units_on_hand` | Number | Units currently held at the source location. | | `destination_units_on_hand` | Number | Units currently held at the destination location. | | `source_days_of_supply` | Number | How long the source's stock lasts at its current sales rate. | | `destination_days_of_supply` | Number | How long the destination's stock lasts at its current sales rate. | | `unit_cost` | Currency | Cost price of the variant being moved. | ## Dimensions | Dimension | Description | | - | - | | `product` | Product with image, rendered as a single cell (variants roll up). | | `sku` | Variant SKU - splits a product-grain report into variant rows. | | `variant` | Variant title (e.g. "Small / Blue"), shown as a dash for products without options. Group by product too - on its own, variants sharing a title across different products fall into one row. | | `barcode` | Variant barcode (GTIN/UPC/EAN/ISBN), grouping under a blank value when none. | | `category` | Shopify product category (full taxonomy path). | | `collection` | Shopify collection - a SKU appears under each collection it belongs to (cross-collection totals overlap), grouping under a blank value when it is in none. | | `source_location` | The location stock would move out of. | | `destination_location` | The location stock would move into. | | `vendor` | Product vendor. | | `product_type` | Shopify product type. | ## Filters | Filter | Type | Description | | - | - | - | | `product_title` | Text | Product title. | | `sku` | Text | Variant SKU. | | `barcode` | Text | Variant barcode. | | `vendor` | Text | Product vendor. | | `product_type` | Text | Shopify product type. | | `source_location_name` | Text | Source location name. | | `destination_location_name` | Text | Destination location name. | | `source_is_hub` | Text | Whether the stock is moving out of a hub location. | | `suggested_transfer_quantity` | Number | Units worth moving. | | `dismissed` | Text | Whether the pair was dismissed, or already has an open transfer. | ## Related datasets * [Reorder history](/stockfulql/datasets/reorder_history) * [Transfer history](/stockfulql/datasets/transfer_history) * [Reorder (all locations)](/stockfulql/datasets/reorder_consolidated) # Examples Source: https://docs.stockful.app/stockfulql/examples End-to-end StockfulQL queries for common questions A set of complete queries you can paste into the report editor and adjust. Each one names a dataset, shows a metric or two, and adds the clauses needed to answer a real question. See [Datasets](/stockfulql/datasets/overview) for the metrics, dimensions and filters each one exposes. ## Top sellers last month Your best products by revenue, with the units behind them. ```sql theme={null} FROM sales SHOW total_revenue, units_sold GROUP BY product DURING last_month ORDER BY total_revenue DESC LIMIT 20 ``` ## Revenue by vendor, month over month Revenue per vendor last month, each with its change against the month before. ```sql theme={null} FROM sales SHOW total_revenue GROUP BY vendor DURING last_month COMPARE TO previous_period ORDER BY total_revenue DESC ``` ## What needs reordering The SKUs running low, soonest to run out first. ```sql theme={null} FROM inventory SHOW days_of_supply, current_quantity, units_to_order GROUP BY sku WHERE needs_reorder ORDER BY days_of_supply ASC ``` ## Dead stock, ranked by cash tied up Products with no recent sales, most valuable first, so you clear the biggest wins. ```sql theme={null} FROM inventory SHOW inventory_value GROUP BY product WHERE dead_stock ORDER BY inventory_value DESC ``` ## Return rate by reason Why customers send things back, and how much. ```sql theme={null} FROM returns SHOW units_returned GROUP BY reason ORDER BY units_returned DESC VISUALIZE units_returned TYPE donut ``` ## Least reliable suppliers On-time delivery rate per supplier, worst first, with how late they run on average. ```sql theme={null} FROM supplier_performance SHOW on_time_rate, deliveries, avg_days_late GROUP BY supplier ORDER BY on_time_rate ASC ``` ## Inventory value by vendor Where your stock value sits, as a donut. ```sql theme={null} FROM inventory SHOW inventory_value GROUP BY vendor ORDER BY inventory_value DESC VISUALIZE inventory_value TYPE donut ``` ## Sales trend over the last year Revenue by month, to see the shape of the year. ```sql theme={null} FROM sales_history SHOW total_revenue TIMESERIES month SINCE -12m UNTIL today ``` ## Units sold next to stock on hand, by vendor Combine two datasets with `+` to pull metrics from both. Here last month's units sold sit beside the units you hold now, per vendor, so fast sellers running low and stock that is not moving both stand out in one report. ```sql theme={null} FROM sales + inventory SHOW units_sold, total_quantity GROUP BY vendor DURING last_month ORDER BY units_sold DESC ``` A vendor with sales but no stock left has sold out; one with stock but no sales is sitting dead. See [FROM and SHOW](/stockfulql/syntax/from-and-show) for how combining works. # StockfulQL Source: https://docs.stockful.app/stockfulql/overview The query language behind every Stockful report, chart and scheduled export StockfulQL is a query language for your store's inventory. You write a query to ask a question, like "what is my stock worth" or "which products sell fastest," and get back a table you can optionally turn into a chart. It reads like SQL and runs against your live inventory, sales, purchasing and returns data. You rarely write it by hand (the report editor builds it for you), but it is always there to read, edit and share. ## Getting started Start with a question about your store and write it as a query. Each example below adds one clause to the one before it, building from a simple total to a full chart. > [accordion] What is my stock worth? > > `FROM` picks the **inventory** dataset and `SHOW` picks the **inventory\_value** metric. With no grouping, the result is a single total. > > ```sql theme={null} > FROM inventory > SHOW inventory_value > ``` > [accordion] Which vendors hold the most value? > > Add `GROUP BY vendor` to break the total down into one row per vendor. > > ```sql theme={null} > FROM inventory > SHOW inventory_value > GROUP BY vendor > ``` > [accordion] What sold best last month? > > Switch to the **sales** dataset, show revenue and units, group by product, and set the window with `DURING`. `ORDER BY` and `LIMIT` keep the top rows. > > ```sql theme={null} > FROM sales > SHOW total_revenue, units_sold > GROUP BY product > DURING last_month > ORDER BY total_revenue DESC > LIMIT 10 > ``` > [accordion] How does that compare to the month before? > > `COMPARE TO previous_period` runs the query again over the prior window and adds the change to each row. > > ```sql theme={null} > FROM sales > SHOW total_revenue > GROUP BY product > DURING last_month > COMPARE TO previous_period > ORDER BY total_revenue DESC > LIMIT 10 > ``` > [accordion] Show it as a chart > > `VISUALIZE` turns the table into a chart. Here the top sellers become a bar chart, each bar carrying its change against the month before. > > ```sql theme={null} > FROM sales > SHOW total_revenue > GROUP BY product > DURING last_month > COMPARE TO previous_period > ORDER BY total_revenue DESC > LIMIT 10 > VISUALIZE total_revenue TYPE bar > ``` See [Syntax](/stockfulql/syntax/overview) for every clause, and [Examples](/stockfulql/examples) for more complete queries. ## Running StockfulQL You write a query once and meet the same query in a few places. The query is identical everywhere; only what surrounds it changes. | If you want to | Use | | - | - | | Build or tweak a report with a live query | The **query editor** on any report page, with autocomplete, highlighting and inline validation | | Share an exact report by link | The report's **`?ql=` URL**, which carries the whole query | | Reuse a report, or put it on a schedule | A **saved report** built from a query | | Get a report without writing the query | Ask the **AI assistant** in plain language and it writes the StockfulQL for you, then opens or runs it | ## Parts of a query * **[Syntax](/stockfulql/syntax/overview)** is the clause set: `FROM` and `SHOW`, `WHERE`, `GROUP BY`, date ranges, comparison, `TIMESERIES`, sorting, limits and charts. * **[Datasets](/stockfulql/datasets/overview)** are the data you can query, grouped by area. Each dataset's page lists the metrics, dimensions and filters it exposes. A query always names one dataset and shows at least one metric. Everything else is optional. # ANNOTATE Source: https://docs.stockful.app/stockfulql/syntax/annotate Overlay domain events on a timeseries chart `ANNOTATE` overlays domain events onto a timeseries chart, so a trend line carries the context of what happened when. Use `all` for every event type, or list the types you want. ```sql theme={null} FROM sales SHOW total_revenue TIMESERIES day DURING last_month VISUALIZE total_revenue TYPE line ANNOTATE all ``` ## Event types | Type | Marks | | - | - | | `anomaly` | Unusual spikes or dips detected in the trend | | `price_change` | Points where a price changed | | `restock` | Points where stock was replenished | | `stockout` | Points where an item went out of stock | List the types you care about, separated by commas, to keep the chart uncluttered. ```sql theme={null} FROM sales SHOW total_revenue TIMESERIES day DURING last_month VISUALIZE total_revenue TYPE line ANNOTATE restock, stockout ``` Annotations only appear on a chart driven by a [TIMESERIES](/stockfulql/syntax/timeseries), so add both a `TIMESERIES` and a [VISUALIZE](/stockfulql/syntax/visualize) line for them to show. # COMPARE TO Source: https://docs.stockful.app/stockfulql/syntax/compare-to Compare the date range against a prior period for deltas `COMPARE TO` runs your report a second time over an earlier period and shows the difference. It gives you period-over-period deltas without having to build two reports. ```sql theme={null} FROM sales SHOW total_revenue, units_sold DURING this_month COMPARE TO previous_period ``` ## Comparison periods | Period | What it compares against | | - | - | | `previous_period` | The period of the same length immediately before your range | | `previous_year` | The same dates one year earlier | | `previous_year_dow` | The same dates one year earlier, aligned by day of week | `previous_year_dow` shifts the prior year so weekdays line up, which keeps weekend-heavy trade comparable. Pair `COMPARE TO` with a date range set by [DURING or SINCE and UNTIL](/stockfulql/syntax/since-until-during). To turn the comparison into percent-change columns, add [WITH PERCENT\_CHANGE](/stockfulql/syntax/with). # FROM and SHOW Source: https://docs.stockful.app/stockfulql/syntax/from-and-show Pick the dataset and list the metrics your report displays Every query begins with `FROM` and `SHOW`. `FROM` names the dataset the report reads from, such as `sales`, `inventory`, or `returns`. `SHOW` lists the metrics you want to see, separated by commas. ```sql theme={null} FROM sales SHOW total_revenue, units_sold ``` ## Combining datasets You can combine two datasets with `+` when you want metrics from both in one report, for example sales alongside current stock. The first dataset sets the grain and the second is joined onto it. ```sql theme={null} FROM sales + inventory SHOW total_revenue, inventory_value ``` Rows are matched on the shared variant and location grain and outer-joined, so a row present in only one dataset is kept with the other side's metrics zero-filled. See [Units sold next to stock on hand](/stockfulql/examples#units-sold-next-to-stock-on-hand-by-vendor) for a worked example. ## Renaming a column Add `AS "Label"` after a metric to give its column a custom heading. The label is shown wherever the column appears, including exports. ```sql theme={null} FROM sales SHOW total_revenue AS "Revenue", units_sold AS "Units" ``` ## Computed columns `SHOW` also accepts computed columns built from metrics and numbers using `+`, `-`, `*`, and `/`. Multiplication and division bind tighter than addition and subtraction, and parentheses group. Division guards against divide-by-zero. Computed columns follow the plain metrics and usually carry an `AS` label. ```sql theme={null} FROM sales SHOW total_revenue, units_sold, total_revenue / units_sold AS "Avg unit price" ``` Which metrics are available depends on the dataset you chose. See [WHERE](/stockfulql/syntax/where) to narrow the rows and [GROUP BY](/stockfulql/syntax/group-by) to break the results down by dimension. # GROUP BY Source: https://docs.stockful.app/stockfulql/syntax/group-by Break the results down by one or more dimensions `GROUP BY` collapses your rows into groups and aggregates each metric within them. List one or more dimensions, separated by commas, and every metric in `SHOW` is totalled per group. ```sql theme={null} FROM sales SHOW total_revenue, units_sold GROUP BY vendor ``` Grouping by two dimensions gives you a breakdown within a breakdown, such as product type within vendor. ```sql theme={null} FROM sales SHOW total_revenue GROUP BY vendor, product_type ``` ## Top N per dimension Prefix a dimension with `ONLY TOP ` to keep just its highest-ranking values. This is handy on a two-dimension breakdown where you want, say, the top five vendors but every product type within them. ```sql theme={null} FROM sales SHOW total_revenue GROUP BY ONLY TOP 5 vendor, product_type ``` Which dimensions are available depends on the dataset. To filter groups by their totals after aggregating, use [HAVING](/stockfulql/syntax/having). To sort the grouped results, use [ORDER BY](/stockfulql/syntax/order-by). # HAVING Source: https://docs.stockful.app/stockfulql/syntax/having Filter groups by their aggregated metrics, after grouping `HAVING` filters the grouped results by their totals. Where [WHERE](/stockfulql/syntax/where) runs before grouping and looks at individual rows, `HAVING` runs after grouping and looks at each group's aggregated metrics. ```sql theme={null} FROM sales SHOW total_revenue, units_sold GROUP BY vendor HAVING total_revenue > 1000 ``` This keeps only the vendors whose total revenue tops 1,000. `HAVING` uses the same operators and `AND` / `OR` logic as `WHERE`, so you can combine conditions. ```sql theme={null} FROM sales SHOW total_revenue, units_sold GROUP BY vendor HAVING total_revenue > 1000 AND units_sold > 50 ``` Because it acts on group totals, `HAVING` needs a [GROUP BY](/stockfulql/syntax/group-by). To cap how many groups you keep once they are filtered and sorted, add [ORDER BY](/stockfulql/syntax/order-by) and [LIMIT](/stockfulql/syntax/limit). # LIMIT Source: https://docs.stockful.app/stockfulql/syntax/limit Cap the number of rows the report returns `LIMIT` caps how many rows the report returns. It is most useful with [ORDER BY](/stockfulql/syntax/order-by), which decides which rows survive the cap. ```sql theme={null} FROM sales SHOW total_revenue GROUP BY vendor ORDER BY total_revenue DESC LIMIT 10 ``` This keeps the ten vendors with the highest revenue. Without an `ORDER BY`, the rows kept are not meaningfully ranked. `LIMIT` caps the rows in the results table. To cap how many categories a chart plots instead, use the `ITEMS` option on [VISUALIZE](/stockfulql/syntax/visualize). # ORDER BY Source: https://docs.stockful.app/stockfulql/syntax/order-by Sort the results by one or more columns `ORDER BY` sorts the results. Name a column and a direction: `DESC` for largest first, or `ASC` for smallest first. ```sql theme={null} FROM sales SHOW total_revenue, units_sold GROUP BY vendor ORDER BY total_revenue DESC ``` You can sort by more than one column. Later keys break ties in the earlier ones. ```sql theme={null} FROM sales SHOW total_revenue, units_sold GROUP BY vendor ORDER BY total_revenue DESC, units_sold ASC ``` Sorting is what makes [LIMIT](/stockfulql/syntax/limit) meaningful, since it decides which rows the cap keeps. It also sets the order that [WITH CUMULATIVE\_VALUES](/stockfulql/syntax/with) accumulates over. # Overview Source: https://docs.stockful.app/stockfulql/syntax/overview The full set of StockfulQL clauses and the order they appear in a query A StockfulQL query is built from **clauses**. Every query needs two: `FROM`, which chooses the dataset, and `SHOW`, which lists the metrics to return. Every other clause is optional and shapes the result. ## Anatomy of a query The smallest useful query is a dataset and a metric: ```sql theme={null} FROM inventory SHOW inventory_value ``` From there you add clauses to filter, group, set a date range, sort and chart. They always appear in a fixed order, and the report editor writes them in that order for you, so you rarely type a whole query by hand: ```sql theme={null} FROM sales SHOW total_revenue AS "Revenue", units_sold WHERE vendor = 'Nike' GROUP BY ONLY TOP 5 product_type DURING last_month COMPARE TO previous_period HAVING total_revenue > 500 ORDER BY total_revenue DESC LIMIT 10 WITH TOTALS VISUALIZE total_revenue TYPE bar ``` ## Clauses | Clause | Required | What it does | | - | - | - | | [FROM](/stockfulql/syntax/from-and-show) | Yes | Chooses the dataset (or combines two with `+`) | | [SHOW](/stockfulql/syntax/from-and-show) | Yes | Lists the metrics and computed columns to display | | [WHERE](/stockfulql/syntax/where) | Optional | Filters rows before they are grouped | | [GROUP BY](/stockfulql/syntax/group-by) | Optional | Groups rows by one or more dimensions | | [TIMESERIES](/stockfulql/syntax/timeseries) | Optional | Buckets the results into day, week or month over time | | [DURING / SINCE / UNTIL](/stockfulql/syntax/since-until-during) | Optional | Sets the date range (defaults to all your history) | | [COMPARE TO](/stockfulql/syntax/compare-to) | Optional | Compares the range against a prior period | | [HAVING](/stockfulql/syntax/having) | Optional | Filters groups by their aggregated metrics | | [ORDER BY](/stockfulql/syntax/order-by) | Optional | Sorts the results | | [LIMIT](/stockfulql/syntax/limit) | Optional | Caps the number of rows returned | | [WITH](/stockfulql/syntax/with) | Optional | Adds result modifiers like totals or percent change | | [VISUALIZE](/stockfulql/syntax/visualize) | Optional | Chooses the chart type and the metric it plots | | [ANNOTATE](/stockfulql/syntax/annotate) | Optional | Overlays domain events on a timeseries chart | With no `VISUALIZE` line the query renders as a table, which is the default. Leaving out the date clause reads all of your history. # SINCE, UNTIL and DURING Source: https://docs.stockful.app/stockfulql/syntax/since-until-during Set the date range your report covers Every report runs over a date range. StockfulQL sets that range in one of two ways: a named range with `DURING`, or an explicit start and end with `SINCE` and `UNTIL`. Leave the date clause out entirely to read all of your history. ## DURING `DURING` picks a named calendar range. It is the quickest way to cover a whole period. ```sql theme={null} FROM sales SHOW total_revenue DURING last_month ``` Named ranges include `today`, `yesterday`, `this_week`, `last_week`, `this_month`, `last_month`, `this_quarter`, `last_quarter`, `this_year`, and `last_year`. ## SINCE and UNTIL `SINCE` sets the start of the range and `UNTIL` sets the end. Both take an operand that resolves to a date. ```sql theme={null} FROM sales SHOW total_revenue SINCE -30d UNTIL today ``` Operands can be: | Operand | Meaning | | - | - | | `2026-01-01` | An exact ISO date | | `today` / `yesterday` | The current day, or the day before | | `-30d`, `-12m` | A relative offset back from today (`d`, `w`, `m`, `q`, `y`) | | `startOfDay(-90d)` | The start of a period N units ago | | `endOfMonth(-1m)` | The end of a period N units ago | The period functions come in `startOf...` and `endOf...` forms over `Day`, `Week`, `Month`, `Quarter`, and `Year`. For example, `SINCE startOfDay(-90d) UNTIL today` covers the last ninety days. ```sql theme={null} FROM inventory SHOW inventory_value SINCE startOfMonth(-1m) UNTIL endOfMonth(-1m) ``` To compare the range against an earlier one, add [COMPARE TO](/stockfulql/syntax/compare-to). To break the range into buckets over time, add [TIMESERIES](/stockfulql/syntax/timeseries). # TIMESERIES Source: https://docs.stockful.app/stockfulql/syntax/timeseries Bucket the results into time periods over the date range `TIMESERIES` breaks your results into time buckets across the date range, so you can see how a metric moves over time. Choose one grain: `day`, `week`, or `month`. ```sql theme={null} FROM sales SHOW total_revenue TIMESERIES week DURING last_quarter ``` Each bucket in the range gets a row, including quiet periods with no activity, so a line or bar chart reads as a continuous trend. Pair it with a date clause to set the window, such as [DURING](/stockfulql/syntax/since-until-during) above. A timeseries is a single trend across your whole shop, so it cannot be combined with [GROUP BY](/stockfulql/syntax/group-by). To plot the trend as a chart, add [VISUALIZE](/stockfulql/syntax/visualize) with a `line` or `bar` type, and to overlay events like restocks or stockouts use [ANNOTATE](/stockfulql/syntax/annotate). # VISUALIZE Source: https://docs.stockful.app/stockfulql/syntax/visualize Choose the chart type and the metric it plots `VISUALIZE` turns the results into a chart. Name the metric to plot, then `TYPE` and a chart type. Without a `VISUALIZE` line the report renders as a table, which is the default. ```sql theme={null} FROM sales SHOW total_revenue GROUP BY vendor ORDER BY total_revenue DESC VISUALIZE total_revenue TYPE bar ``` ## Chart types | Type | Renders | | - | - | | `table` | The results as a table (the default) | | `bar` | The metric as vertical bars | | `line` | The metrics as a line chart | | `grouped_bar` | Grouped by the 1st dimension, one bar per 2nd-dimension value | | `stacked_bar` | Grouped by the 1st dimension, stacking the 2nd dimension | | `stacked_area` | The metrics as stacked areas | | `horizontal_bar` | The metric as horizontal bars | | `horizontal_grouped_bar` | Horizontal bars grouped by the 1st dimension | | `stacked_horizontal_bar` | Horizontal bars grouped and stacked by dimension | | `single_stacked_bar` | Each category as a segment of one stacked bar | | `donut` | Each category as a slice of a donut | | `single_metric` | The metric as a single headline number | ## Options After the type you can add: * `ITEMS ` caps the chart to its top N categories. * `REMAINING hide | group | list` sets how the categories beyond the cap are handled. `group` folds them into one "Other" entry, `hide` drops them from the chart, and `list` leaves them in the results table. * `RANKING overall` ranks a two-dimension chart by the global top series rather than each group's own top. ```sql theme={null} FROM sales SHOW total_revenue GROUP BY vendor ORDER BY total_revenue DESC VISUALIZE total_revenue TYPE bar ITEMS 10 REMAINING group ``` For a chart that plots a trend over time, pair `VISUALIZE` with a [TIMESERIES](/stockfulql/syntax/timeseries), and overlay events with [ANNOTATE](/stockfulql/syntax/annotate). # WHERE Source: https://docs.stockful.app/stockfulql/syntax/where Filter rows before they are grouped or aggregated `WHERE` keeps only the rows that match your conditions, before any grouping or totalling happens. A condition compares a field to a value, and you can chain conditions with `AND` and `OR`. ```sql theme={null} FROM sales SHOW total_revenue, units_sold WHERE vendor = 'Nike' AND units_sold > 0 ``` ## Operators | Operator | Meaning | | - | - | | `=` | Equal to | | `!=` | Not equal to | | `<` `>` `<=` `>=` | Less than, greater than, and the "or equal to" forms | | `IN (...)` | Matches any value in a list | | `NOT IN (...)` | Matches none of the values in a list | | `IS NULL` / `IS NOT NULL` | Tests for a missing value | | `LIKE` | Matches text against a pattern, where `%` is a wildcard | | `CONTAINS` | Matches text that contains a substring | Text values go in single quotes. A list uses parentheses, for example `reason IN ('too small', 'damaged')`. You can also compare one field to another, such as `available < reorder_point`. ```sql theme={null} FROM returns SHOW units_returned, return_rate WHERE reason IN ('too small', 'damaged') OR reason IS NULL ``` ## Named filters Some datasets offer named filters that stand in for a common condition. On the `inventory` dataset, for example, `low_stock` selects items running low on cover, and `needs_reorder` selects items the reorder engine recommends buying now. Write the name on its own, and combine it with other conditions using `AND`. ```sql theme={null} FROM inventory SHOW current_quantity, days_of_supply WHERE low_stock AND vendor = 'Nike' ``` `AND` binds tighter than `OR`. Use parentheses to group conditions when you mix the two. To filter on totals after grouping instead, use [HAVING](/stockfulql/syntax/having). # WITH Source: https://docs.stockful.app/stockfulql/syntax/with Add result modifiers like totals, subtotals, percent change, and running totals `WITH` adds extra rows or columns to the results without changing what the report measures. List one or more modifiers, separated by commas. ```sql theme={null} FROM sales SHOW total_revenue, units_sold GROUP BY vendor WITH TOTALS ``` ## Modifiers | Modifier | What it adds | | - | - | | `TOTALS` | An ungrouped total row across all results | | `GROUP_TOTALS` | A subtotal row per first group, for a nested table | | `PERCENT_CHANGE` | Percent-change columns versus the comparison period | | `CUMULATIVE_VALUES` | Running-total columns accumulated over the sort order | `PERCENT_CHANGE` needs a comparison period, so pair it with [COMPARE TO](/stockfulql/syntax/compare-to). `CUMULATIVE_VALUES` accumulates in the report's sort order, so it works best alongside [ORDER BY](/stockfulql/syntax/order-by) or a [TIMESERIES](/stockfulql/syntax/timeseries). ```sql theme={null} FROM sales SHOW total_revenue DURING this_month COMPARE TO previous_period WITH PERCENT_CHANGE ``` # Data Reference Source: https://docs.stockful.app/storefront/data-reference Reference for all 11 Stockful storefront metafields, seven at variant level and four at product level, available in Liquid, the Storefront API and JS. Stockful writes 11 metafields to Shopify - 7 at the variant level and 4 at the product level. All metafields have `public_read` storefront access and are available in Liquid, the Storefront API, and the `window.stockful` JavaScript API. ## Namespace All metafields use the namespace `app--326028230657--stockful`. ## Variant metafields These are written to each `ProductVariant` and reflect per-variant inventory data. ### stock\_status Current stock status for this variant. | Property | Value | | - | - | | **Key** | `stock_status` | | **Type** | `single_line_text_field` | | **Possible values** | `in_stock`, `low_stock`, `out_of_stock` | | **Update frequency** | Real-time (within seconds of inventory change) | > [!TIP] > > Internally, Stockful also tracks an "overstock" status for merchant analytics - but on the storefront this is normalized to `in_stock` since customers don't need to know a product is overstocked. ```liquid theme={null} {% assign status = product.selected_or_first_available_variant.metafields.app--326028230657--stockful.stock_status.value %} {% if status == "low_stock" %} Low Stock {% elsif status == "out_of_stock" %} Out of Stock {% endif %} ``` ### days\_of\_supply Estimated number of days until this variant runs out of stock, based on current sell-through velocity. | Property | Value | | - | - | | **Key** | `days_of_supply` | | **Type** | `number_integer` | | **Range** | `0` to `999+` (null if velocity is zero) | | **Update frequency** | Daily | ```liquid theme={null} {% assign days = product.selected_or_first_available_variant.metafields.app--326028230657--stockful.days_of_supply.value %} {% if days and days <= 7 %} Only {{ days }} days left! {% endif %} ``` ### velocity\_trend Sales velocity classification based on ABC analysis and sell-through rate. | Property | Value | | - | - | | **Key** | `velocity_trend` | | **Type** | `single_line_text_field` | | **Possible values** | `selling_fast`, `steady`, `slow` | | **Update frequency** | Daily | * **selling\_fast** - ABC class A (top 80% of revenue) with positive velocity * **steady** - ABC class B (next 15% of revenue) with positive velocity * **slow** - ABC class C (bottom 5%) or no measurable velocity ```liquid theme={null} {% assign trend = product.selected_or_first_available_variant.metafields.app--326028230657--stockful.velocity_trend.value %} {% if trend == "selling_fast" %} Selling Fast {% endif %} ``` ### projected\_stockout The estimated date when this variant will be out of stock, in ISO 8601 format. | Property | Value | | - | - | | **Key** | `projected_stockout` | | **Type** | `single_line_text_field` | | **Format** | ISO 8601 date (e.g. `2026-05-15`) or null | | **Update frequency** | Daily | ```liquid theme={null} {% assign stockout = product.selected_or_first_available_variant.metafields.app--326028230657--stockful.projected_stockout.value %} {% if stockout %} Expected to sell out by {{ stockout | date: "%B %d" }} {% endif %} ``` ### abc\_class Revenue-based classification of this variant using ABC analysis. | Property | Value | | - | - | | **Key** | `abc_class` | | **Type** | `single_line_text_field` | | **Possible values** | `A`, `B`, `C` | | **Update frequency** | Daily | * **A** - Top 80% of revenue (your best sellers) * **B** - Next 15% of revenue * **C** - Bottom 5% of revenue ```liquid theme={null} {% assign abc = product.selected_or_first_available_variant.metafields.app--326028230657--stockful.abc_class.value %} {% if abc == "A" %} Best Seller {% endif %} ``` ### restock\_status Whether new stock is expected for this variant. | Property | Value | | - | - | | **Key** | `restock_status` | | **Type** | `single_line_text_field` | | **Possible values** | `pending`, `needed`, `none` | | **Update frequency** | Daily | * **pending** - Incoming stock has been recorded (purchase order or transfer in transit) * **needed** - Stock is at or below reorder point and no incoming stock is recorded * **none** - No restock action required ```liquid theme={null} {% assign restock = product.selected_or_first_available_variant.metafields.app--326028230657--stockful.restock_status.value %} {% if restock == "pending" %} Restock on the way {% elsif restock == "needed" and stock_status == "out_of_stock" %} Back in stock soon {% endif %} ``` ### sold\_last\_30d Total units sold for this variant across all locations in the past 30 days. | Property | Value | | - | - | | **Key** | `sold_last_30d` | | **Type** | `number_integer` | | **Range** | `0+` | | **Update frequency** | Daily | ```liquid theme={null} {% assign sold = product.selected_or_first_available_variant.metafields.app--326028230657--stockful.sold_last_30d.value %} {% if sold and sold > 50 %} {{ sold }} sold in the last 30 days {% endif %} ``` ## Product metafields These are written to the `Product` and aggregate data across all variants. ### stock\_status (product) The worst stock status across all variants of this product. | Property | Value | | - | - | | **Key** | `stock_status` | | **Type** | `single_line_text_field` | | **Possible values** | `in_stock`, `low_stock`, `out_of_stock` | | **Update frequency** | Real-time | The "worst" status means: if any variant is `out_of_stock`, the product is `out_of_stock`. If any variant is `low_stock` (and none are out), the product is `low_stock`. ```liquid theme={null} {% assign status = product.metafields.app--326028230657--stockful.stock_status.value %} {% if status == "out_of_stock" %}
Out of Stock
{% elsif status == "low_stock" %}
Low Stock
{% endif %} ``` ### low\_stock\_variant\_count Number of variants that are `low_stock` or `out_of_stock`. | Property | Value | | - | - | | **Key** | `low_stock_variant_count` | | **Type** | `number_integer` | | **Range** | `0+` | | **Update frequency** | Real-time | ```liquid theme={null} {% assign low = product.metafields.app--326028230657--stockful.low_stock_variant_count.value %} {% if low and low > 0 %} {{ low }} {{ low | pluralize: 'variant', 'variants' }} running low {% endif %} ``` ### velocity\_trend (product) The dominant velocity trend across all variants, weighted by ABC classification (A-class variants carry more weight). | Property | Value | | - | - | | **Key** | `velocity_trend` | | **Type** | `single_line_text_field` | | **Possible values** | `selling_fast`, `steady`, `slow` | | **Update frequency** | Daily | ```liquid theme={null} {% assign trend = product.metafields.app--326028230657--stockful.velocity_trend.value %} {% if trend == "selling_fast" %} {% endif %} ``` ### total\_sold\_30d Sum of units sold across all variants in the past 30 days. | Property | Value | | - | - | | **Key** | `total_sold_30d` | | **Type** | `number_integer` | | **Range** | `0+` | | **Update frequency** | Daily | ```liquid theme={null} {% assign total = product.metafields.app--326028230657--stockful.total_sold_30d.value %} {% if total and total > 100 %} {{ total }}+ sold recently {% endif %} ``` # Developer API Source: https://docs.stockful.app/storefront/developer-api Reference for the window.stockful JavaScript API: methods for fetching live inventory data, with built-in caching, from a bundle under 2 KB. When the Stockful app embed is enabled, a lightweight JavaScript API is exposed at `window.stockful`. It provides methods to fetch live inventory data, with built-in caching. The JS bundle is under 2 KB and loads with `defer` - it won't block page rendering. ## Setup The API is automatically available when the **Stockful** app embed is enabled in the theme editor (**App embeds > Stockful**). No additional setup is required. ## Waiting for the API The API dispatches a `stockful:ready` event on `window` once initialized: ```javascript theme={null} if (window.stockful) { // Already loaded useStockful(); } else { window.addEventListener("stockful:ready", useStockful); } function useStockful() { // window.stockful is now available } ``` ## Methods ### getVariant Fetch inventory data for a single product variant. ```typescript theme={null} window.stockful.getVariant(variantId: number): Promise ``` **Parameters:** * `variantId` - Shopify numeric variant ID **Returns:** `VariantData` object or `null` if not found. ```javascript theme={null} const data = await window.stockful.getVariant(44123456789); if (data) { console.log(data.stockStatus); // "in_stock" console.log(data.daysOfSupply); // 12 } ``` ### getProduct Fetch aggregated inventory data for a product (across all variants). ```typescript theme={null} window.stockful.getProduct(productId: number): Promise ``` **Parameters:** * `productId` - Shopify numeric product ID **Returns:** `ProductData` object or `null` if not found. ```javascript theme={null} const data = await window.stockful.getProduct(8012345678); if (data) { console.log(data.totalSold30d); // 342 console.log(data.lowStockVariantCount); // 2 } ``` ### getVariants Fetch inventory data for multiple variants in a single request. ```typescript theme={null} window.stockful.getVariants(variantIds: number[]): Promise ``` **Parameters:** * `variantIds` - Array of Shopify numeric variant IDs (max 50) **Returns:** Array of `VariantData` objects. Variants not found are omitted. ```javascript theme={null} const variants = await window.stockful.getVariants([44123456789, 44123456790]); variants.forEach(v => { console.log(`Variant ${v.variantId}: ${v.stockStatus}`); }); ``` ### getLocationAvailability Fetch per-location stock for a variant. This returns live data from Shopify. ```typescript theme={null} window.stockful.getLocationAvailability(variantId: number): Promise ``` **Parameters:** * `variantId` - Shopify numeric variant ID **Returns:** Array of `LocationData` objects, filtered by the store's visibility settings. ```javascript theme={null} const locations = await window.stockful.getLocationAvailability(44123456789); locations.forEach(loc => { console.log(`${loc.name}: ${loc.available ?? loc.status}`); }); ``` ## Types ### VariantData ```typescript theme={null} interface VariantData { variantId: number; stockStatus: string; // "in_stock" | "low_stock" | "out_of_stock" daysOfSupply: number | null; velocityTrend: string; // "selling_fast" | "steady" | "slow" projectedStockout: string | null; // ISO 8601 date abcClass: string | null; // "A" | "B" | "C" restockStatus: string; // "pending" | "needed" | "none" soldLast30d: number; } ``` ### ProductData ```typescript theme={null} interface ProductData { productId: number; stockStatus: string; // "in_stock" | "low_stock" | "out_of_stock" lowStockVariantCount: number; velocityTrend: string; // "selling_fast" | "steady" | "slow" totalSold30d: number; } ``` ### LocationData ```typescript theme={null} interface LocationData { locationId: string; name: string; city: string | null; provinceCode: string | null; countryCode: string | null; available?: number; // Present when store has "show quantities" enabled status?: string; // "in_stock" | "out_of_stock" - present when quantities are hidden } ``` ## Events ### stockful:ready Dispatched on `window` when the API has initialized. ```javascript theme={null} window.addEventListener("stockful:ready", () => { console.log("Stockful API ready"); }); ``` ## Caching All methods cache responses in memory for **30 seconds**. The server also returns `Cache-Control` headers (30s for variant/product data, 60s for location data), so the browser may serve cached responses beyond the JS cache. There is no manual cache invalidation - after 30 seconds, the next call for the same data will make a fresh request. # Code Examples Source: https://docs.stockful.app/storefront/examples Copy-paste Liquid and JavaScript snippets for common storefront patterns, using the full metafield namespace for theme code outside Stockful's blocks. These examples use the full metafield namespace (`app--326028230657--stockful`) since they're intended for custom theme code outside of Stockful's own blocks. All examples assume storefront data is enabled in Stockful settings. ## Stock status badge on product cards Add a stock indicator to product cards on collection pages. ```liquid theme={null} {% comment %} Add this inside your product card snippet (e.g. card-product.liquid). Uses the product-level stock_status metafield. {% endcomment %} {% assign status = product.metafields.app--326028230657--stockful.stock_status.value %} {% if status == "low_stock" %} Low Stock {% elsif status == "out_of_stock" %} Out of Stock {% endif %} ``` ## "Selling Fast" badge Highlight products that are top sellers based on velocity trend. ```liquid theme={null} {% assign trend = product.metafields.app--326028230657--stockful.velocity_trend.value %} {% if trend == "selling_fast" %}
Selling Fast
{% endif %} ``` ## Urgency messaging on PDP Show "Only X days left" when stock is running low. ```liquid theme={null} {% assign variant = product.selected_or_first_available_variant %} {% assign days = variant.metafields.app--326028230657--stockful.days_of_supply.value %} {% assign status = variant.metafields.app--326028230657--stockful.stock_status.value %} {% if status == "low_stock" and days and days <= 14 %}

{% if days <= 3 %} Almost gone - only {{ days }} {{ days | pluralize: 'day', 'days' }} of stock left {% else %} Only {{ days }} days of stock left {% endif %}

{% endif %} ``` ## Social proof - units sold Show how many units have sold recently to create confidence. ```liquid theme={null} {% assign sold = product.metafields.app--326028230657--stockful.total_sold_30d.value %} {% if sold and sold >= 20 %}

{{ sold }}+ sold in the last 30 days

{% endif %} ``` ## Restock messaging Let customers know when out-of-stock items are being restocked. ```liquid theme={null} {% assign variant = product.selected_or_first_available_variant %} {% assign status = variant.metafields.app--326028230657--stockful.stock_status.value %} {% assign restock = variant.metafields.app--326028230657--stockful.restock_status.value %} {% if status == "out_of_stock" %} {% if restock == "pending" %}

Restock on the way - check back soon

{% elsif restock == "needed" %}

Currently out of stock

{% endif %} {% endif %} ``` ## ABC-based merchandising Highlight your A-class best sellers on collection pages. ```liquid theme={null} {% assign abc = product.selected_or_first_available_variant.metafields.app--326028230657--stockful.abc_class.value %} {% if abc == "A" %} Best Seller {% endif %} ``` ## Variant-aware badge with JavaScript Update a custom badge when the customer changes variant on a PDP. ```html theme={null}
``` ## Location availability (custom implementation) Build your own location availability UI instead of using the built-in drawer. ```html theme={null} ``` # Location Availability Source: https://docs.stockful.app/storefront/guides/location-availability Show customers which stores or warehouses hold a product in stock, useful for retail locations, click-and-collect and in-person buying decisions. Location availability lets customers check which stores or warehouses have a product in stock. This is especially useful for businesses with retail locations where customers might want to buy in-person or choose click-and-collect. ## No-code setup The simplest approach is to use the built-in **Stockful Location Availability** theme block: 1. In the theme editor, navigate to your product template 2. Click **Add block > Apps > Stockful Location Availability** 3. Configure the button text, style, and maximum locations to show This adds a button that opens a slide-out drawer with live stock data. See the [theme blocks guide](/storefront/guides/theme-blocks) for details on settings. ## Custom implementation For full control over the UI, use the `window.stockful` JavaScript API. ### Basic location list ```html theme={null} ``` ### Modal approach If you prefer a modal over an inline list, combine the location data with a Shopify `ui-modal` or your own modal component: ```html theme={null}

Store Availability

``` ## Controlling visibility **Visible locations** are controlled in the Stockful app under **Settings > Storefront** - choose which locations appear to customers (e.g. hide your main warehouse, show only retail stores). This applies to both the built-in theme block and the `window.stockful` API. **Show available quantity** is a per-block setting on the theme block. When enabled, customers see "42 available"; when disabled, they see "In stock" / "Out of stock". For custom implementations using the JS API, you control this in your own code. ## Tips * **Retail stores only** - most merchants hide warehouses and fulfillment centers, showing only locations where customers can visit * **Quantities vs. status** - showing exact quantities can be useful for high-demand items but may seem odd for regular products. Status labels ("In stock" / "Out of stock") are a safer default * **Live data** - location availability is fetched live from Shopify (not from cached metafields), so it's always up to date. The trade-off is a slightly longer load time compared to metafield-based data * **Cache duration** - location data is cached for 60 seconds (vs 30 seconds for variant/product data), so very recent inventory changes may take up to a minute to appear # Adding Stock Badges to Product Cards Source: https://docs.stockful.app/storefront/guides/stock-badges Add stock status indicators to product cards on collection pages, using the product-level metafields that aggregate stock across all variants. This guide walks through adding stock status indicators to your product cards on collection pages. This uses **product-level metafields** (aggregated across all variants) since collection pages show products, not individual variants. ## Basic stock status badge Add this to your product card snippet (typically `snippets/card-product.liquid` or similar): ```liquid theme={null} {% assign status = product.metafields.app--326028230657--stockful.stock_status.value %} {% if status == "low_stock" or status == "out_of_stock" %}
{% if status == "low_stock" %}Low Stock{% else %}Out of Stock{% endif %}
{% endif %} ``` This only shows a badge for low stock and out of stock - in-stock products don't need a badge since that's the normal state. ## Badge with social proof Combine stock status with sales data to create urgency: ```liquid theme={null} {% assign status = product.metafields.app--326028230657--stockful.stock_status.value %} {% assign trend = product.metafields.app--326028230657--stockful.velocity_trend.value %} {% assign sold = product.metafields.app--326028230657--stockful.total_sold_30d.value %} {% if trend == "selling_fast" %} {% elsif status == "low_stock" %}
Low Stock
{% elsif status == "out_of_stock" %}
Out of Stock
{% endif %} ``` ```css theme={null} .product-badge { display: inline-block; padding: 0.25em 0.6em; font-size: 0.8em; border-radius: 4px; font-weight: 500; } .product-badge--trending { background: #f3e8ff; color: #7c3aed; } .product-badge--low { background: #fff7ed; color: #ea580c; } .product-badge--oos { background: #fef2f2; color: #dc2626; } ``` ## Overlay badge on product image Position the badge as an overlay on the product card image: ```liquid theme={null}
{{ product.featured_image | image_url: width: 400 | image_tag }} {% assign status = product.metafields.app--326028230657--stockful.stock_status.value %} {% assign trend = product.metafields.app--326028230657--stockful.velocity_trend.value %} {% if trend == "selling_fast" %}
Selling Fast
{% elsif status == "low_stock" %}
Low Stock
{% elsif status == "out_of_stock" %}
Out of Stock
{% endif %}
``` ```css theme={null} .card-overlay-badge { position: absolute; top: 0.5em; left: 0.5em; padding: 0.2em 0.6em; font-size: 0.75em; font-weight: 600; border-radius: 4px; line-height: 1.4; } ``` ## Variant count warning Show how many variants are running low: ```liquid theme={null} {% assign low_count = product.metafields.app--326028230657--stockful.low_stock_variant_count.value %} {% if low_count and low_count > 0 %}

{{ low_count }} {{ low_count | pluralize: 'size', 'sizes' }} running low

{% endif %} ``` ## Tips * **Product-level for collection pages** - use `product.metafields` for aggregated data across all variants * **Variant-level for PDP** - use `product.selected_or_first_available_variant.metafields` for specific variant data * **Only show what matters** - customers don't need to see "In Stock" badges. Save badge real estate for actionable states: low stock, out of stock, and selling fast * **Combine data points** - pairing "Low Stock" with "X sold recently" creates more urgency than either alone # Theme Blocks Source: https://docs.stockful.app/storefront/guides/theme-blocks Set up Stockful's no-code location availability block on your product pages from the Shopify theme editor. Stockful includes a drop-in theme block that requires no coding. Add it to your product pages through the Shopify theme editor. ## Prerequisites **App embed active** - In the theme editor, go to **App embeds** and enable **Stockful**. This loads the CSS and JavaScript the block depends on. Without it the block cannot load anything. You do not need to enable storefront data for the location block. That setting controls whether Stockful writes metafields to your products and variants, which is what the [stock badge](/storefront/guides/stock-badges) and [urgency messaging](/storefront/guides/urgency-messaging) guides use. ## Stockful Location Availability The location block adds a button that opens a slide-out drawer showing per-location stock. ### Adding the block 1. In your Shopify admin, go to **Online Store > Themes > Customize** 2. Navigate to your **product template** 3. In the product section, click **Add block > Apps > Stockful Location Availability** 4. Position the block near the add-to-cart button or product details ### Settings | Setting | Default | Description | | - | - | - | | Button text | (uses localized default) | Custom button label. When left empty, uses the translated default (e.g. "Check store availability") | | Button style | Secondary | **Primary** (filled), **Secondary** (bordered), or **Plain** (underlined text link) | | Display mode | Drawer | **Drawer** (slides in from the right) or **Modal** (centered overlay, bottom sheet on mobile) | | Maximum locations | 10 | Limit how many locations appear (1-50) | | Show available quantity | On | When enabled, shows "X available" instead of "In stock" / "Out of stock" | ### How it works When the customer clicks the button, location data is fetched live from Shopify. Depending on the display mode, it either opens a drawer that slides in from the right, or a centered modal (which becomes a bottom sheet on mobile). Each location shows its name, city, and stock status. A location holding zero stock is listed with "Out of stock" rather than hidden, so customers can see the full picture. If the variant is not stocked at any location at all, the drawer says so instead of appearing empty. ### Accessibility Both drawer and modal modes include: * `role="dialog"` and `aria-modal="true"` on the panel * `aria-hidden` toggled on open/close * Focus trap within the dialog while open * Focus returns to the trigger button on close * Escape key to close * Backdrop click to close * Body scroll lock while open ## Adding a stock badge There is no drop-in badge block. To show stock status on a product or collection page, use the product and variant metafields Stockful writes, which give you full control over the markup and styling. The [stock badges guide](/storefront/guides/stock-badges) has copyable Liquid for product cards, and [urgency messaging](/storefront/guides/urgency-messaging) covers days-of-supply and velocity. Enable **Settings > Storefront** in the Stockful app first, or those metafields are never written. ## CSS customization The block renders in the normal DOM (no shadow DOM) and inherits your theme's fonts and colors. All visual properties can be overridden via CSS custom properties in your theme CSS: ```css theme={null} :root { /* Drawer and modal */ --stockful-drawer-bg: #fff; --stockful-drawer-color: #111; /* Location button (primary style) */ --stockful-locations-btn-bg: #000; --stockful-locations-btn-color: #fff; } ``` All CSS classes use BEM naming (`.stockful-drawer__panel`, `.stockful-locations__trigger`, etc.) with single-class selectors and no `!important` - making them easy to override in your theme. # Urgency Messaging Source: https://docs.stockful.app/storefront/guides/urgency-messaging Use real stock levels to show 'Only X left' and 'Selling fast' on product pages: authentic scarcity signals rather than fake countdown timers. Urgency messaging uses real inventory data to create authentic scarcity signals. Unlike fake countdown timers, these messages reflect your actual stock position - building trust and driving conversions. ## "Only X days left" Show a countdown based on how quickly the current variant is selling through: ```liquid theme={null} {% assign variant = product.selected_or_first_available_variant %} {% assign days = variant.metafields.app--326028230657--stockful.days_of_supply.value %} {% assign status = variant.metafields.app--326028230657--stockful.stock_status.value %} {% if status != "out_of_stock" and days and days <= 14 %}
{% if days <= 3 %} Almost gone - only {{ days }} {{ days | pluralize: 'day', 'days' }} of stock left {% elsif days <= 7 %} Selling quickly - {{ days }} days of stock remaining {% else %} Only {{ days }} days of stock left at current pace {% endif %}
{% endif %} ``` ### Choosing the right threshold | Days of supply | Suggested messaging | Urgency level | | - | - | - | | 1-3 | "Almost gone" | High | | 4-7 | "Selling quickly" | Medium | | 8-14 | "Only X days left" | Low | | 15+ | No message | None | Adjust the threshold (`<= 14` in the example) to match your restock cadence. If you restock weekly, 7 days is normal - only show urgency below that. ## "Selling Fast" Flag products with high sell-through velocity: ```liquid theme={null} {% assign variant = product.selected_or_first_available_variant %} {% assign trend = variant.metafields.app--326028230657--stockful.velocity_trend.value %} {% assign sold = variant.metafields.app--326028230657--stockful.sold_last_30d.value %} {% if trend == "selling_fast" %}
Selling Fast{% if sold and sold > 10 %} - {{ sold }} sold recently{% endif %}
{% endif %} ``` ## Combined urgency block Combine multiple signals for maximum impact: ```liquid theme={null} {% assign variant = product.selected_or_first_available_variant %} {% assign status = variant.metafields.app--326028230657--stockful.stock_status.value %} {% assign days = variant.metafields.app--326028230657--stockful.days_of_supply.value %} {% assign trend = variant.metafields.app--326028230657--stockful.velocity_trend.value %} {% assign sold = variant.metafields.app--326028230657--stockful.sold_last_30d.value %} {% assign restock = variant.metafields.app--326028230657--stockful.restock_status.value %} {% if status == "out_of_stock" %}
Out of stock {% if restock == "pending" %} - restock on the way {% endif %}
{% elsif status == "low_stock" %}
{% if days and days <= 7 %} Almost gone - only {{ days }} {{ days | pluralize: 'day', 'days' }} left {% else %} Low stock {% endif %} {% if trend == "selling_fast" and sold and sold > 10 %} {% endif %}
{% elsif trend == "selling_fast" %}
Selling fast {% if sold and sold > 20 %} - {{ sold }}+ sold recently {% endif %}
{% endif %} ``` ```css theme={null} .stockful-urgency { padding: 0.6em 0.8em; border-radius: 6px; font-size: 0.9em; margin: 0.5em 0; } .stockful-urgency--oos { background: #fef2f2; color: #991b1b; } .stockful-urgency--low { background: #fff7ed; color: #9a3412; } .stockful-urgency--fast { background: #f3e8ff; color: #6b21a8; } .stockful-urgency__social { display: block; font-size: 0.85em; opacity: 0.8; margin-top: 0.2em; } ``` ## Best practices * **Use real data** - Stockful's urgency signals are based on actual sell-through velocity and inventory levels, not arbitrary numbers * **Don't overdo it** - if every product shows urgency, none of it feels urgent. Reserve strong messaging for genuinely low-stock or fast-selling items * **Match your restock cadence** - a 7-day supply isn't urgent if you restock weekly * **Combine signals thoughtfully** - "Low Stock + Selling Fast + 87 sold" is more convincing than any single signal * **Respect the customer** - these messages should inform, not pressure. If stock is healthy, show nothing # Storefront Data Source: https://docs.stockful.app/storefront/overview Write live inventory data to Shopify metafields and expose a JavaScript API to your theme: location availability, stock badges and urgency messaging. Stockful can write live inventory data to Shopify metafields and expose a JavaScript API for theme developers - giving you location availability, stock status badges, urgency messaging, and more. The location availability block is drop-in; badges and urgency are built from the metafields with a few lines of Liquid. ## What you get > [card] [11 metafields](/storefront/data-reference) > > 7 variant-level + 4 product-level metafields written daily and updated in real time > [card] [Theme blocks](/storefront/guides/theme-blocks) > > Drop-in location availability block - no code required > [card] [Developer API](/storefront/developer-api) > > `window.stockful` JavaScript API for custom integrations > [card] [Code examples](/storefront/examples) > > Copy-paste Liquid and JavaScript snippets for common patterns ## Quick start ### 1. Enable storefront data Go to **Settings > Storefront** in the Stockful app and toggle **Enable storefront data**. Choose which metafields to sync. ### 2. Activate the app embed In your Shopify admin, go to **Online Store > Themes > Customize**. Open the **App embeds** panel and enable **Stockful**. ### 3. Add the block to your product page Still in the theme editor, navigate to your product template. Click **Add block** and choose **Stockful Location Availability** - a "Check store availability" button that opens a drawer of per-location stock. ### 4. Add badges and urgency (optional) Stock badges and urgency messaging are built from the metafields rather than a block, which gives you full control over the markup. Both have copyable Liquid: [stock badges](/storefront/guides/stock-badges) and [urgency messaging](/storefront/guides/urgency-messaging). The [data reference](/storefront/data-reference) lists every available field. ## How data flows ``` Inventory change → Stockful processes change → Metafields written to Shopify (real-time for status, daily for analytics) → Available via Liquid, Storefront API, and window.stockful ``` **Real-time updates:** `stock_status` metafields update within seconds of an inventory change. **Daily sync:** Analytics metafields (days of supply, velocity, sold count, etc.) sync once per day as part of the daily analytics run. ## Accessing metafields Stockful's metafield namespace is `app--326028230657--stockful`. Use this in your Liquid templates and Storefront API queries. ### In Liquid ```liquid theme={null} {{ product.metafields.app--326028230657--stockful.stock_status.value }} ``` ### In the Storefront API (headless) ```graphql theme={null} query ProductWithStock($handle: String!) { product(handle: $handle) { stockStatus: metafield(namespace: "app--326028230657--stockful", key: "stock_status") { value } totalSold: metafield(namespace: "app--326028230657--stockful", key: "total_sold_30d") { value } } } ``` # Contact Support Source: https://docs.stockful.app/support How to reach the Stockful team for help with the app, billing, security or data requests. No account needed, just email us. Email **[support@stockful.app](mailto:support@stockful.app)** and a real person will get back to you. You don't need an account, a login, or an active subscription to contact us. We typically respond within one business day. ## Your first reply may come from our AI assistant Within a few minutes of your email arriving you may get a first reply from Stockful's AI assistant. It says so at the top. It answers from the help docs and, when your email address matches a Stockful user, from your store's data in Stockful. Anything it could not confirm is listed at the end of its reply rather than guessed at. A person reads every email conversation and follows up on it, so you do not need to reply to the assistant to reach one. If you would rather skip it, start your email with the word **human** and it goes straight to a person. ## What to include You'll get a faster answer if your first message includes: * Your store domain, for example `your-store.myshopify.com` * What you expected to happen, and what happened instead * Where in the app it happened, for example the page name or the report you ran * Roughly when it happened, including your timezone if you can * A screenshot or a screen recording if there's something visible on screen If you're reporting a problem with a Slack alert or a scheduled report, tell us the Slack workspace and channel name too, and roughly when the message should have arrived. ## Answer it yourself first Plenty of common questions are already covered in the documentation. > [card] [FAQs](/user-guide/faqs) > > Sync times, trials, plan limits, forecasting and AI questions > [card] [Getting Started](/user-guide/getting-started) > > Installing Stockful and finding your way around > [card] [Alerts](/user-guide/alerts/index) > > Setting up stock alerts and delivering them to Slack > [card] [Plans & Billing](/user-guide/plans-and-billing) > > Pricing, trials, overage charges and cancelling ## Security and privacy Use the same address for security and data protection matters, and we'll route it to the right person. * **Security vulnerabilities and incidents:** [support@stockful.app](mailto:support@stockful.app). See our [Security Incident Response](/policies/security-incident-response) policy for what happens next. * **Data protection, GDPR and DPA requests:** [support@stockful.app](mailto:support@stockful.app). See our [Privacy Policy](/policies/privacy-policy) and [Data Processing Agreement](/policies/data-processing-agreement). # Adjustments Source: https://docs.stockful.app/user-guide/adjustments Correct stock levels with a paper trail. Each adjustment is a numbered document recording what changed, at which location, why, and who made it. An **adjustment** states a change directly: plus five, minus seven. You supply the difference, Stockful writes it to Shopify, and it appears in each product's inventory history like any other stock change. Each adjustment is a numbered document recording what changed, at which location, why, and who made the change. Typical uses: recording damaged or missing stock, customer returns going back on the shelf, and one-off corrections you already know the size of. > [!TIP] > > If you counted a shelf, use a [stock count](/user-guide/counts-and-adjustments/stock-counts) instead. You type what you found and Stockful works out the difference, which is one fewer subtraction to get wrong. Adjustments live alongside counts in [Counts & adjustments](/user-guide/counts-and-adjustments), which covers the list, the Open/Completed/Archived tabs, and searching. ## Creating an adjustment ![An adjustment document with line items](https://mintcdn.com/ljsstudios/OiQWS5SpFZk2e-e2/images/user-guide/adjustments--document.png?fit=max\&auto=format\&n=OiQWS5SpFZk2e-e2\&q=85\&s=853a32a70a2d091cd81e056fa9b3f1e5) Click **Create adjustment**. Nothing is saved until you click **Save**, so you can back out without leaving an empty document behind. Each adjustment covers **one location**. Your default location is preselected; change it before adding items, as it locks once the document has line items. Fill in the details: * **Reason** - Shopify's full reason list (Correction, Stock count, Damaged, Return/restock, Scanned incorrectly, Received, Theft or loss, Safety stock, Quality control, Promotion or donation), with any custom reasons you've saved in their own group below. Pick **Other (please specify)** to type a one-off. * **Employee** - who's making the adjustment. Defaults to you. * **Notes** - optional free text, useful for referencing a stock count or incident. ### Custom reasons Click **Manage reasons** above the Reason field to save your own reasons - Giveaways, Tastings, whatever your business books stock against. Saved reasons appear in the dropdown for everyone, so the same reason is always worded the same way, and reports break down by them just like the built-ins. Each saved reason also carries a **Shopify reason** - the closest match from Shopify's own fixed list, which is how the adjustment appears in Shopify admin's inventory history. Bad bottles can map to Damaged, giveaways to Promotion or donation; anything without a close match maps to Other. Your own wording is always kept in Stockful either way. Saved reasons can't be edited - delete one and add it again to change its name or mapping. Deleting never changes past adjustments; performed documents keep the reason they were performed with. ### Adding items There are three ways to add line items: * **Search** - type a product name, SKU, or barcode in the search bar and pick from the results. * **Bulk add** - browse the location's inventory in a table and enter adjust-by quantities against as many items as you like in one go. * **Import** - upload a CSV of SKUs or barcodes and quantities. For each line you set **Adjust by** - a positive number to add stock, negative to remove it. The row shows the current available quantity, what the new quantity will be, and the value of the change based on the item's cost. ### Importing from CSV The importer needs two columns: an identifier (SKU or barcode) and a quantity. Column headings are detected automatically, so exports from other tools - including Stocky's adjustment exports - usually work as-is. A template is available in the import dialog if you're starting from scratch. After you upload, Stockful validates every row against your inventory and shows a preview. Rows that can't be added - unknown SKUs, duplicates, items not stocked at the location - are flagged and skipped, and you can edit quantities or untick rows before adding the rest. ## Saving and performing **Save** keeps the adjustment as an Open draft. Drafts don't change your stock - you can come back to them, keep editing, or delete them. **Perform adjustment** applies the changes to Shopify. You'll see a confirmation summary first, showing the number of items and the net change. If you have unsaved edits, performing saves them automatically. > [!TIP] > > If an item's stock changed between adding it and performing - a sale came in, or someone edited it in Shopify admin - Stockful won't apply that line blindly. The line is flagged, its quantities are refreshed, and the document stays open so you can review and perform again. ## After performing A performed adjustment becomes read-only: a permanent record of what changed. Each line shows the new quantity, with a link through to that item's inventory history in Shopify admin, where the adjustment appears under its Shopify reason. Completed adjustments can be **archived** once you're done with them, and unarchived at any time. You can also **export any adjustment as a CSV** - one row per line item with the document details included, ready for a spreadsheet. > [!NOTE] > > An adjustment can contain up to 250 line items. For larger corrections, split the work across multiple adjustments. # AI assistant Source: https://docs.stockful.app/user-guide/ai-assistant An in-app chat that knows your inventory. Ask about sales velocity, reorder timing or anomalies and get answers with charts, tables and plain language. The AI assistant is an in-app chat that knows your shop's inventory. Ask about sales velocity, reorder timing, anomalies, or how Stockful works - it reads the data and answers with charts, tables, and clear language. ![The Stockful AI assistant with suggested questions](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/ai--assistant.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=445da9f85b2e408b02099524866cb1bb) > [!NOTE] > > The assistant is available on all plans. Turn it on or off any time under **Settings** → **AI**. ## Opening the assistant Click the **sparkles button** in the bottom-right corner of any page to open the assistant. It slides up over the current page so you don't lose context. The three-dot menu at the top-right of the header has an **Expand** option for full-screen mode (handy for longer conversations or reading docs in the Help tab). ## What it can do * **Answer questions about your inventory** - "Which SKUs at my London warehouse are running low?", "How fast is SKU ABC-123 selling?", "What's my projected revenue at risk this week?" * **Explain Stockful concepts** - "What does ABC class C mean?", "How do you calculate days of supply?" * **Search your help docs** - "How do I set up a weekly digest in Slack?" * **Propose changes you confirm** - the assistant can draft a new alert or scheduled report; you review the details in a card and click **Confirm** before anything is created * **Use page context** - if you're on an inventory detail page when you open it, the assistant already knows which SKU you're looking at ## Email support The assistant also writes the first reply to emails sent to [support@stockful.app](mailto:support@stockful.app). That reply is marked as written by the assistant, answers only from the help docs and your Stockful data, lists anything it could not confirm, and is always followed up by a person. Start your email with the word **human** to skip it. See [Contact Support](/support). ## Tabs The assistant has two tabs at the bottom: * **Assistant** - the chat itself. Your conversations are saved so you can scroll back through history or open an old thread from the list. * **Help** - search and read Stockful's documentation without leaving the app. ## Thread history Every conversation is saved. From inside a chat, use the **back arrow** in the header to return to the thread list. The list shows your recent threads with titles auto-generated from the first turn; click any thread to resume it (the assistant remembers the full conversation). Use the **New chat** button at the bottom of the list to start a fresh thread. ## Feedback Every assistant reply has thumbs up / thumbs down buttons. Rating a reply takes one click. Your feedback shapes future improvements - both for the prompts behind the assistant and for which questions land cleanly vs. need more work. ## Confirmation cards When the assistant proposes a change (new alert, new scheduled report, toggling something on/off), it doesn't apply it immediately. Instead it shows a **confirmation card** with the details. You can: * **Confirm** - applies the change, and the card updates to show what was created * **Cancel** - dismisses the proposal, nothing changes The card stays in the thread history in its final state so you can see what was applied weeks later. ## What it can't do * Make changes without your confirmation - all writes go through a confirmation card * See data outside your shop - it's scoped to your store * Replace Stockful's other surfaces - dashboards, reports, and alerts still drive day-to-day work; the assistant is for ad-hoc questions and quick edits ## Privacy and data use Conversations are stored against your shop and are visible only to staff who can log into your Stockful admin. Stockful uses your conversation data to improve the assistant - aggregated and de-identified where possible. ## Plan availability All AI features (assistant, weekly digest, anomaly detection, threshold suggestions) are available on every plan - there's no feature gating between tiers. What differs is the **monthly message cap** for assistant chats: | Plan | Monthly chat messages | Soft warning at | | - | - | - | | Starter | 100 | 80 | | Growth | 500 | 400 | | Pro | 1,000 | 800 | Only messages you send count against the cap. Background AI work (weekly digests, anomaly narratives, setup analysis, threshold suggestions) is absorbed by Stockful and doesn't chip away at your allowance. The cap resets at the start of each Shopify billing cycle. If you hit the soft warning the assistant will let you know; if you hit the hard cap further chats are blocked until reset (or you can upgrade your plan to lift it sooner). # Discord Source: https://docs.stockful.app/user-guide/alerts/channels/discord Post alerts to a channel in your Discord server Choose **Discord** on an alert to post it to a channel in your server. ## Connecting Discord is connected once for your whole store, not per alert, and the same connection delivers [scheduled reports](/user-guide/reports/channels/discord). Connect it under **Settings → Integrations**, or straight from the alert with **Connect**. Authorising adds the Stockful bot to **one** server. You need the Manage Server permission on it, which you have if you created it. The bot asks for four permissions and nothing else: view channels, send messages, embed links, and attach files. The last is so scheduled reports can upload their files. ## Picking a channel Each alert chooses its own channel inside that server. Only channels the bot can see and post in are listed, so if one is missing, check its permissions in Discord rather than reconnecting. ## What arrives Each alert arrives as an embed carrying the numbers that triggered it, with buttons for the obvious next steps: create a purchase order, view the product, open it in Stockful, or snooze that SKU. A [summary](/user-guide/alerts/index) instead lists everything caught over the period with a link to the alert's history. ## When it stops working If the bot is removed from the server, or loses access to the channel, the alert is recorded as failing rather than going quiet, and the cooldown stops it retrying on every stock change. Restoring the bot's access to that channel is enough, and the alert itself stays as it is. Disconnecting Discord leaves your alerts switched on and holding their channels. They simply have nowhere to send until you reconnect, at which point they resume. # Email Source: https://docs.stockful.app/user-guide/alerts/channels/email Send alerts to the people you choose, as a summary Choose **Email** on an alert to send it to the recipients you list. No connection is needed. ## Recipients Recipients are set per alert, not per store, so the people who care about low stock do not have to be the people who care about overdue purchase orders. ## Email is always a summary Email is the one channel that cannot send a message per alert. On a large catalogue that would be thousands of emails, which costs both deliverability and money, so email alerts are always grouped into a [summary](/user-guide/alerts/index): daily, weekly or monthly, at a time you choose. Picking Email on an alert that was sending individually moves it to a daily summary rather than leaving a combination that cannot be saved. ## Unsubscribing Every alert email carries an unsubscribe link. Using it removes that one address from that one alert and leaves your other alerts alone. If it was the only recipient, the alert is switched off rather than left running with nowhere to send. A rule that looks active but can never deliver is worse than one that plainly says it is off. ## Testing **Send test** on a saved alert emails a sample to one address only, so testing never mails the whole list. # Slack Source: https://docs.stockful.app/user-guide/alerts/channels/slack Post alerts to a Slack channel Choose **Slack** on an alert to post it to a channel. ## Connecting Slack is connected once for your whole store, not per alert, and the same connection delivers [scheduled reports](/user-guide/reports/channels/slack). Connect it under **Settings → Integrations**, or straight from the alert with **Connect**. ## Picking a channel Each alert chooses its own channel, so low stock can go to one team and overdue purchase orders to another. Private channels appear in the list once the Stockful bot has been invited to them. You can set a default channel under [Alert settings](/user-guide/alerts/settings), which pre-fills the field on new alerts. It is only a starting point, and changing it later does not move existing alerts. ## What arrives Each alert carries the numbers that triggered it and buttons for the obvious next steps: create a purchase order, view the product, open it in Stockful, or snooze that SKU. A [summary](/user-guide/alerts/index) instead lists everything caught over the period with a link to the alert's history. ## When it stops working If the channel is deleted or archived, the alert is recorded as failing rather than going quiet, and the cooldown stops it retrying on every stock change. Stockful emails you the first time this happens rather than on every attempt. If the connection itself is revoked, Slack alerts and Slack report schedules are switched off, and their channels are kept so reconnecting and switching them back on restores them. # Microsoft Teams Source: https://docs.stockful.app/user-guide/alerts/channels/teams Post alerts to a channel in Microsoft Teams Choose **Microsoft Teams** on an alert to post it to a channel in your team. ## What you need An active Stockful account on a Shopify store, and permission to add an app to the team you want alerts in. Stockful is on the [Shopify App Store](https://apps.shopify.com/stockful-inventory-management). ## Connecting Teams is connected once for your whole store, not per alert, and the same connection delivers scheduled reports. Connect it under **Settings → Integrations**, or straight from the alert with **Connect**. There is no sign-in step, because a Teams app is added from inside Teams and an install carries no store context. A pairing code supplies the missing half: **1. Add Stockful in Teams** In Teams, open **Apps**, search for Stockful and add it to the team you want alerts in. **2. Get a code** In Stockful, go to **Settings → Integrations** and select **Connect** on Microsoft Teams. It gives you a message to send, with a code that lasts 15 minutes. **3. Send it in the channel** Paste that message into the channel. It mentions the bot, which matters: in a channel, Stockful only receives messages that **@mention** it. Until a code is sent, the app is inert. It holds no store data and posts nothing. A code works once. If you get **That code has expired or has already been used**, generate a fresh one rather than resending the old message. ## Picking a channel Each alert chooses its own channel inside that team. Only channels the bot can see and post in are listed, so if one is missing, check its permissions in Teams rather than reconnecting. ## What arrives Each alert arrives as a card carrying the numbers that triggered it, with buttons for the obvious next steps: create a purchase order, view the product, open it in Stockful, or snooze that SKU. A [summary](/user-guide/alerts/index) instead lists everything caught over the period with a link to the alert's history. ## Talking to the bot Send **help** to the bot, in a channel or a direct message, and it tells you what it does and which commands it takes. It answers two: `connect ` pairs the channel with your store, and `help` shows that message. ## When it stops working If the app is removed from the team, or loses access to the channel, the alert is recorded as failing rather than going quiet, and the cooldown stops it retrying on every stock change. Restoring access is enough, and the alert itself stays as it is. Disconnecting Teams leaves your alerts switched on and holding their channels. They simply have nowhere to send until you reconnect, at which point they resume. ## Getting help Stuck on any of this? [Contact us](https://docs.stockful.app/support). # Webhook Source: https://docs.stockful.app/user-guide/alerts/channels/webhook POST alerts to your own endpoint as JSON, with optional request signing Choose **Webhook** on an alert to POST it to a URL you control, as JSON. It is the channel for wiring alerts into your own systems, or into a no-code tool like Zapier, Make or Power Automate, which is also how you reach a destination Stockful has no channel for yet. There is nothing to connect. Unlike Slack and Discord, the destination is the URL itself, so an alert can deliver as soon as it has one. ## Setup Enter your endpoint's **URL**. Each alert is sent as a `POST` with `Content-Type: application/json`. The URL must be `https`, and must be reachable from the public internet. An address on a private network is refused when you save. Optionally generate a **signing secret** so your endpoint can verify a request came from Stockful (see [Verifying requests](#verifying-requests)). It is shown once, so copy it then; regenerate it if you lose it. A secret can only be generated on a saved alert. **Send test** posts a sample alert on demand, so you can confirm your endpoint receives it before waiting for a real one. ## Payload ```json theme={null} { "alert": { "ruleId": 34, "ruleName": "Out of stock", "triggerType": "out_of_stock" }, "shop": { "domain": "your-store.myshopify.com" }, "generatedAt": "2026-08-31T10:54:27.428Z", "message": { "emoji": "🔴", "title": "Out of Stock Alert", "subtitle": null, "fields": [ { "label": "Product", "value": "Bamboo Cutting Board", "url": "https://admin.shopify.com/..." }, { "label": "Variant", "value": "Small | SKU: BRD-BMB-SMALL" }, { "label": "Location", "value": "Main Warehouse" }, { "label": "Quantity", "value": "0 units" } ], "body": null, "actions": [ { "label": "Create purchase order", "url": "https://admin.shopify.com/...", "primary": true } ], "footer": "Alert: Out of stock · Sent by Stockful" }, "text": "Out of Stock Alert: Bamboo Cutting Board at Main Warehouse (0 units)" } ``` `message` is the alert in structured form, the same content Slack renders as blocks and Discord as an embed. Read whichever parts you need: `fields` carries the label/value pairs, and a field with a `url` links its value. `actions` are the links a person would click. `text` is the whole alert as one line. If you only want something to display or forward, use that and ignore the rest. A [summary](/user-guide/alerts/index) sends one POST for the period rather than one per alert, with the entries in `message.body` and its own trigger type of `digest`. An [automatic restocking](/user-guide/purchasing/purchase-orders/automatic-restocking) run summary is not an alert, so its envelope carries `autoRestock` in place of `alert`: `{ "autoRestock": { "date": "2026-09-09" }, "shop": …, "message": …, "text": … }`. Its `message.table` lists the draft purchase orders the run raised, one row per order, with `columns` naming what each cell is. ## Verifying requests If the alert has a signing secret, each POST carries an **`X-Stockful-Signature`** header: the HMAC-SHA256 of the raw request body, hex-encoded, keyed with your secret. ``` X-Stockful-Signature == hex( hmac_sha256(secret, rawRequestBody) ) ``` Sign the raw request body bytes, before any JSON parsing, so they match what Stockful signed. Requests are unsigned until you generate a secret. ## Retries A request that fails because your endpoint is busy or unreachable (a `429`, a `5xx`, a timeout) is retried up to three times with a growing wait, and a `Retry-After` header is honoured. Anything else is treated as a refusal rather than a hiccup: the alert is recorded as failed and the cooldown stops it being re-sent on every stock change. So an endpoint returning `400` because it dislikes the payload stops receiving that alert until you fix it, rather than being hammered. ## When it stops working If the endpoint is removed or starts refusing requests, the alert is recorded as failing rather than going quiet, and Stockful emails you the first time it happens rather than on every attempt. The alert itself stays as it is: correct the URL, or the endpoint, and it resumes. # History Source: https://docs.stockful.app/user-guide/alerts/history Every alert Stockful sends is recorded, so you can see what an alert caught, whether it was delivered, and why it wasn't. Every alert Stockful sends is recorded, so you can see what an alert actually caught rather than guessing. * **History** in the header of the **Alerts** page shows every send across all your alerts * Each alert's own page shows its last three sends in the sidebar, with **View history** for the full list Each entry records the SKU that triggered it, the location, the trigger type, when it was sent, and whether stock has since recovered. The **Outcome** column tells you what happened to the message: | Outcome | Meaning | | - | - | | **Delivered** | The message was accepted | | **Queued** | Caught, and waiting for this alert's next daily or weekly summary | | **Not delivered** | Slack turned it away - hover the info icon for the reason, usually a channel that's been deleted, archived, or that Stockful hasn't been added to | | **Suppressed** | The send didn't complete, so the next stock change will alert again | | **Not recorded** | The outcome wasn't captured - only on entries from before delivery tracking was added | An alert sent individually goes straight to **Delivered**. One on a summary sits at **Queued** until its send time, then every entry in that summary flips to **Delivered** together. You can filter by alert, trigger, outcome and location. Tick the rows you want and export just those, or export everything matching your filters, as CSV, Excel, XML or JSONL. > [!NOTE] > > History is kept for 13 months. # Overview Source: https://docs.stockful.app/user-guide/alerts/index Alerts watch your inventory and tell you in Slack, Discord, your own endpoint or by email when the conditions you care about are met. Every plan includes unlimited alerts. Alerts watch your inventory and tell you in Slack, Discord, your own endpoint or by email when conditions you care about are met. All plans include unlimited alerts. ![The alerts list](https://mintcdn.com/ljsstudios/lAYZCy5_49NRsktr/images/user-guide/alerts--list.png?fit=max\&auto=format\&n=lAYZCy5_49NRsktr\&q=85\&s=e022b834a62ce10b3f1e08b5f1149124) > [!NOTE] > > Slack and Discord alerts need that service connected first, under **Settings → Integrations**. Email and webhook alerts need no connection at all. ## Alert types | Alert | Triggers when... | Checked | | - | - | - | | **Out of stock** | A variant hits zero or below | Live | | **Oversold** | A variant goes negative because it has sold past zero. Optionally set a threshold to only alert once it is oversold by at least that many units | Live | | **Back in stock** | A variant that was out of stock returns to a positive quantity. It does not fire when stock simply increases from an already-positive level. Optionally set a minimum number of units, so a single returned item stays quiet and a delivery does not | Live | | **Low stock** | A variant drops below a threshold you set, measured in days of cover or units | Live | | **Reorder point reached** | A variant falls to or below its reorder point, while still in stock | Live | | **Sales spike or drop** | A SKU sells far above or below its own recent pattern, with an AI explanation of what changed. Choose the severity and whether you want spikes, drops, or both. Needs [anomaly detection](/user-guide/anomalies) switched on | Once a day | | **Traffic surging, stock thin** | A product's [storefront traffic](/user-guide/traffic) has at least doubled while its stock would run out inside the days of cover you set. Catches demand building before your sales rate has caught up with it | Once a day | | **Promotion stock check** | A [promotion](/user-guide/forecasting/promotions) is coming up and some SKUs are short of what the declared uplift implies. One message per promotion, listing what to order | Once a day | | **Time to reorder** | The last day you can place an order for a SKU and still have it land before you run out, told to you as that day approaches. Set how far ahead to hear about it. Skips anything already on an open order, allows for a supplier's closed periods, and stays quiet once a deadline has passed, since ordering then can no longer prevent the stockout | Once a day | | **Supplier slower than configured** | A supplier's actual delivery times have run past the lead time you have set for them, which under-sizes every reorder point that depends on it. One message per supplier | Once a day | **Live** alerts are evaluated the moment an inventory change arrives from Shopify. **Once a day** alerts are checked on a schedule, because the figures behind them - storefront sessions, sales history, supplier receipts - only update overnight. How often an alert is checked isn't something you set: it follows from the trigger, and is shown on the alert form beneath it. *When* the daily check runs is yours - pick the hour under **Check time**, and that's when those alerts land. Two alerts on the same store can check at different times. A few triggers can't be checked in the small hours, because their own inputs aren't there yet. **Traffic surging**, **Promotion stock check** and **Time to reorder** are available from 6am, **Sales spike or drop** from 9am (it waits for the overnight analysis to finish). The rest have no restriction. For a **low stock** alert you choose how the threshold is measured: * **Days of cover** - fires when a variant's days of supply, based on recent sales velocity, falls below your number. Best for catching stockouts before they happen, even on fast movers. * **Units** - fires when available units fall to or below your number. Best for a fixed floor regardless of how fast something sells. ## Creating an alert ![Creating an alert: trigger, scope, and channel](https://mintcdn.com/ljsstudios/lAYZCy5_49NRsktr/images/user-guide/alerts--form.png?fit=max\&auto=format\&n=lAYZCy5_49NRsktr\&q=85\&s=690969f9e035d17e8980ca8a45f62ba3) 1. Go to **Alerts** in the main menu, and click **Create alert** 2. Choose a trigger type and set the threshold. For **low stock**, also choose whether it's measured in **days of cover** or **units** 3. Choose where it goes under **Delivery**, and how it's sent under **Sending** 4. Choose which SKUs to watch - all SKUs, selected SKUs, or a filter 5. Save the alert You can pause or edit an alert at any time. Two optional conditions narrow when an alert fires: * **Only when nothing is on order** (low stock and reorder point) - skips the alert while incoming stock or an open purchase order already covers the product, so you only hear about the SKUs that still need action. * **Minimum monthly sales value** - only alerts for products selling at least that value per month at the current sales rate, keeping slow, low-value SKUs out of your channel. The same variant won't be alerted on again until the cooldown passes, so a SKU hovering around its threshold doesn't fill your channel. The cooldown is 24 hours by default and you can change it in **Alert settings** - anything from an hour to a week. It applies per location and per trigger, so the same product can still alert about a different problem. ## Where alerts go, and how they're sent Each alert has its own settings, so a low stock alert can post to Slack on its own while a reorder alert arrives as one email each morning. **Where** is one of four channels, each with its own page: | Channel | Where it goes | | - | - | | **[Slack](/user-guide/alerts/channels/slack)** | Posted to a channel. | | **[Discord](/user-guide/alerts/channels/discord)** | Posted to a channel in your server. | | **[Webhook](/user-guide/alerts/channels/webhook)** | POSTed as JSON to a URL you control. | | **[Email](/user-guide/alerts/channels/email)** | To the recipients you add on that alert. | Slack and Discord are each connected once for the whole shop, under **Settings → Integrations**, or straight from the alert with **Connect**. Email and webhook need no connection: their destination is set on the alert itself. **How to send** is individual alerts, or a summary: | Sending | What arrives | | - | - | | **Individual alerts** | One message per alert, sent as soon as that alert is raised | | **Summary** | One message covering everything the alert caught since the last one - daily, weekly on the days you pick, or monthly (by date, month-end, or an nth weekday). Repeat every N periods if you like, at a time you choose | This is about how many messages you get, not how quickly. A once-a-day alert set to **Individual alerts** still only checks once a day; it just sends each finding as its own message rather than grouping them, at the check time you chose. On a once-a-day trigger the summary's time is the check time too, so a weekly summary still checks every day and reports the whole week. Nothing found on a Tuesday waits until the next Monday to be noticed. A summary reports what the alert *caught over the period*, not whatever happens to be low when it sends. A SKU already reported yesterday isn't listed again unless it alerts again, which is what makes this different from a scheduled report. > [!NOTE] > > Email is always a summary. A message per alert by email on a large catalogue is thousands of emails, so individual sending is Slack and Discord only. ### Testing an alert **Send test** on a saved alert shows what it will actually produce: a single message when it sends individually, or a sample summary when it doesn't. Email tests go to one address only, so testing never mails the whole team. Test sends don't count towards the cooldown. > [!TIP] > > Start with a broad alert (all SKUs, generous threshold) and refine once you see which alerts are useful. # Settings Source: https://docs.stockful.app/user-guide/alerts/settings The Slack connection every alert delivers through, a default channel for new alerts, how long a SKU stays quiet after alerting, and when alerts are held back. ## Connecting Slack Slack is connected once for your whole store, not per alert. The same connection delivers scheduled reports, so connecting it once covers both. [Discord](/user-guide/reports/channels/discord) works the same way and is connected in the same place. Authorising it adds the Stockful bot to one server, and each alert then picks a channel inside it. 1. Go to **Settings**, then under **App** click **Alert settings** 2. On the **Slack** row click **Connect**, and authorize Stockful in the popup 3. Once connected, you can select a Slack channel when creating alerts The same row appears on the **Integrations** page alongside your other connections. Connecting or disconnecting in either place does the same thing. ## Default channel Once Slack is connected you can pick a channel that new alerts start on, so creating one doesn't begin by choosing the same channel every time. It's only a starting point - you can change the channel on any alert, and changing the default never touches alerts you've already made. ## Cooldown How long a SKU stays quiet after it alerts, so a product hovering around its threshold doesn't fill your channel. The default is 24 hours. Anything from an hour to a week is available, and it applies per location and per trigger - the same product can still alert about a different problem at a different location. Shorter means faster warnings and more messages. Longer means quieter, but you may hear about a problem later than you would like. If one particular SKU is the problem rather than the setting, snooze it instead. ## Quiet periods Set **quiet hours** - a time range during which Slack alerts are held back. You can also mark whole **quiet days**. No alerts are sent on those days at all, midnight to midnight, so a shop that doesn't want Saturday alerts doesn't have to fake it with a 00:00 to 23:59 window. Once a window or a quiet day is set you can choose what happens when it ends: * **Send what was held back** (the default). Alerts that fired overnight are re-checked against current stock and sent when the window closes. Anything that resolved itself in the meantime isn't sent. * **Don't send anything from the quiet period.** Alerts that fire during quiet hours are let go, and you won't be told about them later. Pick the second one if a morning catch-up is more noise than help. Bear in mind a problem that started at 3am and hasn't moved since will never reach you. ## During a promotion If you have declared a promotion in the [promotion calendar](/user-guide/forecasting/promotions), **low stock** and **reorder point** alerts are held back for the days it runs, including the first and last. Stock falling fast during a promotion you planned is the promotion working, so alerting on it is noise at the busiest moment of your year. **Out of stock** and **oversold** alerts still fire: selling out mid-promotion is lost sales and possibly a storefront problem, so it matters more then, not less. **Back in stock** alerts keep firing too, since a recovery is worth hearing about straight away. **Sales drops** also still fire - a drop during a promotion you planned is worse news than usual - while **sales spikes** and **traffic surges** are held, because both are the promotion working. **Promotion stock check** and **supplier slower than configured** are never paused: the first is about the promotion itself, and the second is about a supplier rather than how fast stock is moving. Nothing to switch on: it follows the dates you already declared, and applies only to the products the promotion covers. # Snoozed SKUs Source: https://docs.stockful.app/user-guide/alerts/snoozed Silence one noisy product without turning off the alert for everything else it covers. Some products set off alerts far more often than the rest. Snoozing one stops every alert that mentions it, for as long as you choose, without turning the alert off for the rest of your catalogue. Snoozing covers the SKU at every location that stocks it, across all your alerts. If you have both a low stock and an out of stock alert running, you only need to snooze once. ## Snoozing a SKU There are two ways in: * **Snooze this SKU** on the Slack message itself, which opens the form with that product already filled in * **Snooze** on any row of the **History** page Both ask for how long, an optional reason, and an optional note. The note is worth filling in - it's what tells you why the product is quiet when you come back to it weeks later. ## Managing snoozes **Snoozed SKUs** in the header of the **Alerts** page lists everything currently silenced, with when each one expires and who snoozed it. Each SKU is one row. The **Locations** column reads *All locations* when every location stocking it is covered, which is what snoozing does by default. It shows a count like *2 of 3* instead when only some are, which happens if an alert is scoped to particular locations or someone cleared one by hand. The date shown is the earliest one, because that's when you'll start hearing about the SKU again. From there you can unsnooze a single SKU, or select several and unsnooze them together. Unsnoozing clears every location that row covers, and alerts start firing again straight away. > [!NOTE] > > Snoozes expire on their own. Once the date passes the SKU drops off this list and alerts resume, so you don't need to come back and clear it. # Anomalies Source: https://docs.stockful.app/user-guide/anomalies Stockful scans sales data daily and flags SKUs whose velocity has shifted out of pattern, each with a short AI-written explanation and likely cause. Stockful scans your sales data every day and flags SKUs whose velocity has changed in a way that doesn't fit their usual pattern. Each anomaly comes with a short AI-written explanation of what happened and a likely cause. ![The anomalies list](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/ai--anomalies.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=9ac129d24d1c649df830155508303422) > [!NOTE] > > Anomaly detection runs on all plans. Turn it off any time under **Settings** → **AI**. ## What gets flagged The daily scan compares each SKU's recent sales against its own baseline (the rolling average + variability) per location. When today's velocity falls far enough outside the normal band, Stockful records an anomaly. Anomalies have a **direction**: * **Drop** - sales fell sharply versus the baseline * **Spike** - sales jumped sharply versus the baseline And a **severity**, based on how far outside the normal band the change sits: | Severity | Meaning | | - | - | | **High** | Big move that's almost certainly real - worth investigating today | | **Medium** | Notable change worth a look this week | Anything smaller than the medium threshold is treated as noise and isn't recorded. ## Where you see them * **`/anomalies` page** - the dedicated list, filterable by location, severity, and direction. Each row shows the SKU, the observed vs. baseline numbers, the AI narrative, and a link to the inventory detail page. * **Inventory detail page** - if the variant you're looking at has an open anomaly, a banner appears at the top of the page with the narrative and a **Dismiss** button. * **Home dashboard** - a compact card on the home page surfaces the most recent unresolved anomalies so they don't get lost. * **Slack or email** (optional) - set up a **Sales spike or drop** alert and anomalies are pushed to you like any other alert. ## Getting anomalies pushed to you Anomalies are an [alert](/user-guide/alerts/index) trigger, so they use the same alerts everything else does - with the cooldown, quiet periods, per-SKU snooze, scope and history that come with them. 1. Go to **Alerts** and click **Create alert** 2. Choose the **Sales spike or drop** trigger 3. Set the **Severity** - **High only** (default) or **Medium and above** 4. Set the **Direction** - **Spikes and drops** (default), **Drops only**, or **Spikes only** 5. Choose where it goes and how often under **Delivery**, and which SKUs and locations to watch Each message includes the SKU, the size of the change, and the AI narrative. Anomaly alerts are checked once a day, in the morning, after the overnight scan. > [!NOTE] > > Anomaly detection has to be on for these alerts to have anything to send. If **Enable Stockful AI** is off in **Settings → AI**, the alert form says so. ## Dismissing an anomaly Anomalies stay open until you dismiss them. Click **Dismiss** on the inventory-detail banner or use the dismiss action on a row in the anomalies list. Dismissed anomalies are excluded from cards and alerts but stay in your history (filter the list by **Dismissed** to see them). ## What the AI narrative does Anomaly detection itself is statistical - it doesn't need AI to fire. The AI step writes a short explanation: looks at the SKU's product type, vendor, recent events (price changes, restocks), and suggests a likely cause ("matches a Black Friday lift across the catalog", "stockout in the prior week may explain the drop", etc.). When the model isn't confident, the narrative says so rather than guessing. ## Plan availability Available on all plans. ## Troubleshooting * **No anomalies for a SKU** - the baseline needs enough recent sales history to compute. Brand-new SKUs won't generate anomalies until they have enough data. * **Too many alerts in Slack** - raise the severity threshold to **High severity only** and/or switch the direction to **Drops only**. * **Anomalies stopped appearing** - check **Settings** → **AI** that **Enable Stockful AI** is on. If it's off, no scan runs and no anomalies are recorded. # Cost adjustments Source: https://docs.stockful.app/user-guide/counts-and-adjustments/cost-adjustments Add a cost to stock you already hold, such as freight billed after the stock arrived, and fold it into each product's average cost. A **cost adjustment** adds a cost to stock you already hold, without changing how many units you have. Use one for a cost that arrives after the stock did: * **Onward freight** from a holding warehouse to the locations you sell from, billed when the stock moves * **A late invoice** for freight, duty or fees on a purchase order you have already received Stockful folds the cost into each product's [average cost](/user-guide/purchasing/purchase-orders/costs#cost-history-and-average-cost), so your margins include it. A purchase order's own [adjustments](/user-guide/purchasing/purchase-orders/costs#how-adjustments-are-spread) lock once stock is received, so a cost that turns up later is added this way. ## Adding a cost Open **Counts & adjustments** from the **Inventory** page, then **Cost adjustments**, and click **Add cost**. From a purchase order that has received stock, you can also choose **More actions** > **Add a late cost** to start with the products it received. 1. **Add the products the cost belongs to.** Search for products, or use **Load from purchase order** or **Load from transfer** to bring in everything that order received or that transfer moved. Loading one replaces the products already on the form. 2. **Check the units.** A product's units decide its share of the cost. A purchase order or transfer brings the units it received or moved. A product you add yourself starts with everything you hold, which spreads the cost evenly over every unit. 3. **Enter the cost.** Choose a type, enter the amount, and put the invoice number in **Reference**. A negative amount is a credit. 4. **Choose how to split it.** By **Value**, more expensive products take a bigger share. By **Quantity**, every unit takes the same share. 5. **Save.** Stockful asks you to confirm, because a cost adjustment can't be changed afterwards. As you type, each line shows its current cost, its share of the amount and its new cost. ## How the new cost is worked out Each product's share is spread across everything you hold of it, in every location Stockful tracks. It is the same sum you would do by hand: the current cost, plus the share divided by the units on hand. For example, £300 of freight covers 100 lanterns and 50 throws. The lanterns cost £10.00 and you hold 400. The throws cost £20.00 and you hold 200. | Split by | Lanterns | Throws | | - | - | - | | Value | £150 share, so £10.00 becomes £10.38 | £150 share, so £20.00 becomes £20.75 | | Quantity | £200 share, so £10.00 becomes £10.50 | £100 share, so £20.00 becomes £20.50 | The shares always add up to exactly the amount. The new cost is kept to two decimal places, like every cost in Stockful. If a product has no average cost yet, because nothing has been received against a purchase order, Stockful starts from its cost per item in Shopify. ## What stops a line Stockful won't save while a line has a problem, and marks the line with it: * **Nothing on hand** - there is no stock to add the cost to. Remove the line. * **No cost** - the product has neither an average cost nor a cost per item in Shopify. Set a cost per item first. * **Below zero** - a credit would take the cost below zero. ## Correcting a mistake A saved cost adjustment is permanent. Stock is sold and received after it is saved, so it can't simply be reversed. To correct one, add another cost adjustment for a negative amount against the same products. ## Syncing to Shopify If **Sync landed cost to Shopify** is on in [Purchasing settings](/user-guide/purchasing/settings), saving a cost adjustment also writes each product's new average cost to its **cost per item** in Shopify, the same as a receipt does. If you keep cost per item up to date another way, leave the setting off and Stockful won't change it. ## Where it shows up * **Cost adjustments** lists every one with its type, reference, source and amount. Open one to see each product's cost before and after. * A **purchase order's timeline** records a late cost added from it, with a link to the cost adjustment. * The **Cost history** report includes cost adjustments, with **Source** telling them apart from receipts and edits made in Shopify. # Counts & adjustments Source: https://docs.stockful.app/user-guide/counts-and-adjustments/index Two ways to correct stock with a paper trail: count what is on the shelf and let Stockful work out the difference, or state the change directly. **Counts & adjustments** is where you correct stock levels with a proper paper trail. Every correction is a numbered document (starting at #1000) recording what changed, at which location, why, and who made the change. Applying one writes to Shopify, so it appears in each product's inventory history like any other stock change. There are two kinds of document, and the difference is which number you type. ![The counts and adjustments list showing open, completed and archived documents](https://mintcdn.com/ljsstudios/OiQWS5SpFZk2e-e2/images/user-guide/adjustments--list.png?fit=max\&auto=format\&n=OiQWS5SpFZk2e-e2\&q=85\&s=7bfddc826777d0fe032c2f3f44ddb9cc) > [card] [Stock counts](/user-guide/counts-and-adjustments/stock-counts) > > You count what is on the shelf and Stockful works out the difference. Use for stocktakes, cycle counts, and spot checks. > [card] [Adjustments](/user-guide/adjustments) > > You state the change directly - plus five, minus seven. Use for damages, returns going back on the shelf, and one-off corrections. > [!TIP] > > If you know the quantity that should be there, use a count. If you know the amount it changed by, use an adjustment. Counting a shelf and doing the subtraction yourself is how mistakes get in. To correct what stock **cost** rather than how much there is, such as freight billed after it arrived, use a [cost adjustment](/user-guide/counts-and-adjustments/cost-adjustments). It changes each product's average cost and leaves quantities alone. ## The list Open **Counts & adjustments** from the button at the top of the **Inventory** page. It lists every document created in Stockful, with tabs to focus on a status: * **Open** - drafts that have not been applied yet. These are fully editable and have not touched your stock. * **Completed** - applied documents. These have been written to Shopify and are read-only. * **Archived** - completed documents you have archived to keep the list tidy. Search by number, location, reason, or employee, sort by any column, and use the display options to choose which columns you see. A count always carries the reason **Stock count**, so the Reason column tells the two apart at a glance. > [!NOTE] > > This list shows corrections made in Stockful. Sales still appear in each variant's [movement history](/user-guide/inventory#movement-history), but a stock level changed directly in Shopify admin or by another app shows only as a new balance, with no entry saying why. ## Nothing changes until you apply Both kinds of document are drafts until you apply them. A draft can be edited, saved, and come back to as many times as you like, and deleting one leaves your stock exactly as it was. Applying is the irreversible step. Stockful writes the changes to Shopify, the document becomes read-only, and it stands as the record of what happened. ## Reporting Counts and adjustments feed the reporting engine, so you can report on shrinkage, on what a location loses over time, or on which reasons come up most. **Type** separates counts from adjustments as a dimension, which matters because a count variance and a deliberate correction are different findings. See [Reports](/user-guide/reports) for building these. # Stock counts Source: https://docs.stockful.app/user-guide/counts-and-adjustments/stock-counts Run a stocktake or a cycle count: count what is on the shelf and let Stockful work out the difference. Blind counting, count sheets, found items, and applying variances to Shopify. A **stock count** records what you actually found on the shelf. You type the quantity you counted; Stockful works out the variance against what it expected and writes only the difference to Shopify. ![A count sheet with counted quantities, variances and a found item](https://mintcdn.com/ljsstudios/OiQWS5SpFZk2e-e2/images/user-guide/counts--sheet.png?fit=max\&auto=format\&n=OiQWS5SpFZk2e-e2\&q=85\&s=2b907bdb76437fb3e818fbad57ccd28e) Use it for a full stocktake, a cycle count of one vendor or product type, or a quick spot check of a single shelf. They are the same document; the difference is how far you narrow the scope. That distinction matters more than it sounds. Typing the quantity means a count that takes all afternoon is still correct at the end of it: if something sold at 2pm, the variance you found at 10am is still the variance, and Stockful applies it to whatever the quantity is when you apply rather than overwriting the shelf with a number that went stale hours ago. ## Starting a count From **Counts & adjustments**, click **Start count**. A count covers **one location**, optionally narrowed by **vendor**, **product type**, or **tag**. Those filters combine, so vendor "AudioGear" plus type "Headphones" counts only items that are both. As you change them, Stockful tells you how many SKUs the count will cover, so you find out it is seven thousand lines before you start rather than after. To count only what should be on the shelf, tick **Only items in stock**. The count then leaves out SKUs at zero or below at that location. Anything you find that is not on the list can still be scanned or added as a [found item](#found-items). The scope is fixed once the count is created. It decides which lines exist, so changing it later would make it a different count. It stays visible on the sheet so a finished count can always say what it covered. > [!NOTE] > > If other counts are already open at the same location, Stockful lists them before you start. Two counts at one warehouse is perfectly normal - different people, different shelves - but starting a second one by accident is easy when the first is on another screen. ### Blind counting **Blind counting** is on by default, and hides the expected quantity until you have entered your own. Once you enter a number, the expected quantity and the variance appear. This is not busywork. Shown "50", a counter who counts 48 tends to write 50 - the number on the screen quietly becomes the answer. Withholding it until you have committed is the accepted way to get an accurate count, and it is the whole reason a count is worth doing rather than eyeballing. Untick it if you would rather see expected quantities from the start, for example when recounting a short list you already know is wrong. ## The count sheet The sheet lists every SKU in scope with a **Counted** field. Fill them in as you work; the sidebar tracks how far through you are. * **Expected** - what Stockful believes is there. Hidden on a blind count until the line is counted. * **Counted** - what you found. Leave it empty for anything you have not reached. * **Variance** - counted minus expected, filled in once you have counted. * **Value** - what the variance is worth, using the item's cost. An **empty** Counted field and a counted **zero** are different things, and Stockful keeps them apart. Empty means nobody has looked at that SKU yet, and applying leaves it alone unless you choose to [set uncounted SKUs to zero](#setting-uncounted-skus-to-zero). Zero means you looked and the shelf was empty, which is a real finding worth recording. A counted quantity can also be **negative**. Shopify allows stock to sit below zero - deposits, oversold items, and other non-physical SKUs - and a count records that the same way it records any other number. **Save** as often as you like. A count is a session, not a form, and saving keeps it as an open draft. The sidebar also has a **Notes** field for recording why the count took place - end of month, annual, an audit. It saves with the sheet and stays on the count after it is applied, so a finished count can say not just what it covered but why it happened. ### Count sheets by CSV Click the import button to download **this count as a CSV** - one row per SKU on the sheet, with its SKU, barcode, product name and a **Counted** column - or to upload a filled-in one. Anything you have already counted is in the file; everything else is blank. The expected quantity is never included, so a blind count stays blind. Take it away as a spreadsheet or a printout, fill in what you counted, upload it, and Stockful maps the rows back onto the sheet. Column headings are detected automatically, so most formats work as they are, and a row is matched on its barcode when it has no SKU. A row you leave **blank stays uncounted**, exactly as it would on the sheet. Only a number counts, and that includes 0: type it for a shelf you checked and found empty. The preview tells you how many rows were left blank. Rows that cannot be filled in are flagged and skipped rather than silently dropped: * **No matching item** - the SKU or barcode is not in your catalogue. * **Not a whole number** - the Counted cell holds something other than a number, such as "12 boxes". It is refused rather than read as zero. * **Not on this count** - the item exists but the count's scope does not cover it. If you found stock of it, add it as a [found item](#found-items) instead. ### Scanning barcodes Any barcode scanner that types like a keyboard works on the count sheet. There is nothing to switch on and nothing to pair: scan an item and its **Counted** goes up by one, so counting a shelf is one scan per unit rather than a trip back to the keyboard. A variant with more than one barcode in Shopify matches on any of them. Scan something the count does not cover and the found item search opens with the barcode already filled in, ready to add. Scan a barcode that two items share and Stockful shows you which ones instead of choosing for you, because picking the wrong one would write the wrong stock. The toolbar above the sheet says whether scanning is live: * **Ready to scan** - scans are reaching Stockful. * **Click the page to scan** - the Shopify admin has the keyboard rather than Stockful, so a scan would land there instead. Click anywhere on the page and it clears. This is normal right after you open a count from the admin's own navigation. > [!NOTE] > > Scanning with a phone camera isn't possible. Shopify doesn't give embedded apps access to the camera, so a handheld scanner - USB or Bluetooth - is the way to scan. ## Found items Sometimes you find stock on the shelf that the count does not cover: the filters excluded it, or Shopify does not hold that SKU at this location at all. Click **Add found item** on the sheet and search your whole catalogue by product, SKU, or barcode. The picker tells you whether the location already stocks each item, and anything already on the count is left out so you cannot add it twice. Found items are added uncounted, and you type the quantity into the Counted column with everything else. They sit below the scoped lines with a **Found** badge, and their Expected reads as a dash, because nothing was expected there at all. Unlike scoped lines, a found item can be removed from the sheet - it is one you added, and picking the wrong variant is easy. > [!WARNING] > > Adding a found item that the location does not stock does more than change a number. When you apply, Shopify starts stocking that SKU at that location, which means it can allocate and fulfil orders for it from there. Stockful spells this out on the confirmation before you apply. A few items cannot be added, because Shopify will not let anything adjust their quantity: variants with no SKU, bundles, and items managed by a third-party fulfilment service. ## Applying a count **Apply count** writes the variances to Shopify. You get a confirmation summary first, and if you have unsaved counts they are saved as part of applying. What gets written, and what does not: * **Only the variances.** A line counted at exactly the expected quantity is a real, useful result, and it is recorded on the count - but there is nothing to move, so nothing is sent to Shopify. * **Uncounted lines are left alone.** They are not treated as zero unless you ask for it. Stock nobody looked at is not stock that has gone missing. * **Found items are applied last**, after everything the count set out to cover. ### Setting uncounted SKUs to zero On a full stocktake, anything you did not count is not there. If uncounted SKUs in the count still show stock, the confirmation offers **Set uncounted SKUs to zero**. It is never ticked for you. Tick it and the confirmation tells you how many SKUs will be set to zero and how much stock that removes, before you apply. Those SKUs are recorded on the count as counted at zero, like any line you typed a zero into. It only reaches SKUs inside the count's scope, so a count of one vendor can only zero that vendor's items. SKUs already at zero are left uncounted, and so are SKUs below zero, which are usually deposits or oversold items rather than anything on a shelf. A large count is applied in the background. Shopify accepts 250 changes per call, so counting a whole warehouse takes dozens of them, and the page follows the progress rather than making you wait on a spinner. You can leave the page and come back; refreshing picks the progress back up. ### When Shopify refuses a line If an item's quantity changed between counting it and applying - a sale came in, or someone edited it in Shopify admin - Stockful does not apply that line blindly. The line is flagged, its expected quantity is refreshed, and the count stays open so you can look at it and apply again. This is deliberate. A sale between counting and applying preserves your variance, but a delivery does not, and nothing in the rejection can tell those two apart. The judgement is yours. Anything that did apply stays applied, so applying again only re-sends what has not landed yet. ## After applying An applied count is read-only: a permanent record of what was counted, what was expected, and what changed. Each line links through to that item's inventory history in Shopify admin, where the change appears as a stock count with a reference back to the Stockful document. Completed counts can be **archived** to keep the list tidy, and unarchived at any time. To take a completed count into a spreadsheet, click **Export CSV** at the top of the count. The file has one row per SKU with its expected quantity, the counted quantity, the variance and its value at unit cost, whether it was a found item, and whether Shopify refused the line. The variance is the one that was applied, so it stays the same however much the stock has moved since. # Dashboard Source: https://docs.stockful.app/user-guide/dashboard Your home screen, built around what needs action: how inventory is doing, what needs you today, and whether you're getting everything out of Stockful. The dashboard is your home screen. It answers three questions in order: how is my inventory doing, what needs me today, and am I getting everything out of Stockful? ![The Stockful dashboard](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/dashboard--main.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=4892f3d6ae7248d0575159ec3900a7bc) ## Metrics row Five clickable stats across the top. Where a trend badge appears, it compares with 7 days earlier - hover it for the exact change. * **Inventory value** - the cost value of all tracked stock on hand * **In stock** - the share of tracked SKUs with stock available right now * **Revenue at risk** - estimated revenue lost to out-of-stocks over the last 30 days * **Sell-through** - units sold in the last 30 days as a share of units sold plus stock on hand * **Forecast accuracy** - how closely Stockful's demand forecasts matched your actual sales. This builds up as weekly forecasts are graded against real sales, so new shops see a dash until enough weeks have been compared Click any stat to jump to its related report or page. ## Setup guide New and not-fully-set-up shops see a short checklist of the steps that unlock the rest of the app: setting up an alert, setting supplier lead times, turning on AI and anomaly alerts, and running a [health check](/user-guide/health-check) (plus choosing what to track, if you skipped the setup wizard). Steps tick themselves off automatically as you complete them anywhere in the app. If a step doesn't apply to you, click its circle to mark it complete; dismiss the whole card with the ✕ if you'd rather not see it. Once everything is done the guide disappears on its own. ## Stock health A horizontal bar showing how your tracked inventory breaks down: * **In Stock** - variants with healthy inventory levels * **Low Stock** - variants projected to run out in less than your [days-of-cover threshold](/user-guide/forecasting/settings#stock-status) * **Out of Stock** - variants with zero available quantity * **Overstocked** - variants exceeding your overstock threshold (in days of supply) ## Needs your attention The heart of the dashboard: a prioritised list of everything that needs action, one row per category, each with a count and the worst case spelled out: * **Reorders** - SKUs at or below their reorder point, with the most urgent one named ("Worst: Black Hoodie, 4 days of stock left with no incoming") * **Stockouts** - out-of-stock SKUs, with the highest-impact one and its estimated lost revenue * **Anomalies** - unusual sales spikes or drops detected by [Stockful AI](/user-guide/anomalies) * **Transfers** - suggested stock moves between your locations * **Clearance** - dead stock and the capital it ties up * **Traffic** - out-of-stock SKUs shoppers keep landing on, from [storefront traffic](/user-guide/traffic) Each row links straight to the report or page where you act on it. Categories with nothing to report don't appear - and when everything's healthy, the card says so. ## 30-day trend One chart with a view picker in its header: * **Inventory value** - cost and retail value over time, for spotting stock building up or depleting * **Stock issues** - the count of out-of-stock and low-stock SKUs over time, for seeing whether problems are trending up or improving ## Locations Visible when you track two or more locations. Each row shows in-stock %, out-of-stock and low-stock counts, and inventory value (cost, with retail beneath). Your hub gets a badge if you use [warehouse roles](/user-guide/locations#warehouse--hub-locations). Click a row for the location's detail page. ## Sidebar ### Since yesterday What changed since yesterday. Items back in stock and items newly out of stock compare yesterday's snapshot with live stock now, so a restock made this morning shows straight away. The change in low-stock count and the inventory value movement compare the last two daily snapshots. ### Projected stockouts The SKUs projected to run out within 7 days, most urgent first, each linking to its detail page. ### Top movers Your five fastest-selling SKUs by daily velocity. ### Do more with Stockful Quick links to surfaces beyond the dashboard: [storefront inventory display](/storefront/overview), [Shopify Flow automation](/flow/overview), [POS stock checks](/user-guide/shopify-admin#point-of-sale-extensions), and the [reports library](/user-guide/reports). ## AI assistant The sparkles button in the bottom-right corner opens the [AI assistant](/user-guide/ai-assistant). It's available from every page, not just the dashboard, and knows what you're looking at - so asking "what's going on with this SKU?" works on inventory and location detail pages too. # Email configuration Source: https://docs.stockful.app/user-guide/email-configuration See every email Stockful sends on your behalf, and send purchase orders, reports and alerts from your own domain. Stockful sends emails for you: purchase orders to your suppliers, and reports and alert digests to the people you choose. **Email configuration** shows what has been sent, and lets you send it all from your own domain. Go to **Settings**, then under the **App** section click **Email configuration**. ## Activity The top of the page shows how many emails went out in the last 30 days: * **Purchase order emails** - orders sent to suppliers * **Report emails** - scheduled and on-demand reports, counted per recipient * **Alert digests** - one per digest sent Below that, **Recent emails** lists each send with when it went out, its type, the purchase order subject, report name or alert name, and who it went to. Alert digests don't list recipients, because those are read from the alert at the moment it sends. ## Send from your own domain By default these emails come from a Stockful address. Connect your own domain and they come from addresses like `purchasing@yourstore.com` instead, so your suppliers and team see your business on every email, and your orders are far less likely to be treated as spam. Sending from your own domain costs **\$15 a month**. You are only charged once your domain is verified. See [Billing](#billing) below. > [!NOTE] > > You need a domain your business owns. Addresses at gmail.com, outlook.com, hotmail.com, icloud.com and similar can't be used, because nobody can add DNS records to them. ### Connect your domain 1. Click **Connect domain**. 2. Enter your domain, for example `yourstore.com`, and confirm. 3. Stockful shows the DNS records to add. Copy each **Name** and **Value** (and **Priority** for the MX record) into the DNS settings wherever your domain is managed, such as GoDaddy, Cloudflare or Squarespace. 4. Click **Check now**. DNS changes usually show up within a few minutes, but can take a few hours. If the domain still says **Waiting for DNS**, check again later. Stockful also checks every day, so a domain that verifies while you are away is picked up automatically. If it still isn't verified a day after you connected it, Stockful emails you a reminder listing the records that are missing, and once more after three days. Some DNS providers add your domain to the end of a value unless it ends with a full stop, so `send.forge.rmta.net` becomes `send.forge.rmta.net.yourstore.com`. Stockful spots this and tells you on the record. Edit the record and enter the value with a full stop at the end, for example `send.forge.rmta.net.` > [!TIP] > > On Cloudflare, set any CNAME record to **DNS only** (grey cloud). A proxied record can't be seen, so the domain won't verify. The records go on a dedicated subdomain and a signing key, so they don't touch your existing email, website or other DNS settings. ### Choose your sender addresses Once the domain is verified, set the address each type of email comes from: * **Purchase orders** - defaults to `purchasing@` * **Reports** - defaults to `reports@` * **Alerts and restock notices** - defaults to `alerts@` Leave one blank to keep that type on a Stockful address. Use addresses you are happy for people to see; supplier replies still go to the **Reply-to address** in [Purchasing settings](/user-guide/purchasing/settings#who-the-email-comes-from). Emails sent from your domain use your company name as the sender name. For purchase orders, the **Sender name** in Purchasing settings still applies if you have set one. ### If your domain stops working If the DNS records are removed or changed, the domain shows **Needs attention** and emails go out from a Stockful address until the records are back, so nothing is left unsent. A purchase order sent this way says so on its timeline. Put the records back and click **Check now**. ### Disconnect Click **Disconnect** to go back to Stockful addresses. You can connect a different domain afterwards. Reconnecting the same domain later may mean adding the DNS records again. ## Billing * \$15 a month, added to your Stockful bill as a usage charge. * The first charge is made when your domain is verified, then once each billing month while it stays connected. * It isn't prorated. Disconnecting partway through a month doesn't refund that month, and reconnecting the same domain in the same month isn't charged again. Connecting a different domain in the same month is a new charge. * If you are on a free trial, charges start with your first paid month. # FAQs Source: https://docs.stockful.app/user-guide/faqs Answers to common Stockful questions: how long the initial sync takes, how tracking and forecasting behave, and what the app does and does not change. ## How long does the initial sync take? It depends on the size of your catalog. Most stores finish within a few minutes. Larger catalogs (10,000+ products) may take longer. Sync starts automatically as soon as you reach the setup wizard - there's no button to click. You'll see a progress banner at the top of the app while it's running. ## How does the free trial work? Installing Stockful starts a 14-day free trial with full access to every feature - no plan selection or charge approval upfront. Subscribe any time during the trial and your remaining trial days are credited. If the trial ends without a subscription, the app becomes read-only for 7 days (your data keeps syncing), then tracking stops. Data is deleted 30 days after that, with an email warning beforehand. See [Plans & Billing](/user-guide/plans-and-billing) for details. ## Is Stockful free on development stores? Yes. Development and client-transfer stores get full access free for as long as the store is on a development Shopify plan. The 14-day trial starts automatically when the store moves to a paid plan. ## Do all plans include the same features? Yes. Every plan includes all features - reports, forecasting, alerts, health check, AI assistant, weekly digest, and anomaly detection. The only differences between plans are usage limits: tracked SKUs, locations, and your monthly AI chat message cap. ## What happens if I go over my plan limits? Overage charges apply for SKUs and locations (\$5 per 500 SKUs, \$5 per location), capped per month so costs stay predictable. See [Plans & Billing](/user-guide/plans-and-billing) for the exact cap on your plan. ## How often is inventory data updated? Inventory changes sync in real time via Shopify webhooks. Product data (titles, images, etc.) syncs once daily. ## Can I get alerts by email? Yes. Set an alert's **Where** to Email and add the recipients on that alert. Email alerts arrive as a daily or weekly summary rather than one message per event, because a per-event email on a large catalogue would be thousands of messages. Slack can be immediate or a summary. ## Why don't I see forecast data for a product? Forecasting requires sales history to calculate velocity. If a variant hasn't sold in the velocity period you've configured (default 30 days), there's no data to forecast from. ## Can I exclude products from tracking? Yes, in two ways. **Exclusion rules** under **Settings → Tracking** exclude whole groups, by vendor, product type, tag, collection, SKU, cost and more, and show what a change does before you save it. To stop tracking one SKU, open it and choose **Stop tracking this SKU** under More actions. To track one SKU a rule excludes, open it and choose **Track this SKU**. See [Tracking](/user-guide/tracking). ## Does Stockful move my stock? No. When you act on a [transfer suggestion](/user-guide/purchasing/transfer-suggestions), Stockful creates a **draft** [Shopify inventory transfer](https://help.shopify.com/en/manual/products/inventory/inventory-transfers) - nothing leaves the origin until you mark it ready to ship and ship it in Shopify yourself. Stockful never moves, commits, or receives stock on your behalf. ## What is the AI assistant and is it included? The [AI assistant](/user-guide/ai-assistant) is an in-app chat that answers questions about your inventory, explains Stockful concepts, and can propose changes (alerts, scheduled reports) that you confirm before they apply. It's available on every plan; each plan has its own monthly chat message cap. ## What other AI features come with Stockful? Alongside the assistant: a [weekly Slack digest](/user-guide/weekly-digest) summarising the week, [daily anomaly detection](/user-guide/anomalies) on your sales velocity, and AI-suggested forecast thresholds. All included on every plan. ## What data does Stockful send to OpenAI? AI features send product, inventory, and sales data needed to answer your question or produce the output (digest, anomaly narrative, suggestions). Customer contact details are never sent. See **Settings → AI** for the full data & privacy statement. ## Can I turn AI off? Yes. Go to **Settings → AI** and toggle **Enable Stockful AI** off. That stops the assistant, digests, anomaly scans, and threshold suggestions. You can also disable individual features without turning the whole thing off: switch off the weekly insights in **Settings → AI**, and deactivate your **Sales spike or drop** alert under **Alerts**. ## What happens if I uninstall Stockful? Uninstalling removes the app from your store. Your historical data is retained for 48 hours in case you reinstall. After that, all data is permanently deleted. Stockful does not modify any product, pricing, or order data in Shopify. We write to inventory in three places, all of them things you ask for: receiving a [purchase order](/user-guide/purchasing/purchase-orders/receiving) updates the stock you received, the [health check](/user-guide/health-check) can fix a missing cost, SKU or barcode in-app, and acting on a transfer suggestion creates the transfer. ## How do I contact support? Email us at [support@stockful.app](mailto:support@stockful.app). We typically respond within one business day. See [Contact Support](/support) for what to include in your message. # Forecasting Source: https://docs.stockful.app/user-guide/forecasting/index Stockful predicts future demand from your sales history, on every plan. Forecasts are available as soon as the initial 30-day sync completes. Stockful uses your sales history to predict future demand. Forecasting is available on all plans. > [!NOTE] > > Forecasting uses the 30 days of sales history synced during setup, so predictions are available as soon as your initial sync completes. Accuracy improves over time as more data accumulates. ## What you get For each variant at each location: | Metric | What it tells you | | - | - | | **Velocity** | How many units sell per day | | **Days of supply** | How long current stock will last at the current sales rate | | **Projected stockout date** | When inventory will run out, counting stock on hand and everything already on its way | | **Reorder point** | When you should place a reorder to avoid running out (accounts for lead time and safety stock) | | **Recommended order quantity** | How much to order based on your restock strategy | | **Sell-through rate** | What percentage of inventory has sold over the last 30 days | | **ABC classification** | Whether a SKU is an A (top revenue), B, or C tier item | | **Forecast accuracy** | How close past forecasts were to what actually sold, graded weekly | ## Where forecasts appear | Surface | What you see | | - | - | | **Inventory list** | Sortable columns for days of supply, velocity, reorder point, projected stockout, and stock status | | **Inventory detail page** | Full breakdown of forecast metrics for a variant at a location, plus the forecast chart and forecast accuracy | | **Reorder Recommendations report** | Items that should be reordered based on velocity and lead time | | **ABC Analysis report** | Revenue-based classification into A, B, and C tiers | ## Dig deeper > [card] [Forecast models](/user-guide/forecasting/models) > > How Stockful picks the right demand model per SKU, grades its own accuracy, and handles warehouse locations. > [card] [New products](/user-guide/forecasting/new-products) > > Give a brand-new product a forecast from day one by telling Stockful what it sells like. > [card] [Sales and promotions](/user-guide/forecasting/promotions) > > Automatic sale detection, plus the promotion calendar for declaring events before they happen. > [card] [Forecast settings](/user-guide/forecasting/settings) > > Global defaults for lead time, safety stock, velocity and restock strategy, and the low-stock threshold. > [card] [SKU overrides](/user-guide/forecasting/sku-overrides) > > Per-variant settings for products with their own supply chain, including AI-suggested values. # Marketplaces Source: https://docs.stockful.app/user-guide/forecasting/marketplaces Bring your eBay and Etsy sales into forecasts, so demand reflects the whole business, with Amazon to follow If you sell on eBay or Etsy as well as Shopify, a forecast built on Shopify alone sees only part of your demand. A product selling steadily on more than one channel looks slower than it really is, so its reorder point sits too low and it runs out earlier than the numbers led you to expect. Connecting a marketplace lets Stockful read your sales history from it, so sales rates, days of supply and reorder points reflect what the business actually sells rather than what one channel sells. ## Connecting a marketplace Go to **Settings**, then **Integrations**, and pick **eBay** or **Etsy** under Marketplaces. Press **Connect** and sign in. Stockful asks for read access only: your orders, and on Etsy the shop details that tell it which shop those orders belong to. The marketplace shows you exactly that before you agree. Stockful only ever **reads** from a marketplace. Nothing is written back: no listings, no prices, no stock levels. Once connected, the first sync reads your recent orders and every sync after that picks up new ones. **How far back** the first sync reaches is a setting on the same page, 90 days by default and up to a year. ## Letting it into your forecasts Connecting does not change any of your numbers on its own. **Include in forecasts** is a separate switch on the marketplace's page, off until you turn it on, so you can connect and look before anything moves. > [!NOTE] > > If your marketplace orders already arrive in Shopify, through Shopify's Marketplace Connect, the Etsy sales channel or a similar app, they are already in your forecast. The marketplace's page warns you when it sees them, because connecting it directly on top would count that demand twice and push your reorder points up. In that case leave it disconnected. Marketplace demand has no Shopify location, so it joins your forecast at the product level. On a store that forecasts per location, it lands on the hub location; a per-location store with no hub has nowhere to put it, and the page says so. ## Matching SKUs Marketplace sales are matched to your products by SKU first, then barcode. Anything that does not match is kept and listed on the marketplace's page for you to map rather than quietly dropped, so no sales history is lost while you sort a mismatch out. Mapping a SKU applies to sales already imported, not just future ones. ## Amazon Amazon is built and waiting on Amazon's own approval of the Stockful app. It appears under Marketplaces as soon as it is live. If there is a marketplace you need, email [support@stockful.app](mailto:support@stockful.app) and it goes on the list. Knowing which ones merchants actually sell on is what decides the order they arrive in. > [!NOTE] > > The term "Etsy" is a trademark of Etsy, Inc. This application uses the Etsy API but is not endorsed or certified by Etsy, Inc. # Forecast models Source: https://docs.stockful.app/user-guide/forecasting/models Self-tuning demand models, forecast accuracy, and hub locations ## Self-tuning forecast models ![A forecast chart showing actual stock, the projection and its confidence band, the reorder point, and the chosen model named beside the heading](https://mintcdn.com/ljsstudios/86tAjC986bJEdW5N/images/user-guide/forecasting--chart.png?fit=max\&auto=format\&n=86tAjC986bJEdW5N\&q=85\&s=8099bf8b6083a1262f6ae1e8c6c0097b) Stockful doesn't force every product onto a straight-line forecast. For each variant at each location it backtests a few demand models on that SKU's own history - a flat baseline, a **trend** model (demand rising or falling), and a **day-of-week** model (weekly buying patterns) - and adopts a richer model only when it clearly beats the baseline on recent weeks. Slow or sparse sellers stay on the simple baseline, so a forecast never gets worse by guessing at a pattern that isn't there. On the inventory detail page, the forecast chart shows the chosen model's projection: a curve rather than a straight line for SKUs with a real trend or weekly rhythm. Incoming shipments with an expected arrival date appear as a **step up** on the projection, so you can see stock replenish before it runs out. The projected stockout date counts every unit on its way whether or not it carries a date: the date only decides where the step sits on the chart. ## Warehouse / hub locations Locations with the **Hub (warehouse)** role measure demand differently: a hub's velocity reflects the total demand of every location it supplies, and its reorder points are sized for your supplier lead time. See [hub locations](/user-guide/locations#warehouse--hub-locations) for how roles are detected and overridden. ## Forecast accuracy Each week Stockful records the forecast it made, then grades it against what actually sold. The inventory detail page shows a **Forecast accuracy** figure once there are at least a couple of weeks to compare. You can also ask the AI assistant "how accurate are my forecasts?" or "where did the forecast miss, and why?" for a plain-English breakdown - including whether a miss lined up with a sale or a switch in model. Weeks a SKU was out of stock are left out of the grade, since there was nothing to sell. # New products Source: https://docs.stockful.app/user-guide/forecasting/new-products Give a brand-new product a forecast from day one by borrowing from a similar one A product that has just been listed has no sales history, but it still gets a forecast: Stockful estimates automatically from similar products you already sell, and you can point it at a specific product if you know exactly what it resembles. ## Automatic estimates When a new product appears, Stockful looks for at least three comparable products in your own catalogue - the same product type and vendor at a similar price, or sibling variants of the same product - measures how those sold in their own first four weeks, and projects the launch at a typical rate among them. No setup needed. If your catalogue has no comparable products, the new product simply waits for its own sales, exactly as before. ## Sells like another product On the new product's inventory detail page, open **Forecast overrides** and set **Forecast basis** to **Sells like another product**. Choosing is two steps: pick the product it resembles, then - if that product has more than one variant - pick which one. The preview shows exactly what you chose, down to the SKU. Stockful measures how the chosen product sold in its own first four weeks and projects the new product at that rate. Within a minute of saving you get a projection, a projected stockout date, a reorder point and a recommended order quantity - so a launch can appear in reorder recommendations before its first sale. ## Borrowing a seasonal pattern too Choosing a product to sell like also borrows its **season**, not just its rate, when that product has enough history to have one - around ten months of trading. This matters most for a product listed outside its own season. A garden game added in March has no history saying it sells through spring and summer and goes quiet by November, and its first few weeks of sales say the opposite. Pointed at a comparable product you have sold for a year or more, the new one is forecast on that product's shape: quiet months stay quiet and the season is built towards rather than discovered late. The rate and the pattern are borrowed separately, so a comparison product with less than a year behind it still lends its launch rate - it simply has no season to lend yet. Automatic estimates never borrow a season, only a rate, because products matched on type, vendor and price are not necessarily products that sell at the same time of year. As the new product accrues its own sales the borrowed rate hands over, and once it has traded through a full year Stockful fits the product's own seasonal pattern and stops borrowing one. ## Estimated, and clearly marked A borrowed forecast is an estimate, and Stockful says so everywhere it is used: * The forecast chart carries an **Estimated** badge, and its summary names the product the projection is based on * The **Forecast basis** row on the detail page shows the source product * Rows in reorder recommendations carry the same **Estimated** badge Only the forward projection borrows. Units sold, revenue and lost sales always report the product's own actual numbers. ## Handing over to real sales The borrowed rate is a starting point, not a permanent setting. As the new product accrues days of real selling, its own rate takes over: after about a week of in-stock sales the forecast is an even blend, and after about four weeks it runs entirely on its own history and the Estimated marker disappears. If early sales turn out very different from the comparison product, the handover happens faster - real signal always wins. ## Choosing a good comparison Pick something that sells to the same kind of customer at a similar price - the previous season's version of the same item is ideal. The comparison product needs around two months of sales history so its own early weeks are measurable; if it has too little history, the forecast stays empty until the new product earns one of its own. ## The other basis options | Basis | What it does | | - | - | | **Automatic** | The default. New products are estimated from similar products in your catalogue, handing over to their own sales as they accrue; established products always forecast from their own history. | | **Sells like another product** | Projects from the chosen product's early sales until this one has history. | | **Wait for real sales** | No forecast until this product has its own sales history, full stop. | # Sales and promotions Source: https://docs.stockful.app/user-guide/forecasting/promotions Automatic sale detection and the promotion calendar ## Automatic sale detection Promotions create demand spikes that aren't your real baseline, so Stockful detects sale days automatically and leaves them out of velocity, demand variability, and model training. No setup needed - detection covers: | Detected | How | | - | - | | **Price markdowns** | A compare-at price above the selling price, or a price meaningfully below the SKU's recent regular price | | **Discount codes and order-level promotions** | Days where at least half a SKU's ordered units sold with a 10%+ discount (small sweeteners like a 5% loyalty code are ignored on purpose) | This means a flash sale or BFCM weekend won't inflate reorder points, stockout forecasts, or trigger "unusual sales spike" alerts - spikes that line up with your own promotion are annotated, not alarmed on. If a SKU effectively only ever sells on sale, Stockful falls back to using its full history rather than leaving the forecast empty. ## Promotion calendar Sale detection handles promotions after the fact. The promotion calendar goes further: tell Stockful what's coming, and the forecast prepares for it. From **Settings → Promotions**, add an event with a date range, the sales uplift you expect, and which products it covers - your whole store, one or more collections, or specific SKUs. Events show as **upcoming**, **active** or **past** based on their dates. One declaration then feeds everything that would otherwise misread the window: | Where | What changes | | - | - | | **Reorder points and quantities** | Ahead of the event, both include the extra demand inside the window, so reorders land before the rush rather than after it | | **Your baseline** | Afterwards, days inside a declared window stay out of your baseline velocity and model training, so a big weekend doesn't read as your new normal and over-order you into the quieter weeks that follow | | **The forecast chart** | The projected stock line steepens across the window instead of depleting at your everyday rate straight through it, so the graph agrees with the reorder numbers beside it | | **Stock alerts** | Low stock, reorder point and traffic-surge alerts are held back inside the window. Stock moving fast during a promotion you planned is the promotion working, not an emergency | | **A readiness check** | Set up a **Promotion stock check** [alert](/user-guide/alerts/index) and Stockful tells you, days before the event, which SKUs are short of what the uplift implies | | **Reports** | Sales can be grouped or filtered by promotion, so you can compare a campaign against your ordinary trading rather than eyeballing a chart | | **Report charts** | Past windows are labelled on the events rail, so last year's spike reads as the promotion that caused it rather than an unexplained anomaly | > [!NOTE] > > Out of stock alerts are deliberately **not** held back during a promotion. Running out mid-campaign is lost sales and possibly a storefront problem, so it matters more then, not less. Back in stock alerts keep firing too, since a recovery is worth hearing about immediately. Details worth knowing: | Detail | Behaviour | | - | - | | **Uplift** | A percentage on top of your usual daily rate: +100% means double the usual sales, and a negative value models an expected dip. It combines with any demand adjustment you have set. | | **Overlapping events** | They don't stack - where two windows cover the same day, the larger uplift applies | | **Repeat events** | Work best declared both ways - add this year's BFCM dates for the pre-build, and last year's dates too so the old spike stays out of your baseline | | **Recompute timing** | Forecasts recompute within a few minutes of saving, editing or deleting an event | > [!TIP] > > If you ran the same promotion last year, use the lift you actually saw as your starting point for the uplift. A rough number from real history beats a precise guess. # Forecast settings Source: https://docs.stockful.app/user-guide/forecasting/settings Global defaults for lead time, safety stock, stock status thresholds, velocity and restock strategy, and the storefront traffic switches Configure defaults for all SKUs in **Settings → Forecasting**. These apply to every variant unless overridden at the SKU level. ![Forecasting settings](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/forecasting--settings.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=0b5daa568bb6be489d21bb9ddb1c0231) ## Replenishment | Setting | What it controls | | - | - | | **Lead time** | Days it takes to receive stock from your supplier (0–365, default 7). Longer lead time means earlier reorder recommendations. | | **Safety stock** | Extra days of buffer stock to keep on hand beyond lead time (0–365, default 3). Protects against demand spikes or shipping delays. | > [!NOTE] > > Where a SKU has enough sales history, Stockful sizes its safety stock **statistically** - from how variable that SKU's demand actually is and your target service level - rather than the flat day-buffer. The day-buffer above is the fallback for new or sparse SKUs. Once a supplier has five or more received purchase orders on record, their measured delivery variability widens the buffer automatically too - an erratic supplier earns more cover than a punctual one. ## Stock status These decide when a SKU counts as low, overstocked or dead stock. Alerts, the inventory list's stock status and reports all use them. | Setting | What it controls | | - | - | | **Low stock threshold** | A SKU is low when it's projected to run out within this many days at its current sales velocity (1-90, default 7). Because it's days of cover rather than a fixed unit count, the same threshold works for slow and fast sellers without tuning each SKU. | | **Low stock fallback** | Brand-new SKUs have no sales history yet, so days of cover can't be worked out. Until they do, a SKU is low when stock drops to or below this many units (1-50, default 5). | | **Overstock threshold** | A SKU is overstocked when it holds more than this many days of stock (1-365, default 90). | | **Dead stock threshold** | A SKU is dead stock after this many days without a sale (1-365, default 30). | The low stock threshold can be overridden for individual SKUs from [SKU overrides](/user-guide/forecasting/sku-overrides). Changing any of these recalculates stock status straight away. ## Velocity calculation | Setting | What it controls | | - | - | | **Velocity period** | Days of sales history to use when calculating how fast items sell (7–365, default 30). A longer period smooths out short-term spikes. | ## Restock strategy | Setting | What it controls | | - | - | | **Restock-to days** | How many days of supply you want after restocking (1–365, default 30). Higher values mean larger, less frequent orders. | | **Demand adjustment** | A percentage modifier applied to velocity (-100% to +500%). Use this to account for anticipated seasonal changes - for example, +50% ahead of a busy period. Leave blank for no adjustment. | | **Sales grouping** | How velocity is calculated for multi-location stores. **Per location** (default) calculates velocity separately at each location. **Combined** aggregates sales across all locations before calculating - useful when stock is fulfilled from a central warehouse. | > [!TIP] > > When in doubt, set a slightly longer lead time than your actual average. It's better to reorder a few days early than to run out waiting for a shipment. ## Order on demand Products set to **continue selling when out of stock** in Shopify are often sold to order rather than kept in stock. Turn this on and Stockful buys them against the orders you have already taken instead of against a forecast: no forecast-based replenishment, no safety stock and no target stock level. The recommendation becomes the quantity customers have ordered that you can't cover from stock on hand or stock already on order. It's off by default. Plenty of stores set continue selling across the whole catalogue and still stock those products normally, and turning it on there would drop every reorder quantity to zero. Individual products can opt in or out either way, from [SKU overrides](/user-guide/forecasting/sku-overrides). ## Storefront traffic The master switch for every [storefront traffic](/user-guide/traffic) surface, plus the opt-ins that let traffic change your reorder and forecast maths. On by default for the insight surfaces; the maths opt-ins are off until you turn them on. ## Settings hierarchy When calculating forecasts, Stockful resolves each setting in order: 1. **SKU override** - if set on the variant, use it 2. **Supplier default** - if the variant is linked to a supplier with a default lead time, use that 3. **Location** - for lead time only, if the row's location has its own lead time (set from the Locations page), use that 4. **Global default** - the value from Settings → Forecasting This lets you set sensible defaults globally, give a far-off warehouse its own lead time, override at the supplier level, and fine-tune individual SKUs where needed. # SKU overrides Source: https://docs.stockful.app/user-guide/forecasting/sku-overrides Per-variant lead time, safety stock, thresholds and manual sales rates Not every product has the same supply chain. From **Settings → Forecasting**, click **SKU overrides** to customise settings per variant. Each variant can override: | Override | What it does | | - | - | | **Lead time** | Supplier-specific lead time for this SKU | | **Safety stock** | Custom buffer for high-value or volatile items | | **Low stock threshold (days)** | Override the global days-of-cover low-stock threshold for this SKU | | **Restock-to days** | Custom restock target for this SKU | | **Demand adjustment** | SKU-specific seasonal or promotional adjustment | | **Reorder policy** | Whether this SKU is replenished from the **forecast** (the default) or from a **min/max** rule you set yourself. | | **Minimum** | Under min/max, the stock level that triggers a reorder. Only editable once the policy is set to min/max. | | **Maximum** | Under min/max, the level you want topped back up to. Only editable once the policy is set to min/max. | | **Order on demand** | Whether this SKU is bought against the orders already taken, with no forecast, safety stock or target stock level. **Follows shop setting** defers to the switch in Settings, then Forecasting, which reads Shopify's continue-selling setting. **On** and **Off** decide it for this SKU whatever the shop is set to. | | **Manual sales rate** | Pin a fixed daily sales rate (units/day) for this SKU. When set, it replaces the calculated velocity and any demand adjustment, and the SKU is projected at that flat rate, so its days of supply, reorder point and reorder quantity all follow it. Use it for a new product or a known upcoming change the sales history can't show yet. | Leave a field blank to inherit the global default; leave **Manual sales rate** blank to use Stockful's calculated velocity. A blank field means the SKU uses the default, not an override you have set. You can search by product name or SKU, filter by **Order on demand** to see which SKUs are set explicitly and which still follow the shop setting, and reset individual overrides back to defaults. One per-variant setting lives only on the inventory detail page, not in this grid: **Forecast basis**, which lets a brand-new product borrow its forecast from a similar one. See [new products](/user-guide/forecasting/new-products). ## Minimum and maximum stock levels Some products don't want forecasting. A slow but critical spare, a safety item, a line you simply always keep ten of: for those, set the numbers yourself. Switch a SKU's **Reorder policy** to **Min/max** and fill in a **Minimum** and a **Maximum**. From then on, Stockful ignores the forecast for that SKU and follows your rule instead: * It's flagged for reorder when stock drops to or below the **minimum** * The suggested quantity is whatever brings it back up to the **maximum** * Incoming stock and units already on an open purchase order are still netted out, so you're never told to order twice > [!NOTE] > > Min/max applies **at every tracked location**. A minimum of 10 across four locations means each of them is kept at 10, not 10 across the business. Because there's no forecast involved, none of the demand-based settings apply to a min/max SKU: lead time, safety stock, restock-to days, demand adjustment and the sales rate are all bypassed. The numbers you typed are the whole rule. This is also the one policy that surfaces products with **no recent sales at all**. A SKU that hasn't sold in months is invisible to a forecast, but if you've told Stockful to keep ten on the shelf, it will say so the moment you have nine. Both fields are required once the policy is set to min/max, and the maximum has to be at or above the minimum. A SKU can't be on min/max and **Order on demand** at the same time, as both replace the reorder calculation. You can set the policy here, on a single product from its inventory detail page, or in bulk by [importing a CSV](#importing-overrides). SKUs on a min/max rule are marked on [reorder recommendations](/user-guide/purchasing/reorder-recommendations), where the badge also shows what the forecast would have suggested, so you can see the two side by side. > [!TIP] > > Coming from Stocky and used to setting min and max per product? This is the same idea. ## Exporting your overrides **Export** downloads your per-SKU settings as a **CSV** or **Excel** file. Choose what goes in it: | Scope | What you get | | - | - | | **This page** | Just the rows on screen | | **All SKUs** | Every variant, ignoring your current search and filters | | **Selected** | The rows you've ticked | | **All matching the current filters** | Everything your search and filters currently match | **Selected** and **All matching the current filters** are only available when you've actually ticked rows or applied a filter. The file is generated on the server and streamed straight to your browser, so a large catalogue doesn't need to be loaded into the page first. ## Importing overrides **Import** takes a CSV back in, which is the fastest way to set values across hundreds of SKUs at once. **Download a template** from the import window if you'd rather start from a blank one, or export what you have, edit it, and import the same file back. Rows are matched on **variant ID**, **SKU** or **barcode**. You only need one of the three filled in per row, and an exported file already has all three. > [!WARNING] > > **A blank cell leaves that setting alone.** It does not clear it. To clear a setting, put a dash (`-`) in the cell. That rule is what makes the round trip safe: export fifteen columns, change one, import it back, and the other fourteen are untouched. Before anything is written you get a preview of every row and what will happen to it: | Status | Meaning | | - | - | | **Will update** | The row matched and has changes to apply | | **Not found** | No variant matches that ID, SKU or barcode | | **Matches more than one** | The identifier is ambiguous, so the row is skipped rather than guessed at | | **Not tracked** | The variant is excluded or not tracked by Stockful | | **Already in this file** | An earlier row already matched the same variant | | **Nothing to change** | Every cell in the row was blank | | **Could not read** | A cell couldn't be understood, and the column is named | Only **Will update** rows are applied. Everything else is skipped and left exactly as it was. Recommendations recalculate after an import, so it takes a few minutes for the new numbers to appear on [reorder recommendations](/user-guide/purchasing/reorder-recommendations). ## AI-suggested thresholds On the SKU overrides page, click **Suggest with AI** to have Stockful's assistant recommend values for lead time, safety stock, low-stock threshold, and restock-to days. Suggestions are based on each SKU's actual sales history, variability, and supplier link. Each suggested field comes with a one-sentence explanation; you can apply suggestions individually or all at once. Bulk mode runs across many selected SKUs; the same suggestion is also available in the inventory detail modal for single-SKU tuning. # Finding your way around Source: https://docs.stockful.app/user-guide/getting-started/finding-your-way-around A quick tour of Stockful inside your Shopify admin: where to find each sidebar section and what the different parts of the app are for. Stockful lives inside your Shopify admin. Open it from the **Apps** section in the Shopify sidebar. ![The Stockful app inside Shopify admin, with the sidebar on the left](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/tour--full-frame.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=88a43b3b795dc533ecec46afae4d0006) ## Sidebar The sidebar gives you access to everything: | Section | What you'll find | | - | - | | **Stockful** | The top-level app item opens the dashboard - summary cards, charts, and what needs your attention | | **Inventory** | A detailed inventory list you can filter by location, stock status, product type, and more. **Stock adjustments** live here too, opened from the button in the page header | | **Locations** | Per-location inventory breakdown | | **Reports** | Generate, schedule, and export inventory reports | | **Purchasing** | Reorder recommendations, purchase orders, suppliers, transfer suggestions, and incoming stock | | **Anomalies** | Unusual sales spikes and drops flagged by anomaly detection | | **Alerts** | Rules that tell you in Slack when stock runs low, sells out, comes back, or hits its reorder point | | **Settings** | Tracking preferences, alerts, forecasting config, Slack, locations, and billing | ## Tips * **Search** is available on most list pages - type a product name, SKU, or barcode to find items quickly * **Filters** narrow results by location, stock status, vendor, product type, or tags * **Click any inventory row** to see its detail page with historical charts and forecast metrics # Overview Source: https://docs.stockful.app/user-guide/getting-started/index Get started with Stockful: install the app, sync your catalogue, and begin tracking every stock change across all your Shopify locations in real time. Stockful tracks your Shopify inventory in real time - every stock change, across all your locations, recorded automatically. Get alerts before you run out, see historical trends, and forecast future demand. ![The Stockful dashboard: stat cards, stock health, projected stockouts, and top movers](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/getting-started--hero.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=879f7dce0adf3dc15c7586c62518def1) > [card] [Installing & Setup](/user-guide/getting-started/installing-and-setup) > > Install the app, start your free trial, and configure tracking > [card] [Finding your way around](/user-guide/getting-started/finding-your-way-around) > > A quick tour of the Stockful interface # Installing & Setup Source: https://docs.stockful.app/user-guide/getting-started/installing-and-setup Install Stockful from the Shopify App Store and work through setup, from the initial catalogue sync to tracking stock across each of your locations. ## Install from the Shopify App Store 1. Find **Stockful** in the [Shopify App Store](https://apps.shopify.com/stockful-inventory-management?utm_source=stockful-docs\&utm_medium=docs\&utm_content=installing-and-setup) or search for it from your Shopify admin 2. Click **Add app**, review the permissions, and click **Install app** Stockful uses read access for most data. Write permissions are requested for product metafield definitions (used for custom filtering) and inventory transfers (used for acting on transfer suggestions). ## Your free trial starts immediately Installing starts a **14-day free trial** with full access to every feature. There's no plan selection or charge approval upfront - you go straight into the app. You can subscribe at any point from **Settings → Account & billing**; any remaining trial days are credited, so subscribing early never shortens your trial. See [Plans & Billing](/user-guide/plans-and-billing) for pricing, limits, and what happens when the trial ends. > [!NOTE] > > Development and client-transfer stores get Stockful free for as long as the store is on a development plan. The 14-day trial starts automatically when the store moves to a paid Shopify plan. ## Complete the setup wizard ![The setup wizard's route choice: recommended or manual](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/setup--route-choice.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=83abdb407e7821bf0274404930d1dd14) The setup wizard walks you through a few quick steps before tracking begins. You'll first pick between two flows: * **Recommended** - Stockful's AI looks at your catalog and proposes sensible defaults for tracking thresholds, forecasting, and alerts. You review and tweak before applying. Faster path, good for most stores. * **Manual** - you set everything yourself, step by step. Pick this if you already know what you want or prefer full control from the start. Stockful starts syncing your store in the background as soon as you finish onboarding - the wizard doesn't ask you to wait. Both flows are short. ### Recommended flow 1. **AI analysis** - the assistant scans your catalog and proposes a starting config (low-stock threshold in days of cover, forecasting defaults, alerts). The analysis can't start until the initial sync has finished importing your products, variants, and current stock levels, so you'll see a sync progress screen first if you got here quickly. Both screens advance automatically; nothing to click. 2. **Review and apply** - tweak any of the proposals before applying. That's it - you land in the dashboard with sensible defaults in place. ### Manual flow 1. **Choose locations** - select which Shopify locations to track. 2. **Exclusion rules** - optionally exclude product types, vendors, tags, or specific products from tracking. 3. **AI features** - opt in to (or skip) the AI assistant, weekly digest, anomaly detection, and threshold suggestions. Everything else - thresholds, forecasting defaults, alerts, Slack, storefront metafields - is configured later in [Settings](/user-guide/settings) once you're in the app. > [!TIP] > > You can change any of these settings later in [Settings](/user-guide/settings), and you can re-run the wizard any time from **Settings → Relaunch setup wizard**. Don't worry about getting everything perfect upfront - the [health check](/user-guide/health-check) will flag anything worth tightening once you've been live for a while. ## The initial sync Stockful starts importing your products, variants, and current stock levels in the background as soon as you reach the wizard - no button to click. You'll see a progress banner at the top of the app while it's running. | Store size | Estimated time | | - | - | | Under 1,000 variants | Under 1 minute | | 1,000–10,000 variants | 1–5 minutes | | 10,000–50,000 variants | 5–15 minutes | | 50,000+ variants | 15–30 minutes | Once the sync finishes, Stockful switches to real-time tracking. Every inventory change from that point forward is recorded automatically - no action needed from you. > [!NOTE] > > Live inventory tracking starts from the moment Stockful is installed. To fill in the past, Stockful also imports up to 2 years of sales history and reconstructs up to 1 year of stock history in the background after the initial sync, so analytics, reports, and trends don't start from zero. The syncing banner stays visible until this import finishes - on stores with a long sales history it can take a few hours, and analytics will keep filling in during that time. ## Uninstalling To remove Stockful, go to **Settings → Apps and sales channels** in your Shopify admin and click **Remove app**. > [!WARNING] > > Your data is retained for 48 hours after uninstalling in case you change your mind. If you reinstall within that window, your history will be restored. After 48 hours, all data is permanently deleted. Export any reports you want to keep before removing the app. # Health check Source: https://docs.stockful.app/user-guide/health-check An audit of your tracking config, forecasting setup, alert health and catalogue data quality, surfacing the gaps with one-click fixes. The health check looks across your shop's tracking config, forecasting setup, alert health, and catalog data quality, and surfaces any gaps that are getting in the way of accurate forecasts and alerts. Each finding is tailored to your actual data, with a clear path to fix it. ![Health check findings and score](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/ai--health-check.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=da7667801942ee4994a50438706f721a) > [!NOTE] > > Find it under **Settings** → **Health check**. The check is manual - hit **Run health check** and it scans your shop. You can run it once a day. ## What's audited The check covers five areas: | Area | Examples of what it flags | | - | - | | **Data quality** | Products without cost data, price below cost | | **Catalog quality** | Products without images, missing barcodes, missing SKU codes | | **Tracking config** | Locations you have inventory at but aren't tracking; products that aren't included in tracking despite having sales | | **Forecasting health** | Lead time set to zero, missing safety stock, demand adjustment that contradicts recent trends; with [storefront traffic](/user-guide/traffic) on, also high-traffic stockouts, traffic that never sells, and searches matching nothing in your catalogue | | **Alert health** | Slack disconnected while alerts still point at it, no active alerts at all, no low stock alert configured | Each finding is grouped by category - **Critical** (needs attention now), **Warning** (worth a quick review), or **Recommendation** (polish your setup) - with a short explanation of what was detected and why it matters, plus a fix path. ## Fixing findings ![Drilling into critical health check findings](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/ai--health-check-findings.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=ae79b4648a869fd280d5c9e92a0cd500) Each finding has one of these fix paths: * **In-app fix** - Stockful gives you a focused page (filter pre-applied) to edit the relevant data. The main example is the **inventory fix page** at `/settings/health-check/inventory-fix`, which handles missing cost, missing SKU code, missing barcode, and price-below-cost from one table with inline edits. * **Link to a report** - for things like slow-moving inventory, the fix button opens the relevant Stockful report so you can dig in. * **Shopify admin deep link** - for things Stockful can't change (product images, base catalog data), the fix button opens the right page in Shopify Admin in a new tab. If a finding doesn't apply to your shop, **Dismiss** it - dismissed findings drop out of the open list and stay dismissed on later runs unless they get worse. Use the **Dismissed** tab to review or **Restore** them. ## Overall score The check produces a **health score** (0-100) per area and overall. Scores update each time the check runs. The score is a rough indicator, not a target - some merchants have legitimate reasons for findings that won't move (e.g. products genuinely without barcodes). ## How often it runs The check is manual. Click **Run health check** to start a scan; the whole run takes about 30 seconds and results appear once it completes. There's a **24-hour cooldown** between runs - once a run completes, **Run again** is disabled with a tooltip showing when the next run is available. You don't need to re-run to verify a fix, though: fixes made through Stockful's own fix pages re-check their finding straight away. ## Plan availability Available on all plans. ## Troubleshooting * **No findings showing** - either the check hasn't been run yet (click **Run health check**) or your shop genuinely passes everything (unusual but possible for small, well-curated catalogs). * **Finding I fixed is still listed** - fixes made through Stockful's fix pages re-check straight away; changes made elsewhere (in Shopify admin, for example) are picked up on the next run, available daily. * **Finding that doesn't apply to your shop** - **Dismiss** it. # Inventory Source: https://docs.stockful.app/user-guide/inventory Search and filter every variant across all tracked locations by product name, SKU or barcode, and narrow the list down to exactly what you need. ## Inventory list ![The inventory list with search and filters](https://mintcdn.com/ljsstudios/h23UgSNwKd6TLSfh/images/user-guide/inventory--index.png?fit=max\&auto=format\&n=h23UgSNwKd6TLSfh\&q=85\&s=ec885c52fd4e2bb066b2b4fec69af870) The **Inventory** page shows every variant across all tracked locations. Search by product name, SKU, or barcode, and use filters to narrow the list. Across the top: what your stock is worth, how many SKUs are low, out of stock or overstocked, and what stockouts have cost you in lost revenue. Click **Low stock**, **Out of stock** or **Overstocked** to filter the list to those SKUs. ### Columns Every row says whether the SKU is in trouble, not just what is on the shelf: * **Product** - title, variant and image * **SKU** - the variant's SKU * **Status** - in stock, low stock, out of stock or overstocked * **Committed** - units allocated to orders that have not shipped yet * **Available** - units sellable right now * **On hand** - everything physically at the location, including committed, reserved, damaged, safety stock and quality control units * **Incoming** - units on their way from a transfer or shipment in transit * **Velocity** - units sold per day * **Days of Supply** - how long the stock lasts at that rate, highlighted when the SKU is low or out of stock * **Runs out** - the date the stock is projected to hit zero, counting everything already on its way. Incoming units push the date back whether or not the shipment carries an arrival date, the same way the reorder recommendations net them out, so you are never told to order by a date for stock that is already coming * **Order by** - the date to place an order so it arrives before that, taking the lead time off the runs-out date. The lead time is the SKU's own if it has one, otherwise the location's, otherwise the store default. Once that date has passed the column reads **Order now** * **Days OOS** - days spent out of stock in the last 30 * **Sold** - units sold over your velocity calculation period (Settings → Forecasting). The header shows the number of days it covers, so a store on a 90-day period sees **Sold 90d**. For stores on standard order tracking the window is capped at the 90 days of order history Stockful keeps * **Last sold** - the date it last moved * **Inventory Value** - what is on the shelf, at cost and at retail Sort by any of them. **Runs out** and **Order by** are the two to sort by when you are deciding what to buy this week. Ten of them are shown to begin with. Committed, On hand, Order by, Days OOS and Last sold start hidden - use the columns button on the right of the search bar to bring them in, hide the ones you do not need, or reorder them. Your choice is remembered on this device. > [!NOTE] > > **Runs out** and **Order by** are blank for a SKU with no recent sales - there is no demand to project from, which is a different thing from running out today. A SKU that is out of stock today with a shipment on its way shows **Out of stock** in the status column and a **Runs out** date in the future at the same time: the status is the shelf now, the date is the shelf plus what is coming. Whether that shipment lands in time is the [Incoming](/user-guide/purchasing/incoming) page's job. ### Ordering from the list Tick the SKUs you want to buy and choose **Add to purchase order**. Start a new order and Stockful groups them by supplier, prices the lines from the supplier's cost, and opens the drafts for you to check before sending. Choose one of your open drafts instead and the SKUs go straight onto it. A SKU that is below its reorder point arrives with a suggested quantity. One that is not comes in at a single unit, for you to set on the order. Anything without a primary supplier cannot go on an order, so it is listed separately and skipped. Assign a supplier there and then, and it joins the rest. ### Tracking from the list Tick SKUs and choose **Stop tracking** to take them out of tracking without touching your exclusion rules, or **Track** on SKUs a rule excludes to track them anyway. The confirmation shows how your tracked SKU count and stock value change first. See [Tracking](/user-guide/tracking#setting-a-single-sku). ### Views Save any combination of search, filters and sorting as a view, and it appears in the selector on the left of the search bar. Useful for the checks you repeat: everything low at one warehouse, or every SKU from one supplier. ### Filtering Filters help you find exactly what you need: * **Location** - focus on a single warehouse or store * **Stock status** - low stock, out of stock, in stock, overstocked * **Product type, vendor, tags** - filter by product attributes * **Tracking status** - SKUs that aren't tracked, and why: excluded by a rule, untracked in Shopify, a bundle, paused at your plan's limit, or set to never track. The list shows tracked SKUs until you use this filter. See [Tracking](/user-guide/tracking) You can also filter by **category, collection, sales channels & catalogs, bundles**, and your own **metafields** - see [Product filters](/user-guide/product-filters) for the full list. Combine multiple filters to build precise views - for example, "low stock items from Vendor X at the Main Warehouse." > [!TIP] > > Filters persist while you navigate. If you're not seeing the data you expect, check whether a filter is still active. ## Inventory detail ![An inventory detail page showing stock, forecast, movement history and how the SKU compares](https://mintcdn.com/ljsstudios/mC9llsAgcSEzYqwl/images/user-guide/inventory--detail.png?fit=max\&auto=format\&n=mC9llsAgcSEzYqwl\&q=85\&s=eb8b6df7a69a9aa31b03a9139abcbfa6) Click any row to open the detail page for that variant at that location. A SKU that isn't tracked opens a page saying why instead, with the way to change it. See [A SKU's own page](/user-guide/tracking#a-skus-own-page). ### Stock Every quantity Shopify holds for this variant at this location, with the total in the middle of the ring: * **Available** - sellable right now * **Committed** - allocated to orders that have not shipped * **Reserved, damaged, safety stock, quality control** - Shopify's other on-hand states * **Incoming** - on its way, shown alongside the rest Available and committed always appear. The other states only hold units in some businesses, so the settings cog lets you hide the empty ones, switch the ring to **value at cost**, or leave incoming stock out of the total. ### Forecast A projection of this SKU's stock, with your reorder point marked and a shaded band showing the expected range given how much demand varies. The sentence above it states the conclusion: when it runs out, or how many units to order and by when. The cog controls how much history and projection to show, whether to draw it as a line or an area, and whether to show the band. ### Movement history What actually happened to this SKU here: units sold, deliveries received against a purchase order, and stock adjustments, each with the running balance. This is the record the forecast is calculated from. Sales are recorded per day rather than per order. Receipts and adjustments name the document behind them. ### How this SKU compares Where this variant sits against the rest of your catalogue - its rank by units sold and by revenue, its sell-through against the average for SKUs that sell, and its share of your total stock value. ### Reference Down the side: what this SKU is called elsewhere, what it costs and sells for, and who supplies it. Two costs are shown rather than one, because they are different numbers: * **Cost per item** - what you have set in Shopify. Always matches what Shopify admin shows. * **Average landed cost** - what your receipts say the units actually cost, including freight, duty and any other charges you recorded on the purchase order, plus any [cost adjustments](/user-guide/counts-and-adjustments/cost-adjustments) added since. Only appears once you have received stock or added a cost adjustment. Margin is measured against landed cost where there is one, since that is what the units cost you, and the row says which of the two it used. ### Inventory by location Only shown when this SKU is stocked in more than one place. Click any location to open the same SKU there. ### Actions * **Adjust stock** starts a new [adjustment](/user-guide/adjustments) with the item and location already filled in * **Edit details** opens SKU, barcode, HS code and cost per item for editing Under **More actions**: * **Add to purchase order** puts this SKU on a new or existing draft * **Transfer stock** sends units to another of your locations. Hidden if you only track one. * **Snooze alerts** stops this SKU being mentioned in alerts for a set number of days, with an optional reason. It applies to the whole SKU rather than one location, so a SKU you have silenced stays quiet wherever it is stocked. Once snoozed, the same menu offers **Resume alerts**, and so does the banner at the top of the page. * **Forecast overrides** sets this SKU's lead time, safety stock and other forecasting inputs * **Stop tracking this SKU** takes it out of tracking, optionally until a date, without changing your exclusion rules. A SKU set to always track shows an **Always tracked** badge, and this menu also offers **Follow rules again**. See [Tracking](/user-guide/tracking#setting-a-single-sku) * **View in admin** opens the product in Shopify ### Editing SKU, barcode, HS code and cost **Edit details** writes straight to Shopify, so what you change here is what Shopify shows. * **SKU** and **barcode** must be unique across your catalogue. Shopify rejects a duplicate and the message appears on the field. * **HS code** is 6 to 13 digits, used for customs declarations on international orders. * **Cost per item** is Shopify's cost. It does not change your average landed cost, which is calculated from receipts. Everything else about the product - its title, options, price and images - is edited in Shopify admin, which **View in admin** opens. ## Bundles A fixed bundle holds no stock of its own - Shopify works out how many are sellable from the components inside it, and Stockful reads every bundle sale as demand for those components, so the parts get real sales rates and reorder advice. To see what's inside a bundle without leaving the Shopify admin, add the **Stockful: Bundle components** block to the product page - it lists each component product and clicks through to it. See [Shopify admin](/user-guide/shopify-admin#bundle-components-block) for the block and how to add it. ## Incoming stock When you have units on their way to a location - from a [Shopify inventory transfer](https://help.shopify.com/en/manual/products/inventory/inventory-transfers) or shipment marked in transit - Stockful tracks them as **incoming**. Incoming stock is netted into your [reorder recommendations](/user-guide/purchasing/reorder-recommendations), [transfer suggestions](/user-guide/purchasing/transfer-suggestions), and the dashboard, so Stockful won't tell you to reorder or transfer stock that's already on its way. It deliberately does **not** change a variant's stock status or days of supply - those reflect what's physically on hand today. Incoming clears automatically as shipments are received. ## Raw materials If you make what you sell rather than buying it finished, the things you consume - flour, wax, fabric, packaging - are not Shopify products and do not appear in the inventory list. Stockful holds them as their own catalogue, with recipes tying them to what you sell and batches turning one into the other. See [Raw materials](/user-guide/raw-materials/index) for the catalogue, bills of materials, batches and reordering. # Locations Source: https://docs.stockful.app/user-guide/locations Stockful tracks stock independently at every Shopify location, so you see levels, changes and trends per warehouse, retail store or fulfilment centre. Stockful tracks inventory independently at each of your Shopify locations. This means you can see stock levels, changes, and trends separately for every warehouse, retail store, or fulfillment center. ## Location list ![The locations page with per-location inventory breakdown](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/locations--page.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=1201b3afbd970d052524ce48408311ee) The **Locations** page lists every location on your store, tracked or not. Each tracked row shows what it holds and how it is doing: SKUs, inventory value and how that value has moved, units on hand, out of stock and low stock counts, how many SKUs need reordering, units on their way in, and the share of its SKUs currently in stock. Badges name what a location is - default, hub, record only, deactivated, or still syncing. You can search by name or city, sort by any column, and choose which columns to show. Locations you have not switched on appear too, marked **Not tracked**. They carry no figures, because Stockful is not watching them, but they are there so a store with ten locations and one tracked can see the other nine exist. Click any location to open it. ## A single location ![The locations page with per-location inventory breakdown](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/locations--page.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=1201b3afbd970d052524ce48408311ee) A location's own page opens with its stock as a single ring: what is sellable, what is committed to orders, what is reserved, damaged, held for quality control or set aside as safety stock, and what is on its way in. A gear on the card chooses which of those states to count as on hand. Below it: * **Stock levels** charts the location over time. The gear picks what to plot - units on hand, value at cost, value at retail, SKUs stocked, SKUs out of stock - and over what period. Pick more than one and they share the chart, with counts and money on their own axes. * **Incoming stock** lists what is on its way, soonest first, and flags anything arriving after its SKU is due to run out. * **Counts and adjustments** is the record of what people have done to the place: stocktakes, write-offs and corrections, with the net units and value each one moved. Alongside them, **Needs attention** counts the SKUs here that are out of stock, low, due a reorder, dead or overstocked, each opening that report already filtered to this location. **Location comparison** ranks the location against your others on stock value, in-stock rate and SKUs stocked, and **Transfer suggestions** shows stock worth moving in or out. The header carries the things you do to a location: view its inventory, start a stock count here, raise a purchase order into it, or edit its details. ## Editing a location Choose **Edit details** on a location's page to change its name, address, phone number and whether Shopify fulfils online orders from it, alongside the settings Stockful owns - its type, how receiving behaves, its days of cover and its lead time. Everything saves in one go, and the Shopify-owned fields are written straight to Shopify. ## Location settings The four settings Stockful owns - **type**, **receiving**, **days of cover** and **lead time** - are set from the Locations page. Choose **Location settings** on a row's menu for one location, or tick several rows and use **Location settings** on the selection bar to give them all the same value. In the selection form, anything you leave blank stays as it is at each location, so putting seven stores on 21 days of cover leaves the hub's type alone. The gear beside each tracked location on Settings → Locations opens the same form. Receiving, days of cover and lead time are also available as columns on the Locations page, under **Edit columns**. > [!NOTE] > > A location's address is the delivery address printed on purchase orders and packing slips you send to suppliers, so it is worth getting right even for a location you never ship from yourself. If a location is backed by a fulfillment service, Shopify does not allow online order fulfilment to be switched off for it, and Stockful says so rather than letting the save fail. ## Choosing which locations to track ![Location tracking settings, one checkbox per location](https://mintcdn.com/ljsstudios/nmxsBYxd5Z7Sn8DI/images/user-guide/locations--settings.png?fit=max\&auto=format\&n=nmxsBYxd5Z7Sn8DI\&q=85\&s=4d38c84392766fc3954c5f6c71844152) You select which locations to track during the setup wizard. To change this later, go to **Settings → Locations**, where every location has a checkbox, use the menu on any row of the Locations page, or open an untracked location and choose **Track location**. Switching one on pulls its current levels from Shopify, which takes a minute or two. Stockful says so while it happens rather than showing you zeros, and the page fills in on its own when the stock lands. Switching one off stops monitoring it. Its history is kept for 30 days, so tracking it again within that window picks up where it left off. > [!NOTE] > > Only tracked locations count toward your plan limit. If you have locations you don't need to monitor, leave them disabled to save on your plan allocation. ## Warehouse / hub locations If you run a central warehouse that mostly buys from suppliers and restocks your other locations (rather than fulfilling customers directly), Stockful treats it differently from a fulfillment location: * **Demand at the hub** is measured against the total demand of every location it supplies, so reorder suggestions at the hub reflect what your whole business sells - not the near-zero direct sales at the warehouse itself. * **Reorder points at the hub** are sized for your supplier lead time, since the hub is where supplier orders happen. * Hub stock is **excluded from dead-stock and clearance reports** (it isn't stale just because it doesn't sell directly), and transfer suggestions prefer the hub as the source when a store runs low. Stockful detects hubs automatically: a location that can't fulfill online orders (a setting on the location in Shopify admin) and has no recent fulfillment activity is treated as a hub. You can override this any time from the Locations page - choose **Location settings** on the row's menu and set it to **Hub (warehouse)** or **Fulfillment** explicitly, or leave it on **Automatic**. ### Days of cover Each location also has its own **days of cover**, set next to its type: how many days of sales it holds before stock counts as surplus, and what a transfer tops it up to. Leave it blank for the 30-day default. A warehouse that should sit deeper than its stores, say 45 days at the hub and 21 at each store, sets the two numbers and [transfer suggestions](/user-guide/purchasing/transfer-suggestions) work to them. ### Lead time A location can also carry its own **lead time**: how long stock ordered for it takes to arrive. A store with a home warehouse 16 days from its supplier and a 3PL 45 days away by sea sets the two numbers, and each location's reorder points and suggested quantities are sized to its own wait. Leave it blank for the store default from Settings → Forecasting. A lead time set on a SKU or a supplier still wins over the location's, since it describes the product rather than the destination. A store that forecasts on combined sales across locations buys for the whole pool rather than a location, so it does not see this field. ## Record-only receiving By default, receiving a purchase order in Stockful lands the accepted units in Shopify at the destination location. That's usually what you want - but if a location's Shopify stock is managed by something else, such as a 3PL's warehouse system or a marketplace sync app, Stockful writing there too would count the same arrival twice. For those locations, set **Receiving** to **Record in Stockful only** in the location's settings. Purchase orders destined for that location still work exactly the same way - shipments, incoming stock, receipts, landed costs and reorder maths all behave as normal - but receiving never changes Shopify stock. The external system stays the owner of the location's balance, and Stockful picks the numbers up from Shopify as it always does. > [!NOTE] > > The setting applies per location and only to purchase order receiving. Stock adjustments and counts are deliberate corrections, so they still write to Shopify wherever you make them. ## Deactivated locations Deactivating a location in Shopify makes you move its stock somewhere else first, so a deactivated location holds nothing. Stockful keeps its row and its history, badges it as deactivated, and says on its page that nothing is arriving or leaving while it is switched off. ## Per-location data throughout the app Location filtering isn't limited to the Locations page - you can filter by location on the Inventory page, in reports, and in alerts. # MCP server Source: https://docs.stockful.app/user-guide/mcp-server Stockful's remote MCP server lets Claude, Cursor, VS Code and ChatGPT read your live inventory, forecasts and alerts, and act on them directly. Stockful runs a remote MCP (Model Context Protocol) server, so AI tools like the Claude desktop app, Claude Code, Cursor, VS Code and ChatGPT can read your store's live inventory, forecasts and alerts, and act on them, straight from the chat you already work in. ![MCP server connection settings](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/ai--mcp.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=17c96f699a0b70ac9fb0668bb696a812) It's built on the same data as Stockful's in-app [AI assistant](/user-guide/ai-assistant), with a wider set of tools for purchasing and stock, exposed to the AI tool of your choice. > [!NOTE] > > Available on all plans. MCP usage runs in your own AI tool and doesn't count against your in-app assistant message allowance. ## What you can do Once connected, ask your AI tool questions about your store: * "What's low on stock at my London warehouse?" * "What's my stock worth right now, by location?" * "Which products drive most of my revenue?" (ABC analysis) * "What are stockouts costing me this month?" * "Any unusual demand this week?" Every connection can read. A connection you grant write access to can also make changes, and your AI tool asks you to confirm each one first. ### Purchasing * Create and edit suppliers * Create and edit draft purchase orders * Raise draft purchase orders straight from your reorder recommendations, grouped by supplier * Mark a draft purchase order as ordered * Add a shipment to an ordered purchase order with its tracking number, carrier and expected arrival, so the units show as incoming * See and update the shipments on a purchase order * Receive stock against an ordered purchase order * Cancel a draft or ordered purchase order, or delete a draft Purchase orders are always created as drafts, and nothing is ever sent to your supplier. You review and send the order yourself in Stockful. ### Supplier price lists * See what a supplier charges for each product, along with their SKU, pack size and minimum order quantity * Add products to a supplier's price list, or update and remove entries * Set the primary supplier for a product Purchase order lines inherit from the price list, so this is worth setting up first. Ask your AI tool to add a supplier's catalogue from a spreadsheet and it will fill in the terms for you. ### Stock adjustments * Create a draft adjustment for write-offs, damages or a recount * Perform an adjustment, which applies it to your Shopify inventory ### Alerts and reports * Create a notification rule, or turn an existing one on and off * Schedule a report, or turn an existing schedule on and off * Snooze and un-snooze reorder recommendations * Dismiss and restore transfer suggestions * Adjust forecast defaults or a single product's thresholds > [!WARNING] > > Receiving a purchase order and performing a stock adjustment both change stock levels in Shopify, and neither can be undone. Your AI tool asks you to confirm before either runs, so read the quantities before you accept. ## Permissions Each connection is either read only or read and write. You choose when you create it, and it can't be changed afterwards: to change what a connection can do, revoke it and create a new one. * **Read only.** The connection can see your data and answer questions about it. It can't change anything. This is the default. * **Read and write.** The connection can also make the changes listed above. Grant write access when you want your AI tool to do the work rather than just report on it. Keep a connection read only when it's for reporting, or when you're sharing it with someone who shouldn't be making changes. Changes made through a connection are recorded against its name. A purchase order raised by a connection called "Claude on my laptop" says so in its timeline, so you can always tell an AI-made change from your own. ## Create a connection 1. In Stockful, go to **Settings** → **MCP server**. 2. Click **Create connection** and give it a name you'll recognise (for example "Claude on my laptop"). 3. Tick **Allow write access** if you want this connection to be able to make changes. Leave it unticked for a read-only connection. 4. Click **Create**, then copy the **Connection URL** shown. It contains a secret token, so it's shown only once. > [!WARNING] > > Treat the Connection URL like a password. It's shown once, and it grants whatever access you gave the connection, including the ability to change stock if you allowed write access. You can revoke it any time, and create a separate one per person or device. ## Add it to your AI tool The connection URL already contains your token, so no separate API key or header is needed. Pick your tool below and use the URL from the step above in place of `https://mcp.stockful.app/YOUR_TOKEN`. ### Claude (desktop & web) Go to **Settings** → **Connectors** → **Add custom connector**, paste the Connection URL, and click **Add**. No sign-in is required. ### Claude Code In your terminal, then restart Claude Code: ```bash theme={null} claude mcp add --transport http stockful https://mcp.stockful.app/YOUR_TOKEN ``` ### Cursor Open **Settings** → **Tools & MCP** → **New MCP server**, then add: ```json theme={null} { "mcpServers": { "stockful": { "url": "https://mcp.stockful.app/YOUR_TOKEN" } } } ``` ### VS Code Open the Command Palette and run **MCP: Open User Configuration**, then add: ```json theme={null} { "servers": { "stockful": { "type": "http", "url": "https://mcp.stockful.app/YOUR_TOKEN" } } } ``` ### Gemini CLI Add this to your `~/.gemini/settings.json` file: ```json theme={null} { "mcpServers": { "stockful": { "httpUrl": "https://mcp.stockful.app/YOUR_TOKEN" } } } ``` ### ChatGPT Go to **Settings** → **Connectors**, add a custom connector, and paste the Connection URL. This requires a ChatGPT plan with connectors / developer mode enabled. > [!TIP] > > After adding the connection, ask your AI tool to "list your tools" or try a question like "what's low on stock?" to confirm it's working. ## Managing connections The **Settings** → **MCP server** page lists every active connection, whether it's read only or read and write, who created it, and when it was last used. Multiple staff can each create their own. To revoke one, click the delete icon next to it and confirm. Access is cut off immediately, even for a tool that's mid-conversation. Revoking is permanent; create a new connection if you need access again. ## Security and data * **Shown once.** The full Connection URL (with its token) is shown only at creation. Only a fingerprint is stored, so we can't show it again, only revoke it. * **Scoped to your store.** A connection only ever sees the store it was created for. * **Write is opt in.** A connection can only make changes if you granted write access when you created it. Read-only connections are never offered the tools that change anything. * **Changes are confirmed.** Your AI tool surfaces any change for your confirmation before it's applied, and records it against the connection's name. * **Nothing is sent to your suppliers.** Purchase orders are created as drafts. Sending an order stays a manual step in Stockful. * **Revoke any time.** Removing a connection cuts off access on the next request. * **Your AI tool, your terms.** Conversations happen in your AI tool (Claude, Cursor, ChatGPT, and so on) under that provider's terms; Stockful only answers the data requests your tool makes. # Plans & billing Source: https://docs.stockful.app/user-guide/plans-and-billing Manage your subscription, usage and billing. Every store starts on a 14-day free trial with full access at Pro-level limits from the moment you install. ## Free trial Every store gets a **14-day free trial** that starts the moment the app is installed - full access to every feature with Pro-level limits, no plan selection or charge approval needed. You can subscribe at any time during the trial from the plans page; remaining trial days are credited to your subscription, so you're never billed early. If the trial ends without a subscription: 1. **The next 7 days** - the app becomes read-only. Your data keeps syncing and stays up to date, but editing is disabled, and alerts and scheduled reports pause. 2. **After that** - tracking stops. 3. **30 days later** - your data is deleted. We email a warning a week beforehand, and subscribing at any point before then restores full access with all your data intact. ## Plans All plans include every feature - the only differences are usage limits. Plans sync all products automatically (with optional exclusion rules) and are billed monthly. | | Starter | Growth | Pro | | - | - | - | - | | **Price** | \$19.99/mo | \$39.99/mo | \$79.99/mo | | **Tracked SKUs** | 2,000 | 7,500 | 15,000 | | **Locations** | 1 | 5 | 10 | | **AI chat messages / month** | 100 | 500 | 1,000 | All plans include 2 years of daily history, unlimited weekly/monthly trend data, the health check, and the full AI suite (assistant, weekly digest, anomaly detection, threshold suggestions). Only assistant chat messages you send count against the AI cap - background AI work doesn't. If you go over your SKU or location limit, overage charges apply (\$5 per 500 SKUs, \$5 per location). Overage is capped per month so costs stay predictable; the exact cap is set on your subscription when you subscribe. ## Add-ons **Send from your own domain** - \$15/mo. Purchase orders, reports and alert emails go out from addresses at your own domain instead of a Stockful address. Charged as a usage charge once your domain is verified, then monthly while it stays connected. See [Email configuration](/user-guide/email-configuration). ## Larger catalogues If your store is already beyond the Pro limits, the plans page generates a custom plan sized to your catalogue - a committed monthly price with an allowance that covers your tracked SKUs and locations. Standard overage terms apply past the allowance. ## Development stores Stockful is free on development and client-transfer stores for as long as the store is on a development Shopify plan - build out your setup with no time limit. The 14-day trial starts automatically when the store moves to a paid plan. ## Viewing your plan and usage Go to **Settings**, then under the **App** section click **Account & billing**. This page shows: * Your current plan, status, and billing date * Usage progress bars for each limit (tracked SKUs, locations) * A button to change your plan ## Changing plans From the Account & billing page, click **Change plan** to see all available plans. Selecting a new plan will redirect you to Shopify to confirm the change. ## Cancelling At the bottom of the Account & billing page, click **Cancel subscription**. You'll be asked to confirm. Your plan remains active until the end of the current billing period. # Product filters Source: https://docs.stockful.app/user-guide/product-filters Filter inventory, reports, and notification rules by category, sales channels, bundles, metafields, and more Stockful lets you filter your products by much more than name and stock status. The same rich set of product filters is available in three places: * **[Inventory](/user-guide/inventory)** - narrow the list with filter chips * **[Reports](/user-guide/reports)** - build custom reports in the query editor * **[Alerts](/user-guide/alerts)** - scope an alert (or scheduled report) to a set of products Stockful keeps a synced copy of your product data, so these filters run instantly without waiting on Shopify. ## What you can filter by ### Product attributes The everyday fields: **product type**, **vendor**, **tags**, **status**, **SKU**, **barcode**, and variant options. Available everywhere. ### Category Filter by Shopify's standard **product category**. Category filters are **tier-aware** - picking a parent category (for example *Apparel*) also matches everything beneath it (*Apparel > Shirts*, and so on). ### Collection Filter to products in one or more of your Shopify **collections**. ### Sales channels & catalogs Filter by where a product is available, matching Shopify's own catalog filters: * **Sales channel** - Online Store, Point of Sale, Shop, and other channels * **Region catalog** - a market catalog for a region (for example *United Kingdom*) * **B2B catalog** - a market catalog for a B2B market * **Company location catalog** - a catalog assigned directly to a company location > [!NOTE] > > A catalog filter only appears if your store actually has catalogs of that kind. If you don't sell B2B, you won't see the B2B or company-location catalog filters - and only **active** catalogs are offered. ### Bundles * **Bundle** - the product is a bundle made up of component products * **Part of a bundle** - the product is used as a component inside another bundle (Bundle filters are available in Inventory and Reports.) ### Product details Handy true/false and value filters: **gift card**, **taxable**, **requires shipping**, **subscription only**, **country / province of origin**, and **weight**. ### Metafields Filter by your own **metafields** - both **product** and **variant** metafields. Before a metafield can be used as a filter, enable it under **[Settings > Metafields](/user-guide/settings)**. Only supported types are available: **text, number, boolean, and date**. The Metafields settings page has two sections - **Product metafields** and **Variant metafields** - so you can enable each independently. > [!NOTE] > > Newly enabled metafields can take up to **24 hours** to populate for your existing products. New and edited products pick them up sooner. ## Where each filter is available Almost every filter works in **Inventory** and **Reports**. **Notification rules** (and scheduled reports) support the ones that scope a rule to a set of products - product attributes, category, collection, sales channels & catalogs, and metafields. Bundle and product-detail filters are Inventory + Reports only. **Tracking exclusion rules** ([Settings > Tracking](/user-guide/tracking), and during setup) support product attributes, category, collection, and your enabled metafields - so you can exclude a whole collection from tracking, for example. Sales-channel and catalog filters aren't offered here, since where a product sells isn't a basis for whether Stockful tracks it. ## Why a filter might be missing Stockful only shows filters that make sense for your store, so the list stays relevant: * **Catalog filters** appear only when you have active catalogs of that kind. * **Metafield filters** appear only after you enable the metafield in Settings. * Filter values (the specific channels, categories, collections you can pick) come from your synced data, refreshed nightly. > [!TIP] > > Combine filters to build precise views - for example, "bundles in the *Apparel* category that are on the Online Store", or "products where the *Material* metafield is *Cotton* and stock is low". # Cash-out Schedule Source: https://docs.stockful.app/user-guide/purchasing/cash-out-schedule See the cash you'll need for reorders, and when, over the weeks ahead The **Cash-out Schedule** spreads your reorder recommendations across the weeks ahead by *when each order should be placed*, so you can see the cash you'll need to lay out and plan for it - rather than being surprised by a big purchase. Open it from **Replenishment → Cash-out schedule**. It's the forward-looking, financial companion to [Reorder recommendations](/user-guide/replenishment/reorder-recommendations): the same buy list, laid out on a calendar of spending. ## How it's worked out For every SKU that needs reordering, Stockful already knows two things: * **How much to spend** - the quantity to order × the item's unit cost (the same figure as the reorder buy list) * **When to order** - the projected stockout date **minus** the supplier lead time, so stock arrives before you run out Each order's spend is then bucketed into the week it should be placed. ## Reading the page * **Summary** - three headline numbers for the whole horizon: **total to order** (the cash across the window), **orders** (how many SKUs), and **units**. * **Spend by week** - a bar per week showing what you'll lay out then. Empty weeks mean nothing is due. Hovering a bar shows that week's spend, the running cumulative, and SKU count. * **Weekly table** - the same data as rows: week starting, SKUs, units, spend, and a **cumulative** running total, so the last row is your total commitment over the horizon. ## Controls * **Location** - scope the schedule to a single location or all locations. * **Horizon** - how far ahead to plan: 8, 12, 26, or 52 weeks. > [!NOTE] > > Two rules worth knowing: an order whose order-by date has **already passed** folds into this week (it's due now), and orders due **beyond the horizon** are excluded - so the total is the cash needed *within* the window you're viewing, not lifetime. > [!TIP] > > Lead time is what sets each order's timing. Configure it in [Forecasting settings](/user-guide/forecasting), with per-product overrides for suppliers that are faster or slower than your default. # Importing from Shopify Source: https://docs.stockful.app/user-guide/purchasing/importing-from-shopify Bring the purchase orders you created in Shopify into Stockful, with their suppliers, without changing anything in Shopify. If you have been raising purchase orders in Shopify, you can bring them into Stockful in a few clicks. Stockful only reads them: nothing in Shopify is created, edited or received. ## Running the import 1. Open **Purchase orders**, then **More actions** > **Import from Shopify** (or the button on the banner at the top of the list). 2. Click **Import purchase orders**. The first time, Shopify asks you to allow Stockful to read purchase orders. Allow it and Stockful starts reading straight away. 3. When reading finishes, the **review** opens. Every purchase order is listed with the supplier, destination, the status it will have in Stockful, how many of its lines matched, and its total. 4. Tick the orders you want and click **Import**. A banner on the purchase orders list shows progress, then a summary. Orders you leave unticked are remembered and stay unticked next time. Run the import again whenever you like: orders already imported are listed as **Already imported** and are never brought in twice. ## How orders come across * **Draft** in Shopify becomes a **Draft** in Stockful. * **Ordered** in Shopify, with nothing shipped yet, becomes **Ordered**. You receive it in Stockful from then on. * **Archived**, or fully received through its transfer, becomes **Closed** with a receipt, so it counts in your purchasing history and cost reports. * Each order gets the next Stockful purchase order number. The Shopify name (for example #PO6) is kept as the order's reference. * Imported orders show the Shopify logo next to their number on the list, and the **Source** filter has a **Shopify** option. ### Orders that wait An order whose stock is on its way, or has only been partly received, is listed but cannot be ticked yet. Finish receiving it in Shopify, then run the import again and it comes across as **Closed**. An order going to a location Stockful does not track is also listed and skipped. Orders with no destination import without one, and you can set it in Stockful. ### Suppliers Shopify keeps only the supplier's name on a purchase order. Stockful matches it to an existing supplier with the same name, or creates a new one with that name and the order's currency. Add contact details, payment terms and lead time on the [supplier](/user-guide/purchasing/suppliers) afterwards. ### Lines Lines are matched to your products exactly. A line for a product Stockful does not track is left out, and named in the order's internal note. ## What does not come across Shopify does not share these, so they are not imported: * Expected arrival dates * Notes, tags and reference numbers * Cost adjustments such as shipping or duty (order totals in Stockful can be lower than in Shopify because of this) * Supplier contact details ## After importing Archive the imported orders in Shopify. Stockful does not change them there, so leaving them open risks receiving the same stock twice. # Incoming Stock Source: https://docs.stockful.app/user-guide/purchasing/incoming See every tracked product with units on their way, and whether they will land before you run out. Incoming stock comes from your purchase orders. **Incoming Stock** lists every tracked product with units on their way, so you can see what's coming and whether it will land in time. Open it from **Purchasing → Incoming stock**. ![Incoming stock with expected arrivals](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/purchasing--incoming.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=37862a07b459ef1c96f77206c9f9e94a) Incoming stock comes from your [purchase order](/user-guide/purchasing/purchase-orders) shipments and [Shopify inventory transfers](https://help.shopify.com/en/manual/products/inventory/inventory-transfers) that are marked in transit. The arrival date is read from the shipment's tracking when it's set. **Key columns**: product, variant, SKU, location, incoming quantity, ETA (the earliest arrival date), available on hand, projected stockout date, and a status. * **ETA** is the earliest dated arrival across the in-transit shipments carrying that item to the location. Shipments without a tracked arrival date show no ETA. * **Projected stockout** is when the location is forecast to run out at its current sales velocity. * **Status** flags a row **at risk** when the stock is forecast to run out *before* the inbound arrives (or before any dated arrival is known), so you can chase the shipment or place a faster order. > [!NOTE] > > Incoming is netted out of your [reorder recommendations](/user-guide/purchasing/reorder-recommendations) automatically, so Stockful never tells you to reorder stock that's already on its way - unless it won't arrive in time. Filter by location, vendor, product type or tag, and search to narrow the list, just like the [inventory](/user-guide/inventory) page. # Overview Source: https://docs.stockful.app/user-guide/purchasing/index One planning dashboard for restocking: what to reorder, the purchase orders to raise, transfers to move stock you already hold, and what is inbound. **Purchasing** brings the actions that keep you in stock into one planning dashboard: ordering more (reorder and purchase orders), moving what you already have (transfers), and tracking what's coming (incoming). Open it from **Purchasing** in the main navigation. ## The dashboard ![The purchasing dashboard](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/purchasing--dashboard.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=380e5bfb6ab9ebe824a95a962939f11d) The landing page is a planning surface, not just a menu: * **Planning summary** - four headline numbers across the top: recommended spend (what it would cost to restock everything below its reorder point), units to rebalance (across suggested transfers), units inbound (in transit), and how many SKUs will stock out before their inbound lands. * **Needs your attention** - a prioritised list of what to reorder, rebalance, and watch, each linking straight to where you act. * **Replenishment schedule** - per-SKU, the date you should place each order (projected stockout minus lead time) and the date stock arrives, sorted by urgency. Rows that are due now are flagged, and items whose inbound arrives too late are marked at risk. * **Projected stock** - a shop-wide view of your on-hand units over the coming weeks, stepping up as inbound shipments land. * **Buy list by vendor** - your reorder recommendations grouped by supplier, so you can see "order from Acme: 8 SKUs, £1,840" at a glance. ## The pillars > [card] [Reorder recommendations](/user-guide/purchasing/reorder-recommendations) > > What to reorder and how much, based on velocity, lead time and safety stock - turn straight into a purchase order. > [card] [Purchase orders](/user-guide/purchasing/purchase-orders) > > Create, send, receive and cost orders to your suppliers end to end, without leaving Stockful. > [card] [Transfer suggestions](/user-guide/purchasing/transfer-suggestions) > > Move stock between locations to cover demand, with one-click transfer creation. > [card] [Incoming stock](/user-guide/purchasing/incoming) > > Track inbound shipments and ETAs against your projected stockouts. Alongside the pillars, the **[Cash-out schedule](/user-guide/replenishment/cash-out-schedule)** spreads your reorder spend across the weeks ahead by when each order is due, so you can plan the cash you'll need and when. > [!NOTE] > > Reorder recommendations and transfer suggestions can still be **scheduled and exported** like the other [reports](/user-guide/reports) - those options live on each pillar's page. # Linked stores Source: https://docs.stockful.app/user-guide/purchasing/linked-stores Link the Shopify stores that share one supply chain, map the products and warehouses they have in common, and buy for all of them from one combined reorder list. Many brands run more than one Shopify store for the same stock: a retail store and a wholesale store, or one store per country. Each installs Stockful on its own and keeps its own subscription, settings and forecasts. Linking them lets Stockful pool their demand and stock, so you see one number to buy for the whole business instead of reconciling two reorder lists by hand. Linked stores live in **Settings → Linked stores**. ## Linking a store 1. In the first store, open **Settings → Linked stores** and click **Link a store**. 2. Enter the other store's `myshopify.com` domain and send the request. 3. Someone with access to the other store's Stockful opens its **Linked stores** page and clicks **Accept**. A banner in that store points them there while a request is waiting. Nothing is shared until the other store accepts. Once it does, both stores see the link, and clicking it opens the link's page: who requested it, who accepted it, and the mappings below. > [!NOTE] > > Either store can unlink at any time from the link's page, and uninstalling Stockful from one store ends every link it was on. The other store is emailed either way. Combined numbers stop straight away. ## Mapping products A link on its own does nothing. Stockful needs to know which product in one store is the same stock as a product in the other, and in what units. On the link's page, under **Products**: * **Suggest matches** pairs products that share a SKU or barcode across the two stores. Untick any that are not the same stock and map the rest in one go. * **Add mapping** pairs two products by hand: enter a SKU or barcode on each side and find the match. Every pairing carries **units**: how many of this store's units equal how many of the other store's. Two stores selling the same single item are 1 here = 1 there. A wholesale store that sells a box of ten of the retail store's single is **10 here = 1 there** from the retail store's side. Change the units on any row with the edit icon. Mappings are saved from the save bar, like other Stockful pages, and take effect on the combined view within a few minutes. ## Warehouses If both stores hold stock at the **same physical place**, pair the two location records under **Warehouses** so that stock is counted once rather than twice. Leave genuinely separate warehouses unmapped. ## The combined view With at least one product mapped, the [reorder recommendations](/user-guide/purchasing/reorder-recommendations) location selector gains a **Combined with** option, named for the linked store. It shows **one row per mapped product**, with everything converted to this store's units: | Column | What it shows | | - | - | | **On hand** | This store's stock plus the linked store's stock of the mapped product, with the split beneath | | **Incoming** | Stock on its way to either store, including units on open purchase orders in either store, with the split beneath | | **To order** | The pooled quantity to buy, from the combined demand of both stores, netted against all of that secured supply | Your store's own settings govern the calculation: lead time, safety stock, restock-to days, min/max policies and any velocity override apply to the pooled numbers exactly as they do elsewhere. The linked store contributes its demand, stock and open orders only. A product appears in the combined view when the **pool** is below target. Something low here but well covered there will not show, because there is nothing to buy. Adding rows to a purchase order from the combined view raises the order **in this store** for the pooled quantity. Split it across the stores when you receive it, or raise an order from the other store for its share. ## What stays separate * Each store keeps its own **subscription and billing**. There is no pooled SKU allowance. * Each store keeps its own **forecast settings, alerts and reports**. Only the combined view reads across the link. * The linked store never sees your customers, orders or costs. Stockful reads its mapped products' demand and stock, converted to your units, and nothing else. > [!TIP] > > Map the products first with **Suggest matches**, then fix the units on the few rows where one store sells packs. The combined view is only as good as the mappings under it. # Automatic restocking Source: https://docs.stockful.app/user-guide/purchasing/purchase-orders/automatic-restocking Stockful raises draft purchase orders on a schedule from your reorder recommendations, then tells you what it raised and what it left alone. Working through the reorder recommendations every week is the same job every week: pick what's due, group it by supplier, round it to pack sizes, raise a draft per supplier. Automatic restocking does that job on a schedule you set. It raises **drafts only**. Nothing is sent to a supplier until you open the order and send it, and an order you already have is never changed. ## Turning it on Go to **Settings → Automatic restocking**. 1. Switch on **Raise draft purchase orders on a schedule**. 2. Under **Schedule**, choose how often it runs and at what time. Runs happen in your store's time zone. 3. Save. Turning it off stops future runs. Drafts already raised stay where they are. ## What a run does A run reads the same [reorder recommendations](/user-guide/purchasing/reorder-recommendations) you see on the page, so the drafts it raises match what you would have raised by hand: * **One draft per supplier.** On a store that reorders per location, one per supplier per destination, so each order goes to the right place. * **Quantities are rounded** up to pack size and up to any minimum order quantity on the supplier's [price list](/user-guide/purchasing/suppliers). * **Nothing is ordered twice.** A product already on a draft or open purchase order counts as on its way, so the next run does not raise another order for it. * **Products with no primary supplier are left out** and counted in the summary, so you know they need one. * **A foreign-currency supplier is priced at the day's exchange rate.** If no rate is available, that supplier's order is skipped and named in the summary rather than raised at a made-up rate. * **A run covers up to 250 products.** If more are due, the products with the most to order go first and the rest are picked up by the next run. The summary says when this happens. Snoozed products are skipped, the same as on the reorder page. ## Finding what it raised On the **Purchase orders** page, an order the schedule raised carries an **Auto** badge, and the source filter lets you show only those. Open one and the timeline reads **Stockful generated this purchase order from your restock schedule**. From there it is an ordinary draft: review the lines, change quantities, add or remove products, and [send it](/user-guide/purchasing/purchase-orders/sending) when you are happy. ## Supplier minimums A supplier with a [minimum order value](/user-guide/purchasing/suppliers) will sometimes have less due than that minimum. Under **Supplier minimums**, choose what a run does with an order that falls short: * **Raise and flag** (the default). The order is raised as normal and shows a **Below minimum order value** banner, so you can decide whether to add to it or wait. * **Hold until it clears.** Nothing is raised for that supplier until enough is due to reach the minimum. After two weeks the order is raised anyway, flagged, rather than waiting indefinitely. * **Top up to the minimum.** The order is filled with that supplier's next most urgent products until it clears the minimum. If it still cannot get there, it is raised and flagged. ## The run summary Under **Delivery**, switch on **Send a summary after each run** and choose where it goes: [Slack](/user-guide/alerts/channels/slack), [Discord](/user-guide/alerts/channels/discord), a [webhook](/user-guide/alerts/channels/webhook), or email to the addresses you list. The summary lists every draft the run raised, with the supplier, destination, units, total, and whether it fell short of a minimum, and links to each. It also says what the run did **not** do: suppliers held below their minimum, suppliers skipped for want of an exchange rate, products with no supplier, and whether the run hit its limit. A run that finds nothing to reorder stays quiet, except the first one after you turn the feature on, which always reports so you can see it working. # Costs and landed cost Source: https://docs.stockful.app/user-guide/purchasing/purchase-orders/costs How unit costs, shipping, duties and fees combine into a true landed cost: what a unit really costs once everything beyond the invoice price is counted. The point of costing a purchase order properly is a true **landed cost** - what a unit really costs you once shipping, duties and fees are counted, not just the price on the invoice. Stockful works this out for you and feeds it into your average cost, so your margins are right. ![Purchase order cost summary with a shipping adjustment](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/po--costs.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=975559be7048cc045ab088be3d4cb074) ## Unit cost Every line has a **unit cost** from its [cost source](/user-guide/purchasing/purchase-orders/creating#adding-products) - the supplier's price list, the product's cost per item, or a custom cost for this order. The line subtotals roll up into the order's **subtotal**. ## Adjustments Costs beyond the goods themselves go in as **adjustments** on the cost summary. Each has a type: * **Shipping** and **Freight fee** * **Customs duties** and **Tariffs** * **Insurance**, **Rush fee**, **Surcharge**, **Foreign transaction fee** * **Discount** (a negative adjustment) and **Other** These are the extras that make a landed cost different from the sticker price. ## How adjustments are spread Adjustments are shared across the order's units to give each one its landed cost. Choose **Allocate costs by**: * **Value** - spreads each adjustment in proportion to line cost, so more expensive items carry more of it. * **Quantity** - splits each adjustment equally per unit. Each line shows its resulting **Landed** cost. The allocation **locks after the first receipt**, because received units already carry the split - so later changes only affect units still to come. The default method for new orders is set in [Purchasing settings](/user-guide/purchasing/settings). ## Costs that arrive after receiving A freight or duty invoice often turns up after the stock has been received, when the order's costs are already locked. Add it as a [cost adjustment](/user-guide/counts-and-adjustments/cost-adjustments) instead: from the order, choose **More actions** > **Add a late cost**. Stockful folds it into the average cost of the stock you still hold, and the order's timeline links to it. ## Multi-currency When a supplier bills in another currency, you enter costs in **their** currency and Stockful converts to your store currency at the order's exchange rate. Everything downstream - landed cost, cost history, margins - is stored in your store currency, so reporting stays consistent no matter who you buy from. ## Cost history and average cost When you [receive stock](/user-guide/purchasing/purchase-orders/receiving), each accepted line writes a **cost history** entry at its landed cost. That entry updates the product's **average cost**, weighted against the stock you still hold: what arrives is blended with what is already on the shelf, in proportion to the quantity of each. Your average cost is what drives margin and profit figures across Stockful, so accurate landed costs here keep your reporting honest. > [!NOTE] > > Costs are only committed to your average cost when stock is **received**, not when the order is created or sent - so a draft or an in-transit shipment never moves your numbers. > [!NOTE] > > If Stockful hasn't recorded an average cost for a product yet, the stock you already hold is valued at its **cost per item** in Shopify, so the first delivery blends with that rather than replacing it. > [!NOTE] > > If you're out of stock when a delivery lands, there's nothing for the new units to blend with, so the receipt **sets** your average cost rather than moving it part of the way. A product you've sold through can therefore jump straight to its new landed cost, which is a bigger move than you might expect. ## Syncing cost to Shopify By default, landed costs stay in Stockful and drive your reporting there. If you turn on **Sync landed cost to Shopify** in [Purchasing settings](/user-guide/purchasing/settings), then after each receipt or [cost adjustment](/user-guide/counts-and-adjustments/cost-adjustments) Stockful also writes the variant's new average landed cost back to its **cost per item** in Shopify - so Shopify's own margin figures line up with yours. > [!WARNING] > > This overwrites the existing cost per item in Shopify and can't be undone. Leave it off if you maintain cost per item another way. It's off by default. # Creating a purchase order Source: https://docs.stockful.app/user-guide/purchasing/purchase-orders/creating Start a purchase order two ways: let Stockful build one from your reorder recommendations, or create an empty order and add the products yourself. There are three ways to start a purchase order: let Stockful build one from your [reorder recommendations](/user-guide/purchasing/reorder-recommendations), build one from a report while you are reading it, or create an empty one and add products yourself. They all end up on the same editor, and nothing changes your inventory until you receive stock against the order. ![A draft purchase order with supplier, destination, and line items](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/po--detail.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=16e634a3e0df39333bc3ba7ec51250c8) ## From a reorder recommendation This is the quickest route. On the **Reorder recommendations** page, Stockful works out the quantities from velocity, lead time and safety stock. Pick the rows you want, choose **Add to purchase order**, and say where they go: * **A new purchase order** - the products are grouped by their primary supplier, one draft per supplier, with lines, quantities and costs pre-filled ready for you to review * **An order you already have open** - the products go onto that draft with their recommended quantities. A product already on it has its quantity increased rather than appearing twice. The same choice is offered from the **Inventory** list, and from any report showing products at variant level. ## From a report Use this when you are buying off sales history rather than off a reorder point - a seasonal order, or working through one vendor at a time. The **Vendor Buying List** report is built for it. Every product by vendor with what sold over the period you choose, what sold over the same stretch a year ago, what is on the shelf now, and what is already on its way to you. Filter it to a vendor, sort it by whatever you are buying on, and the four numbers you need are on one line. Every row on any report showing products at variant level carries an actions menu: * **Add to purchase order** - collects the row for an order. Nothing opens, so you can carry on down the list. * **View product on Shopify** and **View variant on Shopify** - opens it in your Shopify admin. The variant link only appears on products that have real variants. Picked products gather in a bar above the report. When you have what you want, choose **Create purchase order** and you get two steps: 1. **How many** - set the quantity for each product, with sold, sold last year, on hand and incoming still beside it so you are not working from memory. Anything left at zero is left off the order. 2. **Which purchase order** - start a new one, or add the products to a draft you already have open. Starting a new order groups the products by their primary supplier, one draft per supplier, rounding quantities up to pack size and up to any minimum order quantity on the supplier's price list. Adding to an existing draft takes your quantities as they are. A product already on that draft has its quantity increased rather than appearing on it twice. > [!NOTE] > > The picker lists **draft** orders. An order you've already marked as ordered can still take new products - open it and use **Edit** on the items section. ## From scratch Click **Create purchase order** on the Purchase orders page. Then: 1. **Choose a supplier** - select an existing supplier or create one inline. The supplier sets the order's currency and payment terms, and unlocks that supplier's price list for costing. 2. **Set the destination** - the location the stock will arrive at. You'll need this before you can log a shipment. 3. **Add products** (see below). 4. **Review the details and costs**, then **Save**. The order is saved as a **Draft** with a reference number assigned automatically (for example **PO-1001**). References aren't editable, so every order has a unique one; you can set where the numbering starts in [Purchasing settings](/user-guide/purchasing/settings). Drafts are otherwise fully editable and haven't touched your stock. ## Adding products Two ways to add line items: * **Search products to add** - opens a full-screen picker of your products, one row per SKU. Search by product name, SKU, barcode or vendor, tick what you want across as many pages as you like, and press **Add**. Products already on the order show as ticked and can't be added twice. * **Import** - upload a CSV with a SKU or barcode column, plus optional quantity and cost. Headings are detected automatically and a template is available in the dialog. After upload, each row is checked and flagged as **Ready**, **Not found**, **Duplicate**, **Already added**, **No quantity**, **Not tracked**, **Excluded** or **Bundle**, so you can fix or untick rows before adding the rest. ### Narrowing the picker The picker has the same filter chips as your [inventory](/user-guide/inventory): every [product filter](/user-guide/product-filters), the stock figures, your metafields, and two of its own: * **Location** - starts set to the order's destination when it has one, so the stock figures are for the place the goods are going. Clear it for totals across all your tracked locations, or pick other locations. * **Supplier** - only products on a supplier's price list. Use the columns button on the right of the search bar to bring in more detail: barcode, vendor, product type, status, on hand, committed, velocity, days of supply, sold in the last 30 days, last sold, inventory value, and the supplier's SKU, pack size and whether the product is on their price list. Any column with a value can be sorted, from the same menu or by clicking its heading. Your choice of columns is remembered on this device. The **cost** column shows what the line will cost: the supplier's price when the order has a supplier and the product is on their price list, otherwise the product's cost per item. ### Picker views Save any combination of search, filters and sorting as a view, and it appears in the selector on the left of the picker's search bar, on every device. Useful if you raise orders often: one view per supplier, or the products you top up every month. The location chip is not part of a view, so a view saved on one order follows the destination of the next. ### What the picker leaves out A purchase order can only carry products you track, so the picker never offers products your [exclusion rules](/user-guide/settings) exclude, bundles (their stock lives on their components), or variants whose **Track quantity** is switched off in Shopify. The same rule applies to the CSV import, which names those rows instead of dropping them, and to purchase orders raised by the [AI assistant](/user-guide/ai-assistant) or an [MCP connection](/user-guide/mcp-server). For each line you set the **quantity** and a **cost**. The **cost source** decides where the cost comes from: * **Price list** - the cost from this supplier's [price list](/user-guide/purchasing/suppliers). * **Cost per item** - the cost set on the product itself. * **Custom cost** - a one-off cost used for this order only. If a product has a **pack size** set for the supplier, the line shows **Pack of N**. The arrows step a whole pack at a time, and a quantity typed by hand rounds up to the next whole pack when you leave the field - a supplier who sells in packs of 305 can't ship 2,100 of them. Supplier terms are per supplier, so if you add products before choosing the supplier, the costs, supplier SKUs and pack sizes fill in the moment you pick one. A cost you typed yourself is kept. ## Deciding how much to order Ordering well means knowing what you already hold and how fast it's moving, and the line table can show you both without leaving the order. Use the **columns** button at the end of the supplier bar. ![The columns button at the end of the supplier bar on a purchase order](https://mintcdn.com/ljsstudios/EEm0hkCsiqDAiahG/images/user-guide/po--columns-button.png?fit=max\&auto=format\&n=EEm0hkCsiqDAiahG\&q=85\&s=3bdc6291f2828657546732c80a10dfa4) **Layout** decides how much room the table gets: * **Compact** - the order summary sits alongside the lines, and extra columns scroll. * **Full width** - the line table takes the whole page and the summary moves below it. Stores that installed Stockful recently start in full width; longer-standing stores keep compact, so nothing moves under you. Either way the choice is yours and it sticks. **Columns** you can turn on, in any order: * **Inventory** - what's available at the receiving location, across all your tracked locations, and how much is already on order. Shown by default. * **Days of stock** - how long the stock at the receiving location lasts at its current rate. * **Suggested qty** - what Stockful would order, the same figure as your [reorder recommendations](/user-guide/purchasing/reorder-recommendations). * **Sold 30d / 60d / 90d** - units sold over each period. A period reaching back further than your sales history shows a dash rather than an incomplete total, so a store that installed a month ago sees no 90-day figure until it has one. * **Sold (forecast period)** - units sold over the period your forecasting reads demand from, set in [forecasting settings](/user-guide/settings). * **Retail price** - the selling price, with the margin at this order's cost. Your choice of layout and columns is remembered on your own device, so it doesn't change what anyone else on the store sees. > [!NOTE] > > Days of stock and the suggested quantity are per location, so they fill in once the order has a receiving location. Both come from the same figures behind your reorder recommendations, so a purchase order and the recommendations list never disagree. ## Resizing the whole order Suppliers set minimums that have nothing to do with your reorder points: a carriage-paid threshold, a pallet or container that only makes sense full, a weight band. Sometimes it is your own constraint rather than theirs, like the cash you have this week. Rather than retype every line to hit one of those, set a target and let Stockful size the order to it. On a draft order with a receiving location, open **More actions** and choose **Resize order**. Enter the days of supply you want the order to cover. Stockful works out what each line would need to be, and shows you: * what the quantity is now and what it would become * how long each new quantity covers, counted from when the order arrives * the order's total units before and after Nothing changes until you choose **Resize**. Untick any line you want to leave exactly as it is, which is how you protect a quantity you set deliberately. Quantities are rounded up to a whole pack where the supplier ships in packs, the same as when you type one yourself. ### Why a line might not be listed Only lines Stockful would change appear. A line is left out when: * **there is no demand behind it** at the receiving location, so there is no forecast to size it from. Products that have never sold there are the usual case * **the answer is none**, either because the line is already covered to your target or because it is a product Stockful buys to order rather than to a forecast. Resize never takes a line down to zero: removing something from an order is your call, not something a bulk change does for you * **it already matches** the target > [!NOTE] > > The target applies to this order only. Your saved reorder settings are untouched, so an order placed to clear a supplier minimum does not change what Stockful recommends from then on. To change the target for every order, set **restock to** in [forecasting settings](/user-guide/settings) or per supplier. The quantities come from the same forecasting that produces your reorder recommendations, run again at the target you asked for. That means a seasonal product is resized on its seasonal demand curve rather than a flat daily average, and the usual limit on ordering far beyond what a product actually sells still applies. ## Order details Open **Purchase order details** to set: * **Reference number** - assigned automatically (PO-1001), editable to match your own numbering. * **Note to supplier** - free text that prints on the PDF and emailed order. * **Internal note** - free text only your team sees. It prints on the [receiving copy](/user-guide/purchasing/purchase-orders/sending#print-a-receiving-copy) and never on the supplier's. * **Expected arrival** - the overall date you expect the order. Individual shipments carry their own arrival dates. * **Supplier currency and exchange rate** - when the supplier's currency differs from your store's, Stockful fetches the day's rate and converts totals to your currency. The rate is editable, or enter it manually if automatic rates aren't configured. * **Tags** - find or create tags to organise your orders. ## Costs on the order The **Cost summary** shows the order subtotal, any **adjustments** (shipping, duties, fees), taxes and the total - with a converted total in your store currency when the supplier bills in another. Adjustments are where shipping and landed-cost extras go; see [costs and landed cost](/user-guide/purchasing/purchase-orders/costs) for how they flow into your margins. > [!TIP] > > For suppliers you've ordered from before, costs come straight from their price list, so a repeat order is mostly quantities. # Purchase orders Source: https://docs.stockful.app/user-guide/purchasing/purchase-orders/index A purchase order in Stockful is a document you own end to end: build it, send it to your supplier, receive stock against it, and cost it properly. A **purchase order** (PO) is the order you place with a supplier to restock: which products, how many, and at what cost. In Stockful a purchase order is a full document you own from start to finish - build it from a [reorder recommendation](/user-guide/purchasing/reorder-recommendations) or from scratch, send it to your supplier, receive stock against it in full or in parts, and let it feed your costs and incoming inventory automatically. ![The purchase orders list](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/po--index.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=ebefc8bb846e655190c83f569e68ff3a) ## The purchase orders list Open **Purchase orders** under **Purchasing**. The list has tabs to focus on a status: * **All** - every purchase order, including archived ones. * **Draft** - built but not yet ordered. Fully editable, and hasn't touched your inventory. * **Ordered** - placed with the supplier and awaiting stock. Still editable, within what's already shipped or received. * **Received** - all the stock has arrived. * **Cancelled** - orders you called off. An **Ordered** order that's had some but not all of its stock arrive shows as **Partially received**, and once you finish with it you can mark it **Closed**. Search by reference, supplier or destination, sort by any column, and use the display options to choose which columns you see - reference, status, supplier, destination, expected date, items, total, payment due, and created date. ## How a purchase order flows > [card] [Creating a purchase order](/user-guide/purchasing/purchase-orders/creating) > > Start from a reorder recommendation or from scratch: pick a supplier and destination, add products, set costs and currency. > [card] [Sending to a supplier](/user-guide/purchasing/purchase-orders/sending) > > Mark it ordered, export a PDF, or email the order straight to your supplier. > [card] [Receiving stock](/user-guide/purchasing/purchase-orders/receiving) > > Log shipments in transit and receive units as they arrive - in full or partially - then close the order. > [card] [Costs and landed cost](/user-guide/purchasing/purchase-orders/costs) > > See how unit costs, shipping and fees combine into the landed cost that sets your margins. > [card] [Managing purchase orders](/user-guide/purchasing/purchase-orders/managing) > > Cancel, duplicate, archive, tag, and track payment across your orders. > [card] [Automatic restocking](/user-guide/purchasing/purchase-orders/automatic-restocking) > > Have Stockful raise the drafts on a schedule from your reorder recommendations, and tell you what it raised. > [!TIP] > > The fastest way to a first purchase order is from **Reorder recommendations** - Stockful works out what to buy from each supplier and pre-fills the order for you. See [reorder recommendations](/user-guide/purchasing/reorder-recommendations). # Managing purchase orders Source: https://docs.stockful.app/user-guide/purchasing/purchase-orders/managing Keep orders tidy and tracked your way: duplicate, cancel, archive and tag purchase orders, and record payment status as an order progresses. Beyond the create-send-receive flow, a few actions help you keep your purchase orders tidy and track them the way your business works. Most live under **More actions** on an order. ## Duplicate **Duplicate** creates a new draft with the same lines, costs and details - handy for a repeat order or a template you place regularly. The copy is a fresh draft with its own reference number. ## Editing an order you've sent An **Ordered** purchase order stays editable: choose **Edit** on the order to change quantities, add or remove products, or update dates and notes. Save, and any Shopify transfer behind the order is brought back into line with it. Two limits apply, both because the units in question already exist: * A quantity can't drop below what's already **on a shipment** or **received**. Stockful says which product is holding it and how many units. * The **supplier** and **destination** are fixed once the order has a transfer in Shopify. They're part of that transfer, so changing them would leave the order pointing at one warehouse while the stock travelled to another. Raising a quantity is always fine, and the extra units become available to put on a shipment. ## Move back to draft Sent an order by mistake? **Move back to draft** returns an **Ordered** purchase order to **Draft** so you can change it and send it again. It's available while nothing has been received against the order. Any shipments stay with the order and their units keep travelling - a shipment that's on its way can't be un-sent, so Stockful keeps its record of it rather than pretending it never left. Send the order again and the shipment is still there. The order date and payment due date are cleared, so any payment terms start again from the day you send it. ## Cancel **Cancel purchase order** calls off an order you've placed but that won't be fulfilled. It moves to **Cancelled** and its units stop counting as incoming. Use this rather than deleting when you want a record that the order existed. Cancel applies to orders you've already sent. A draft nobody has seen is deleted instead. ## Archive **Archive** hides an order from the status tabs to keep the list focused - archived orders only appear under the **All** tab, and you can **unarchive** at any time. Archiving is purely cosmetic; it doesn't change anything about the order. ## Delete A **draft** can be **deleted** outright, from the button beside More actions. Once an order has been sent to a supplier it's cancelled or closed rather than deleted, so the record and its cost history stay intact. ## Payment Each order tracks a **payment due** date, and you can mark it **Paid** once you've settled with the supplier - so the list doubles as a simple view of what you still owe. ## Tags **Tags** let you group orders however you like - by season, buyer, warehouse, priority. Find or create tags on the order, then filter and search the list by them. > [!NOTE] > > Statuses recap: **Draft** (editable, no stock impact) → **Ordered** (placed, units incoming, still editable) → **Partially received** or **Received** (stock arriving) → **Closed** (finished, kept for records). Every step before **Closed** can be stepped back: an order returns to draft, and a receipt can be reversed. **Cancelled** is a called-off order. Archived orders keep their status and just move out of the tabs. # Receiving stock Source: https://docs.stockful.app/user-guide/purchasing/purchase-orders/receiving Record what actually arrives. Stockful handles shipments in transit and partial receipts, writing received units to Shopify so inventory stays correct. When you've placed an order, receiving is how you record what actually turns up. Stockful handles part-shipments and partial receipts, and writes the received units to Shopify so your inventory stays right. ![Receiving against a purchase order with per-line quantities](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/po--receiving.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=c91b2900e71833fc04f23403f19df661) ## Shipments A **shipment** is a batch of the order's units travelling together. Click **Add shipment**, choose how many of each unshipped line are in it, and add **tracking number**, **carrier** and **expected arrival** if you have them. Marking the shipment as in transit is what makes those units show as **incoming** with their own ETA. An order can have several shipments - useful when a supplier splits delivery. Each shows its status: **In transit**, **Partially received**, or **Received**. You can edit a shipment, record its **shipment cost**, and **print a packing slip** for it. The order's own product list carries **In transit** and **Received** columns beside the quantity, so you can read how far each line has got without adding up the shipments underneath it. Once every ordered unit is on a shipment there's nothing left to ship, and **Add shipment** goes away until you raise a quantity. > [!NOTE] > > A shipment needs a **destination** on the purchase order - that's the location the stock arrives at. Set it in the order details before adding a shipment. ## Receiving items When a shipment arrives, choose **Receive items**. On the receive screen you work line by line at the destination location: * **Accept** the units that arrived in good order. * **Reject** any that were damaged or short. * Use **Accept all** or **Reject all** to handle a clean delivery in one go. Barcode scanning works here too, with any scanner that types like a keyboard. Scan an item on the order and its **Accept** goes up by one. A barcode that isn't on this order, one that two lines share, or one for a line already fully accounted for is refused with an explanation rather than guessed at, because a delivery is bounded by what was ordered. A variant with more than one barcode in Shopify matches on any of them. The toolbar badge shows whether scanning is live. **Ready to scan** means it is; **Click the page to scan** means the Shopify admin has the keyboard rather than Stockful, so a scan would land there instead. Click anywhere on the page and it clears. It works the same way on a [count sheet](/user-guide/counts-and-adjustments/stock-counts#scanning-barcodes). You can't receive more than a shipment holds - if the accepted and rejected amounts exceed what's outstanding, Stockful flags it so you can bring the numbers back in line. Accepted units are written to Shopify as on-hand at that location and drop out of your incoming stock. > [!NOTE] > > If the destination is set to **Record in Stockful only** (see [record-only receiving](/user-guide/locations#record-only-receiving)), receiving records the receipt, costs and history in Stockful without changing Shopify stock - for locations where a 3PL or another app owns the Shopify balance. The receive screen shows a notice when that's the case. Receive as many times as you need: a shipment can be **Partially received** and finished later. The purchase order shows **Partially received** until every unit is accounted for. ## Receipts Each time you receive, Stockful records a **receipt** - a permanent line showing how many units were accepted and rejected, who received them, and the **landed cost** applied. Receipts are where your cost history comes from; see [costs and landed cost](/user-guide/purchasing/purchase-orders/costs). ## Correcting a receipt Mistakes happen, so a receipt can be corrected rather than lived with. On an order received through Stockful, open the shipment and choose **Manage received items** to adjust the accepted and rejected quantities. On an imported order, which has no shipment attached, use **Correct received quantities** on the receipts panel instead. Either way the correction is recorded as its own receipt rather than rewriting the original, so the history of what happened stays intact. ## Reversing a receipt Received the wrong order, or booked in a delivery that hadn't actually arrived? Open the receipt on the **Receipts** panel and choose **Reverse receipt**. The accepted units come back out of stock at the destination, the shipment goes back to **In transit** with its units ready to receive again, and the order reopens for whatever is now outstanding. Landed cost is unwound too, so the product's average cost returns to what it was. Each receipt shows how much of it can still be reversed - **Fully reversed**, or **4 of 12 still reversible** when you've only taken part of it back. You can reverse a whole receipt or name the lines and quantities. > [!NOTE] > > The receipt isn't deleted. It stays on the order with the reversal recorded beside it, so the timeline shows what arrived and what was taken back as two separate events. Shopify has no way to un-receive a shipment, so a receipt is a permanent fact and a reversal is the correction to it - the same way a credit note works rather than a rubbed-out line. Reversing needs the order to be open: reopen a **Closed** or **Cancelled** order first. ## Closing the order Once you've received everything you're going to, choose **Close purchase order**. Any units that never arrived are removed from your incoming stock, and the order is marked **Closed** as a record. Closing can't be undone, and closed orders stay for your records rather than being deleted. > [!TIP] > > You don't have to close an order the moment it's fully received - a fully received order simply shows as **Received**. Closing is for tidying off orders where some units will never come, so they stop inflating your incoming stock. # Updating retail prices Source: https://docs.stockful.app/user-guide/purchasing/purchase-orders/retail-prices Receiving changes what your stock costs. Stockful suggests the retail prices that hold your margin, and writes the ones you approve to Shopify. Receiving an order is the moment your costs change: the supplier put their price up, or freight and duty landed heavier than expected. If the cost moves and your retail price doesn't, your margin quietly erodes. After a receipt, Stockful works out which products no longer hold the margin you're aiming for and suggests what to charge instead. Nothing reaches your store until you approve it. ![Reviewing suggested retail prices, with cost, current price and the margin each would give](https://mintcdn.com/ljsstudios/2D-7e1T8MbhQtzsu/images/user-guide/po--retail-prices.png?fit=max\&auto=format\&n=2D-7e1T8MbhQtzsu\&q=85\&s=480b30914f01943a97d5f18841f62ead) ## Setting a target margin Suggestions only appear once Stockful knows what margin you want. Set a **target margin** on a supplier under **Suppliers**, in the **Purchasing** section. That's the one that applies to anything you buy from them. For a figure that applies everywhere else, set a **default target margin** under **Settings → Purchasing**, in **Retail repricing**. A supplier with a target of its own always wins over it. Leave both empty and repricing stays off entirely: no suggestions, no prompt. > [!NOTE] > > Stockful works in **margin**, not markup. A 60% margin means 60% of the selling price is profit, so a product costing £40 sells at £100. It's the same figure shown next to the cost on each purchase order line, so what you set is what you've been reading. ## Rounding Raw margin maths gives prices like £13.4732, which nobody puts on a shelf edge. Under **Settings → Purchasing** you can round every suggestion to: * **No rounding** - the exact figure * **End in .99** * **Whole number** * **Nearest 0.50** Rounding only ever goes **up**, so it can't quietly undercut the margin you asked for. A product needing £13.47 to hold 65% is suggested at £13.99, not £12.99. ## Reviewing the suggestions Once a delivery is received, a **Retail prices** banner appears on the purchase order saying how many products no longer hold your target. Choose **Review prices** to see them. ![The retail prices banner on a received purchase order](https://mintcdn.com/ljsstudios/2D-7e1T8MbhQtzsu/images/user-guide/po--retail-prices-banner.png?fit=max\&auto=format\&n=2D-7e1T8MbhQtzsu\&q=85\&s=69952b09c24b0d4d3d2cab8b9359f722) Each row shows: * What the stock now costs you, after freight, duty and any other charges on the order * What it currently sells for, and the margin that leaves * The suggested new price, and the margin that would give You're not held to the suggestion. Edit any price and the margin beside it updates as you type. Untick anything you'd rather leave alone, or clear a price to skip that product. A price below cost is flagged rather than blocked, since selling at a loss is sometimes a deliberate choice. > [!WARNING] > > These are the prices customers pay. Approved prices go to Shopify immediately and your store starts charging them, so there's a confirmation step before anything is written. Putting the old prices back would mean setting them again yourself. ## What Stockful leaves alone The list is only ever products where there's a decision to make: * Anything already at your target price is left off it. * A product with no cost recorded is left off, because there's nothing to work a price from. * Only lines you actually received are considered. An order still on its way hasn't changed your costs yet. If you've already repriced half a delivery, reopening the order shows only what's still outstanding. ## Afterwards Every change is recorded on the order's timeline. Open the **retail prices** entry and it lists each product with its old and new price, so you can see later exactly what moved and when. The change also lands in your price history, which is what feeds the [pricing reports](/user-guide/reports/built-in-reports) - including **price change impact**, which shows what happened to volume and revenue after a price moved. Your costs aren't touched by any of this. Repricing changes what you sell for, never what you paid. # Sending to a supplier Source: https://docs.stockful.app/user-guide/purchasing/purchase-orders/sending Mark a draft as ordered to tell Stockful the stock is on its way, then get it to your supplier as a PDF export or an email sent from the order. Once a draft is ready, you place the order and get it to your supplier. Marking it ordered is what tells Stockful the stock is on its way. ![Sending a purchase order to the supplier by email](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/po--sending.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=f74768d19b5cec4ba3460bb323ec6fae) ## Mark as ordered Click **Mark as ordered**. The purchase order moves from **Draft** to **Ordered**, and its units start counting as [incoming](/user-guide/purchasing/incoming) - so they're netted out of future reorder recommendations and you're not told to buy the same stock twice. > [!NOTE] > > If the order is below the supplier's **minimum order value**, Stockful warns you and shows how far short you are. You can add more or choose **Order anyway**. ## Export a PDF Choose **Export PDF** to generate a clean purchase order document - your details, the supplier, the line items, costs and totals, and any note to the supplier. Use it to print the order or share it however you like. Where a product has a pack size, the quantity also shows the pack breakdown beneath it - `2135` with `Rolls: 7 × 305` under it - so whoever counts the delivery doesn't have to work it out. The priced quantity stays in single units, matching the unit cost and line total. Set what a pack is called with **Pack unit** on the [supplier's price list](/user-guide/purchasing/suppliers). ## Print a receiving copy An order is really two documents. **Export PDF** is the supplier's copy: what you are buying and what it costs. The receiving copy is the sheet that goes to the bench with the boxes, for whoever unpacks them and prices them up. Choose **Print receiving copy** and you get the same order with three things the supplier's copy does not carry: * **Retail** - what each product currently sells for. * **Margin** - what that leaves you at the cost on the order. * **Internal notes** - the note only your team sees, set in [Purchase order details](/user-guide/purchasing/purchase-orders/creating#order-details). Those three never appear on the supplier's copy, and never on the emailed order. That is deliberate rather than a setting: a switch left on is your margins going out to the people you buy from. A product with no price set shows blank in Retail and Margin rather than zero. ## Email it to your supplier The PDF carries your logo and company name, the supplier's address, a **ship to** block from the location receiving the order, and a **bill to** block from the billing address in [Purchasing settings](/user-guide/purchasing/settings). Blocks with nothing to show are left off. Choose **Send to supplier** to email the order directly. You can set the **To** address, **Subject** and **Message**, and the purchase order PDF is attached. The supplier's email is pre-filled when it's on their record. The default subject and message - and the logo and company name on the PDF - come from [Purchasing settings](/user-guide/purchasing/settings), along with the sender name your supplier sees and the address their reply goes to. The email comes from a Stockful address unless you have [connected your own domain](/user-guide/email-configuration#send-from-your-own-domain). > [!TIP] > > Marking an order as ordered and sending it are separate steps, so you can send first and mark it ordered once the supplier confirms - or the other way round. What matters for your incoming stock is the **Ordered** status. # Reorder Recommendations Source: https://docs.stockful.app/user-guide/purchasing/reorder-recommendations What to reorder and how much, based on each item's sales velocity, lead time and safety stock, with anything already incoming netted out. The **Reorder Recommendations** report tells you what to reorder and how much, based on each item's sales velocity, lead time, and safety stock. It nets out anything already [incoming](/user-guide/purchasing/incoming), so you're never told to reorder stock that's already on its way. ![Reorder recommendations with suggested order quantities](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/purchasing--reorder-recommendations.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=74824eea84c66a22a94385f7e6e042e3) **Key columns**: product, variant, SKU, location, on-hand quantity, incoming, reorder point and quantity to order. A **Velocity** column is off by default: switch it on from the columns button above the table to see the daily sales rate each reorder point is built from. * **Reorder point** is the level at which it's time to reorder - enough to cover demand over the lead time plus safety stock * **Incoming** is stock already on its way to the location - units arriving on [Shopify inventory transfers](https://help.shopify.com/en/manual/products/inventory/inventory-transfers) or shipments that are marked in transit * **Quantity to order** is the suggested order size to bring you back to target, after subtracting incoming stock so you don't double-order Most rows here come from the forecast. A SKU you've put on a **min/max** rule is different: its reorder point is the minimum you typed and its quantity is whatever tops it back up to your maximum, with incoming and on-order stock still netted out. That's also why a product with no recent sales can appear on this list. These rows carry a **Min/max** badge next to their reorder point, and hovering it shows what the forecast would have suggested instead, so you can judge your rule against it. See [SKU overrides](/user-guide/forecasting/sku-overrides#minimum-and-maximum-stock-levels). > [!NOTE] > > If a supplier has [closed periods](/user-guide/purchasing/suppliers#closed-periods) set, recommendations for their products fire earlier and suggest more, so stock lands before the shutdown and carries you through it. With **Traffic in reorder priority** switched on in [storefront traffic](/user-guide/traffic), the list gains a **Traffic demand** sort - ranking by the demand each SKU's product-page sessions imply - and a **Traffic surge** badge on SKUs whose sessions have at least doubled over the prior four weeks. ## Consolidated view (buying across locations) If you fulfil from several locations but purchase **centrally** - buying in bulk for the whole business rather than per warehouse - set your [Forecasting](/user-guide/forecasting) sales grouping to **Combined across locations**. A **Consolidated** option then appears in the location selector at the top of the report, and combined-mode shops open on it by default. You can still switch to **All locations** or a single location from the same selector. The consolidated view shows **one row per product across all your locations**, with a single quantity to order for the entire business: * **On-hand** and **incoming** are totalled across every tracked location * **Quantity to order** is calculated from your **combined demand** across all locations, then netted against your **total** stock and incoming - so it's the number to buy once, not per location * Incoming is **arrival-date aware**: stock already on the way only reduces the suggested order if it lands *before* you'd run out. A container arriving too late to prevent a stockout won't stop an item being recommended - useful when you have long lead times and order in small, frequent batches A product only appears here if your **total** stock across locations is below target. An item that's low at one location but well-covered by another won't show - because there's nothing to *buy*; you'd move stock between locations instead. This is why the consolidated list can be shorter than the per-location list. > [!NOTE] > > Switching sales grouping between **Per location** and **Combined across locations** recalculates your recommendations within a few minutes. ## Combined with linked stores If you run more than one Shopify store for the same stock, [link them](/user-guide/purchasing/linked-stores) and map the products they share. A **Combined with** option, named for the linked store, then appears in the location selector. It shows one row per mapped product, with on-hand, incoming and the quantity to order pooled across both stores in this store's units, and the split beneath each number. Orders you raise from it are placed in this store. ## Adding to a purchase order Turn recommendations straight into [purchase orders](/user-guide/purchasing/purchase-orders) - no exporting or retyping. Use a row's **Add to purchase order** action for one item, or tick several rows and choose **Add to purchase order** from the selection bar. **Select all matching** hands over everything your current filters match, not only the rows on the page. Then pick where the products go. ### A new purchase order Because each product is bought from a supplier, Stockful groups your selection into **one draft order per supplier** (and destination), ready to review before anything is placed: * **Grouped by supplier** - each group shows its products, unit count and total, so you can see "Acme → Main warehouse: 8 products, £1,840" at a glance * **Costs and pack sizes applied** - unit costs come from each supplier's price list, and quantities round up to the supplier's pack size * **Minimum order value** - a group below its supplier's minimum is flagged so you can top it up * **Needs a supplier** - products without a [primary supplier](/user-guide/purchasing/suppliers) are called out; assign one inline so they can go on an order Create the orders and Stockful opens them as **drafts** - review, adjust, and [send them to your suppliers](/user-guide/purchasing/purchase-orders/sending) when you're ready. ### An order you already have open Choose one of your draft orders instead and the products go straight onto it, keeping the quantities from the recommendations. A product already on that order has its quantity increased rather than appearing on it twice, so it stays one line at the receiving bench. Supplier grouping doesn't apply here: you've named the order, so everything you picked goes on it whoever supplies it. A product with no primary supplier is fine too, since the order's own supplier prices the line. > [!NOTE] > > The picker lists **draft** orders. To add products to one you've already marked as ordered, open it and use **Edit** on the items section. > [!NOTE] > > One handoff carries up to 250 products, which is a single order's worth of lines. If **Select all matching** covers more than that, Stockful says so and takes the first 250 - narrow the filters and run the rest. ## Snoozing recommendations If an item is on your radar but you don't want it flagged right now - a PO is already placed, you're discontinuing it, and so on - **snooze** it for a set number of days with an optional reason and note. * Snoozed items move to the **Snoozed** tab and reappear automatically when the snooze expires * Un-snooze at any time to bring an item back * Snooze a single item, or select several and snooze them in bulk * In the consolidated view, snoozing a product applies across all of its locations Use the **Active** / **Snoozed** tabs to switch between current recommendations and ones you've set aside. > [!TIP] > > Lead time, safety stock, and restock-to targets are configured in [Forecasting settings](/user-guide/forecasting), with per-product overrides available. # Purchasing settings Source: https://docs.stockful.app/user-guide/purchasing/settings Set how purchase order costs are allocated, where your numbering starts, how your order documents are branded, and the default email that goes out to your suppliers. Purchasing has its own settings, at **Settings → Purchasing**, covering how costs behave, how your orders are numbered, how your purchase order documents look, and the default email sent to suppliers. ![Purchasing settings](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/purchasing--settings.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=7b246eec4781bcd0a3607fcfa45fa746) ## Costs * **Allocate purchase order costs by** - the default method for spreading shipping and fees across a new order's units: **Value** (in proportion to line cost) or **Quantity** (equally per unit). Each order can override this until its first receipt. See [costs and landed cost](/user-guide/purchasing/purchase-orders/costs). * **Sync landed cost to Shopify** - when on, after each receipt or [cost adjustment](/user-guide/counts-and-adjustments/cost-adjustments) Stockful updates the variant's **cost per item** in Shopify to its new average landed cost, so Shopify's margins match yours. > [!WARNING] > > Syncing overwrites the existing cost per item in Shopify and can't be undone. It's **off by default** - leave it off if you maintain cost per item another way. ## Purchase order numbering Purchase orders are numbered automatically, in order, and their reference can't be edited. That keeps every reference unique, including references brought in from another system. **Start numbering from** sets the first number your own orders take. Leave it empty to carry on from where your orders are now, or set a number to begin a new run - useful if you're moving from another system and want to continue its numbering. > [!NOTE] > > You can only move the numbering forwards. If your orders have already passed the number you enter, Stockful tells you the lowest number it will accept. Imported orders keep their original references and are never renumbered. ## Document branding Set a **company display name** and upload a **logo** (PNG or JPG, up to 1 MB). These appear on your [purchase order PDFs](/user-guide/purchasing/purchase-orders/sending), packing slips and supplier emails. The company name falls back to your store name when left blank. Add a **billing address** to print a bill-to block on your purchase orders, so suppliers know where to send the invoice. Enter it as you'd write it on an envelope, one line per line. Left blank, the block is left off the document entirely. ## Purchase order emails Set the default **subject** and **message** used when you [email a purchase order](/user-guide/purchasing/purchase-orders/sending) to a supplier. You can edit any email before it sends, and blank fields fall back to these defaults. Use placeholders that fill in automatically: * `{{po_number}}` - the order's reference number * `{{supplier_name}}` - the supplier's name * `{{contact_name}}` - the supplier contact * `{{store_name}}` - your store name Spell a placeholder exactly as shown. A misspelt one is not recognised, so it would be sent to your supplier as written, and Stockful refuses to save it for that reason. ### Who the email comes from Two settings control what your supplier sees: **Sender name** is the name on the order email. It defaults to your company name followed by "via Stockful". Set it to anything you prefer. **Reply-to address** is where a supplier's reply lands. Leave it blank to use your store email, or set the address your team actually watches. This is worth setting if your suppliers answer orders with a confirmation, so those replies reach the right inbox. Orders are sent from a Stockful address on your behalf. To send them from your own address instead, connect your domain in [Email configuration](/user-guide/email-configuration#send-from-your-own-domain). # Suppliers Source: https://docs.stockful.app/user-guide/purchasing/suppliers Keep each supplier's contacts, currency, payment terms, lead time, closed periods and price list together, so purchase orders come mostly prefilled. A **supplier** is who you buy from. Stockful keeps each supplier's contact details, currency, payment terms, lead time and **price list** together, so building a [purchase order](/user-guide/purchasing/purchase-orders) is mostly picking products - the costs, currency and terms are already there. ![The suppliers list](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/purchasing--supplier.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=394082d545c6c246ab2fdaca6f2e00b4) Open **Suppliers** under **Purchasing**. The list shows each supplier's contact, linked vendors, currency, lead time and how many products are on their price list, with **Active** and **Archived** status. Search by name and sort by any column. ## Adding a supplier ![A supplier profile with purchasing defaults and closed periods](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/purchasing--supplier-detail.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=125a802e38f464efa14db4b9cd119257) Click **Add supplier** and fill in what you have: * **Details** - name, company, contact, email, phone, website, and private **notes** (never shown to the supplier). * **Address** - used on purchase order documents. * **Purchasing defaults** - these pre-fill onto new purchase orders for this supplier: * **Supplier currency** - orders are priced in this currency and converted to your store currency. * **Payment terms** - None, Cash on delivery, Payment on receipt, Payment in advance, or Net 7 / 15 / 30 / 45 / 60. * **Lead time (days)** - how long this supplier takes to deliver. Used by forecasting and reorder timing unless a product overrides it. * **Tax rate**, **minimum order value**, **account number**, and a **purchase order note template** that pre-fills the note to supplier. * **Linked vendors** and **Linked tags** - link the Shopify vendors or product tags this supplier provides. Use tags when your vendor field holds the brand and a tag records who you buy from (for example a `Sunsky` tag on everything Sunsky ships). Matching products count as this supplier's: they pick up its lead time, appear under it in the reorder recommendations supplier filter and the purchase order product picker, and are grouped under it when you create orders from recommendations. A price list that makes another supplier a product's primary takes precedence, and a product two suppliers' links both match waits for you to set its primary on a price list. ## Importing suppliers from a CSV Arriving from another inventory system with a supplier book already built? Click **Import** on the Suppliers page and upload a CSV. Each row becomes a supplier. Download the template from the import dialog for the full column set. Only a **Name** column is required; everything else attaches when the column is there. Headers are matched loosely, so `Supplier`, `Contact email`, `Lead Days`, `Brands` or `Postcode` all land where you would expect without renaming anything. Before anything is saved you see a preview of every row: * **Ready** rows will be created. * **Already exists** - a supplier with that name is already in Stockful. It is skipped and never overwritten. * **Duplicate** - the same name appears earlier in the file. Only the first is imported. A few things worth knowing about the columns: * **Vendors** and **Tags** take several names in one cell, separated by `|`, for example `Acme | Acme Home`. Names that do not match a vendor in your store are still saved, but the preview tells you how many, since they will not pull products in until they match. * **Payment terms** is read from free text: `Net 30`, `net-30` and `30 days` all become Net 30, `COD` and `Cash on delivery` become Cash on delivery, `Prepaid` becomes Payment in advance. Anything Stockful cannot place is shown in the preview and left empty rather than failing the row. * **Minimum order value** accepts `250.00`, `250,00` and `1.021,08` alike. * **Country** is the two-letter code and **Currency** the three-letter code; other values are left empty. If the file is missing an **Email**, **Lead time** or **Vendors** column the import still runs, but the dialog names the missing columns first, because a book imported without them looks complete and does nothing useful. Files up to 1 MB and 500 rows. Semicolon-separated exports and files saved from older versions of Excel are read as they are. ## Exporting suppliers Click **Export** on the Suppliers page to download the current page, everything matching your search, the suppliers you have ticked, or all suppliers, as CSV or Excel. Every field is included, and the columns are the import template's, so an export from one store imports straight into another. ## The price list A supplier's **price list** is the products you buy from them and what you pay. It's what makes purchase orders quick - costs, supplier SKUs and pack sizes come straight from here. Each entry holds: * **Supplier SKU** - the supplier's own code for the product, for their reference on the order. * **Cost** - what you pay, in the supplier's currency. * **Pack size** - the unit you order in, so quantities round to whole packs. * **Pack unit** - what a pack is called, like `rolls` or `boxes`. It labels the pack breakdown on the purchase order, so your supplier and warehouse see how many packs the order comes to rather than just the raw quantity. Letters only - the count is already the pack size. * **Min qty** - the smallest quantity you can order. * **Lead time** - a per-product override of the supplier's default. * **Primary** - marks this as the product's main supplier. ### Building the price list Three ways to add products: * **Search** your catalogue and add products one by one. * **Add by vendor** - pull in a whole vendor's catalogue in one go. * **Import** a CSV - columns are a SKU or barcode plus optional supplier SKU, cost, pack size, minimum quantity and lead time. Download the template from the dialog. Rows are checked and flagged **Ready**, **Not found**, **Vendor not linked**, **Duplicate** or **Already added** before you commit them, and if the file has no cost or supplier SKU column the dialog says so first. Costs are read in any decimal style, so `2.85`, `2,85` and `1.021,08` all land correctly, and semicolon-separated files work as they are. ### Exporting and removing products **Export** downloads the price list as CSV or Excel: the current page, the rows you have ticked, everything matching your search, or the whole list. The columns match the import, so a price list exported from one supplier can be imported into another. Tick rows to select them and use **Remove from price list** to take several off at once. Removing a product from a price list never touches your purchase history. ### Primary supplier A product can be on more than one supplier's price list. The one marked **Primary** is the default used for reorder recommendations and pre-filled costs, so you always know where a product is bought from first. ## Closed periods Suppliers shut. The clearest case is **Chinese New Year**, where factories close for around three weeks, but it applies to any holiday or factory break. Add the dates on the supplier and Stockful brings reorder recommendations forward, so an order fires early enough for stock to land **before** they close, sized to cover the gap until they reopen. Open a supplier, find **Closed periods**, and click **Add period**: * **From** and **To** - both required, and both days count as closed. A supplier shut the 8th to the 28th cannot ship on the 28th. * **Reason** - optional, for your own reference. "Chinese New Year" or "Factory maintenance". Each period shows as **Upcoming**, **Closed now** or **Past** based on today's date. Edit or delete any of them; recommendations update shortly after. ### How it changes the numbers If stock ordered today would arrive while the supplier is shut, that delivery realistically lands on the day they reopen. Stockful treats the lead time as stretching to that date, which pulls the reorder point earlier and increases the suggested quantity to cover the closure. Nothing else changes. A supplier with no closed periods, or whose closures are nowhere near your next delivery, behaves exactly as before. > [!NOTE] > > Closed periods only affect **recommendations**. A purchase order you have already placed keeps the arrival date you or the supplier set - they know their own shutdown, so we don't second-guess a date they have committed to. ## How suppliers feed purchase orders Everything on a supplier flows into ordering: * Choosing the supplier on a PO sets its **currency** and **payment terms**, and unlocks their **price list** for costing. * Line **costs**, **supplier SKUs** and **pack sizes** come from the price list. * Falling below the **minimum order value** warns you before you place the order. * **Lead time** drives when reorder recommendations tell you to buy, so stock lands before you run out, adjusted for any **closed periods**. ## Archiving and deleting **Archive** a supplier you no longer use to hide it from pickers while keeping its record - unarchive any time. **Deleting** a supplier removes it and its price list, but your **purchase history is kept**, so past orders and costs stay intact. > [!NOTE] > > Importing purchase orders from Shopify? Suppliers named on them are created for you - see [importing from Shopify](/user-guide/purchasing/importing-from-shopify). Shopify holds only the supplier's name, so add contact details, payment terms and lead times on the supplier afterwards. # Transfer Suggestions Source: https://docs.stockful.app/user-guide/purchasing/transfer-suggestions Spot stock imbalances between locations, surplus in one and a shortfall in another, and create the rebalancing transfer in Shopify from the report. The **Transfer Suggestions** report spots stock imbalances between your locations - surplus in one, a shortfall in another - and suggests moving units to rebalance. It's a live, actionable report: you can create the transfer in Shopify and track it through to receipt without leaving Stockful. ![Transfer suggestions between locations](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/purchasing--transfers.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=5713e52cac70b414d834b09e7999e88a) **Key columns**: product, variant, SKU, the **Origin** and **Destination** locations (with their current stock and days of cover), and the suggested transfer quantity. On multi-location stores you can filter by **Origin** and **Destination**. ## How suggestions are worked out For every SKU at every location, Stockful takes the daily sales rate (skipping days it was out of stock) and works out how many days of stock that location is holding. * A location has a **surplus** of a SKU when it holds more than its **days of cover**. The default is 30 days. You can set a different number for each location from **Location settings** on the Locations page (for one location or for a selection), or from **Edit details** on the location's page. A warehouse can keep 45 days while the stores run on 21. * A location has a **shortfall** when it holds less than its days of cover, after counting stock already on its way there. * Where one location has a surplus and another a shortfall of the same SKU, the suggested quantity is the smaller of the two, so the origin never drops below its own days of cover and the destination never goes above its own. * The low stock threshold from **Settings → Forecasting** (and any per-SKU override) acts as a floor on both sides, so a location is never emptied below it. * A **hub** location's demand is measured as the whole business's sales, so it holds its days of cover for everyone it supplies before anything counts as surplus, and hub-to-store rows sort first. Every pair of locations is compared in both directions, which is why store-to-store and store-to-warehouse rows appear alongside warehouse-to-store ones. Filter by **Origin** to see one location's outgoing list on its own. ## Tabs * **Suggested** - current rebalance suggestions * **In progress** - transfers you've created from Stockful, with their live status * **Dismissed** - suggestions you've hidden ## Creating a transfer Click **Create transfer** on a row, adjust the quantity if needed (it defaults to the suggested amount), add an optional note, and confirm. Stockful creates the transfer in Shopify as a **draft** (tagged `stockful`) and moves the row to the **In progress** tab. > [!NOTE] > > Stockful never moves stock on its own. A created transfer is a **draft** - nothing leaves the origin until you mark it ready to ship and ship it in Shopify, exactly as you would for a transfer created by hand. Once you ship it in Shopify the status updates here (**Draft → Ready to ship → In transit**), the units count as [incoming](/user-guide/purchasing/incoming) at the destination, and the row drops off the **In progress** tab once the transfer is received or canceled. ## Dismissing suggestions If a suggestion isn't useful, **dismiss** it (with an optional reason) to hide it. Dismissed suggestions move to the **Dismissed** tab, where you can **restore** them. A dismissed suggestion that's no longer relevant clears itself automatically. Created transfers are standard [Shopify inventory transfers](https://help.shopify.com/en/manual/products/inventory/inventory-transfers) - you manage, mark ready to ship, ship, and receive them in Shopify exactly as you would any other transfer. > [!TIP] > > Creating transfers uses the `write_inventory_transfers` permission granted at install. Stockful only ever creates drafts - it never ships or receives on your behalf. # Bills of materials Source: https://docs.stockful.app/user-guide/raw-materials/bills-of-materials What a product is made of: components per unit made, unit conversion, versioning, and multi-level chains where one material is made from another. A **bill of materials** says what one unit of a finished item takes. It is a recipe; the app calls it a bill of materials, so the docs do too. Open **Bills of materials** from the Raw materials hub, then **Add bill of materials**. * Under **Makes**, choose what it produces. Use **Add product** for a Shopify product, or **Add material** for a material you make rather than buy. * Under **Components**, add what goes in, each with a quantity and a unit. * **Production time** is optional, and sets the expected date when a batch starts. ## Quantities are per one unit made One cookie takes 0.05 kg of flour, not the batch quantity. Stockful multiplies by the batch size when you start one, so a bill of materials stays correct at any volume. ## Units have to convert A component's quantity is stated in whatever unit suits the recipe, then converted into the unit its material is stocked in. Grams against a kilogram-stocked material converts, and 300 g lands as 0.3 kg. Litres against a kilogram-stocked material does not, because that needs a density Stockful has no way to know. It refuses the line rather than guessing. Count units convert to themselves and nothing else, which is what you want: three wicks is three wicks. ## Versioning Editing a bill of materials **supersedes** it rather than rewriting it. The old version stays, attached to every batch that used it, so a run from last month still shows what it actually consumed. Changing tomorrow's recipe never rewrites yesterday's history. ## Multi-level A bill of materials can name another material as a component. A cookie is made of dough, and dough is made of flour. Stockful walks the whole chain, at every point it matters: * Starting a batch of cookies consumes flour, through the dough. * Reordering flour accounts for the cookies you will sell, through the dough. * **Dough you already hold reduces the flour you need.** Fifty kilograms of dough on the shelf is fifty you do not have to make, and the flour for it is not asked for. > [!NOTE] > > A loop is refused. If A is made from B and B from A, Stockful reports it rather than following it round, and anything above the loop stops contributing until you fix it. ## When something cannot be read A bill of materials with an unconvertible unit or a missing material cannot be costed. Stockful quarantines that one rather than half-using it, since a partial answer would under-order everything else in the same recipe. The reorder page marks affected materials and shows how many bills of materials could not be read, so it is visible rather than silent. # Overview Source: https://docs.stockful.app/user-guide/raw-materials/index Track the things you buy and consume to make what you sell: ingredients, fabric, wax, packaging. Their stock, what they go into, and the batches that turn one into the other. **Raw materials** are the things you buy and consume to make what you sell. Flour, wax, fabric, thread, packaging. They are not Shopify products, so Shopify does not track them, and until now neither did anything else you use. Stockful holds them as their own catalogue, with their own stock, their own suppliers and their own reorder maths, and connects them to the products you sell through bills of materials. Open it from **Inventory → Raw materials**. > [!NOTE] > > Because a material is not a Shopify product, Stockful is the only record of it. There is nothing to reconcile against, so material stock is only as accurate as what you record: run your consumption through batches, and count regularly. ## What fits together Four pieces, in the order you would set them up. | | | | - | - | | [Materials](/user-guide/raw-materials/materials) | The catalogue. What you hold, in what unit, from which supplier. | | [Bills of materials](/user-guide/raw-materials/bills-of-materials) | What a product is made of. A recipe, in other words. | | [Production](/user-guide/raw-materials/production) | A run of making something. Reserves material when a batch starts, consumes it when the batch closes. | | [Reordering](/user-guide/raw-materials/reordering) | What to buy, from what production has committed and what your sales forecast will need. | ## A worked example A candle maker holds wax and wicks. A bill of materials says one candle takes 0.2 kg of wax and one wick. Starting a batch of 500 reserves 100 kg and 500 wicks; closing it consumes what was actually used and adds 500 candles to Shopify. Meanwhile the reorder page watches the wax: your candle sales are forecast forward, walked back through the bill of materials, and netted against the candles you already hold. When the wax that implies falls below what you have, it tells you to buy more, in time for its lead time. ## Reporting on it Six built-in reports cover materials and production, under **Materials & production** on the [Reports](/user-guide/reports) page. All of the underlying data is queryable too: see the [Materials](/stockfulql/datasets/materials), [Material movements](/stockfulql/datasets/material_movements) and [Production](/stockfulql/datasets/production) datasets. # Materials Source: https://docs.stockful.app/user-guide/raw-materials/materials The catalogue of what you buy and consume: units, costs, suppliers, and counting stock that has no Shopify quantity to reconcile against. A material has a **product** (Fabric) and one or more **SKUs** under it (Fabric · Green, Fabric · Red), the same shape as a Shopify product and its variants. Every SKU under a product is stocked in the same unit. Open **Materials** from the Raw materials hub, then **Add raw material**. The form creates the product and its SKUs together. ## What a material carries On the product: * **Unit of measure** - kilograms, metres, litres, or count. It sits on the product rather than the SKU because a bill of materials written in grams has to convert into what you stock, and every SKU under one product converts the same way. * **Category** - your own grouping, free text. Useful for filtering and for grouping a report. On each SKU: * **Unit cost** - what one unit costs you. Feeds batch costing and stock value. * **Supplier**, **supplier SKU**, **lead time**, **minimum order** and **pack size** - the purchasing terms, used when Stockful drafts an order for you. * **Pack unit** - what one pack is called, like case or box. With a pack size, stock still counts in the material's unit, but the SKU page also shows it in packs (3 cases of 600 cups reads as 1800 units, Case: 3), and purchase orders print the pack name on the line. * **Safety stock** - the buffer you do not want to drop below. This is what puts a material on the reorder list. > [!NOTE] > > A SKU with no supplier is one you make rather than buy. Give it a bill of materials and Stockful will tell you to start a batch instead of raising a purchase order. ## Counting stock A material has no Shopify quantity to reconcile against, so a physical count is the only truth available. Open a material SKU and use **Count stock**. Enter what is actually on the shelf at a location, and Stockful writes the difference to the ledger rather than silently overwriting the number. The correction shows in the SKU's history like any other movement. If the SKU has a pack unit and pack size, you can count in packs instead. Choose the pack under **Count in**, enter how many are on the shelf, and Stockful multiplies it out by the pack size before recording it. Part packs are fine: half a case of 600 is 300. Count regularly. Nothing else can catch a missed consumption. ## Recording usage When stock leaves the shelf for day-to-day use, like the café taking 200 cups from the storeroom, record it as it happens rather than waiting for the next count. Open the material SKU and use **Record usage**: choose the location it came from, how much was taken (in packs or units if the SKU has a pack unit), the date, and a reason. * **Used** - consumed as part of normal running. Shows as "Used" in the history. * **Written off** - damaged, expired or lost. Shows as "Written off". Usage is kept separate from stock counts, so a count only shows what usage did not explain, and consumption can be reported on its own. If a withdrawal takes a location below zero it is still recorded, and your next count puts the number right. ## The ledger Every change to a material's stock is recorded on its SKU page, with what caused it: | | | | - | - | | Used in production | A batch consumed it | | Made | A batch produced it | | Received | It arrived against a purchase order | | Used | You recorded it as used | | Stock count | You counted it | | Adjustment | You corrected it by hand | | Written off | Waste, damage, loss | That history is also queryable through the [Material movements](/stockfulql/datasets/material_movements) dataset. # Production Source: https://docs.stockful.app/user-guide/raw-materials/production Batches: what you set out to make, what you actually made, and the yield variance between them. A **batch** is one production run. Open **Production** from the Raw materials hub and **Start a batch**. Choose what you are making and how many, and Stockful walks its bill of materials to show exactly what it will take, at the quantity you asked for. ## The three states | | | | - | - | | **Draft** | Nothing is reserved and nothing has moved. Fully editable, and deletable. | | **In progress** | Material is reserved. It is still on the shelf, but it is spoken for and stops counting as free. | | **Completed** | Material is consumed and the finished goods are added to Shopify. | Reserving rather than consuming at the start is deliberate: the material has not been used yet, so the ledger should not say it has. What it does do is stop the reorder page telling you the stock is available when a batch is already relying on it. ## Closing a batch When you close one you enter what you **actually** made and what it **actually** took. Both can differ from the plan, and that is the point. * Finished goods go to Shopify through the same path a stock adjustment uses, so they appear in the product's inventory history like any other change. * Material is consumed at the actual quantities, not the planned ones. * The gap between planned and actual is the **yield variance**. > [!NOTE] > > Cancelling an in-progress batch releases its reservation and writes no movements. Nothing was consumed, so nothing is recorded as consumed. ## Yield variance A batch that planned 24 cookies and made 22 has a variance of -2. One batch tells you nothing; a pattern tells you a lot. A recipe that consistently under-yields is either wrong or the process is losing something, and both are worth knowing. The **Yield Variance** report on the [Reports](/user-guide/reports) page sorts by the worst shortfalls. Because a material has no Shopify quantity to reconcile against, closing batches honestly is what keeps material stock true. A batch closed at its planned numbers when it really took more will drift, and nothing can detect it. # Reordering Source: https://docs.stockful.app/user-guide/raw-materials/reordering What to buy and what to make: free stock, forecast demand walked through your bills of materials, and drafting the purchase orders. **Reorder materials** answers what to buy, from what your batches have committed and what your sales will need. Open it from the Raw materials hub. A material appears when its free stock falls below its safety stock plus what it is about to need. ## The columns * **Free** - what is on the shelf, plus what is on order and being made, less what open batches have committed. On hand alone reads as comfortable while every metre of it is spoken for. * **On order** - units on a purchase order that has not been received. * **Needed** - what will be consumed over this material's own lead time plus restock window. It is your finished-goods sales forecast, walked back through your bills of materials and netted against the finished stock you already hold. * **Order** - enough to clear the shortfall and put the buffer back, rounded up to the supplier's pack size and minimum order. The horizon is per material, shown under the Needed figure. A material with a 14-day lead time is asked about over a different window from one with two days. ## Where Needed comes from Three things reduce it, in order: 1. **Finished goods you already hold.** Five hundred cookies on the shelf against three hundred forecast sales needs no flour. 2. **Batches already underway.** Their output is coming, and their material is already in Committed, so counting both would deduct the same flour twice. 3. **Intermediate stock.** Dough you hold is dough you do not have to make, so the flour under it is not asked for either. If nothing you sell has a bill of materials, or a product has no sales history yet, Needed reads as a dash. Nothing is forecasting that material, so the page falls back to what your batches have committed. ## Buying Select rows and **Create purchase order**. Stockful previews exactly what it will raise - one draft per supplier and destination, with quantities rounded to their terms and the cost - before anything exists. The destination is the location that needs it: where the batch consuming it is running, or failing that where the material is stocked. A purchase order has one destination, so materials for two locations become two orders. Materials also go on purchase orders you raise by hand. Open one and use **Add raw materials** beside the product search. ## Receiving Receiving a material works the same way from your side, but not underneath. A material has no Shopify inventory item, so its half of a receipt never reaches Shopify; it lands in Stockful's ledger instead. An order holding both products and materials is received in one action, with only the product half going to Shopify. ## Materials you make A material with a bill of materials of its own shows **Made here** and a **Start a batch** action instead of a purchase order, because there is nobody to send an order to. It still appears when it is short - it is still something you need to act on, just not by buying it. # Built-in reports Source: https://docs.stockful.app/user-guide/reports/built-in-reports Every ready-made report Stockful ships with, grouped by area Stockful ships with 114 ready-made reports on the **Reports** page, grouped by area. Open one to view it live against your current data, then filter, sort, [schedule](/user-guide/reports/scheduling) or export it. Two are interactive, so you can act on them without leaving Stockful: [Reorder Recommendations](/user-guide/purchasing/reorder-recommendations) lets you snooze items you do not want flagged, and [Transfer Suggestions](/user-guide/purchasing/transfer-suggestions) lets you create draft transfers in Shopify and track them to receipt. Need something the built-ins do not cover? [Build your own](/stockfulql/overview) with StockfulQL. ## Stock health | Report | What it shows | | - | - | | Back in Stock | SKUs that came back in stock between yesterday and today. | | Dead Stock | Items with no sales for an extended period, tying up capital. | | In Stock | Everything on hand right now - variants with stock available, the quantity and what's inbound. | | Incoming Stock | Variants with stock inbound, showing the quantity on the way. | | Lost to Stockouts | What stockouts cost you over the last 30 days, including restocked items. | | Low Stock | Items with low days of supply that may need reordering soon. | | Low Stock Changes | SKUs that went low on stock or recovered since yesterday. | | Newly Out of Stock | SKUs that sold out between yesterday and today. | | Out of Stock | Items currently out of stock with estimated lost revenue. | | Out-of-Stock over Time | Number of out-of-stock SKUs over the last 12 months. | | Oversold Stock | Variants showing negative on-hand quantity - a data-quality list to reconcile. | | Overstocked | Items with excess inventory beyond optimal days of supply. | | Reorder Point Breaches | Variants at or below their reorder point - reorder these now. | | Slow Movers | Products that still sell, but slowly - review before they go dead. | | Stockout History | Which variants were out of stock over the period, and the sales it cost. | | Zero Sales | SKUs with zero recorded sales at any tracked location. | ## Forecasting & analysis | Report | What it shows | | - | - | | ABC Analysis | Revenue-based classification of products into A, B, and C tiers: A covers the top 80% of revenue, B the next 15%, and C the final 5% over the selected period. | | ABC-XYZ Matrix | Cross-classifies every SKU by revenue tier (ABC) and demand variability (XYZ), so you can see where value and volatility overlap. A-X items are high-value and steady; C-Z items are low-value and erratic. | | Forecast Accuracy | Predicted vs actual demand per product, with error and bias. | | Forecast Accuracy over Time | Monthly forecast error (WAPE) over the last 12 months. | | Forecast Bias over Time | Monthly forecast bias over the last 12 months. | | Projected Stockouts | Variants ranked by their projected stockout date at the current sales rate. | | Sell-Through Rate | Sell-through rate per variant and location based on recent sales velocity. | ## Valuation & operations | Report | What it shows | | - | - | | Capital Tied Up | Overstocked variants ranked by the cash tied up in excess units. | | Inventory Aging | On-hand stock value grouped by how long it has been sitting. | | Inventory Efficiency | GMROI, turnover, days inventory outstanding and stock-to-sales per product. | | Inventory Margin over Time | Monthly inventory retail margin over the last 12 months. | | Inventory Summary | Your shop-wide stock position at a glance: SKUs, units, total value, and how many need attention. | | Inventory Valuation | Total inventory value broken down by location. | | Inventory Value over Time | Total inventory cost value over the last 12 months. | | Inventory Value Year-over-Year | Inventory cost value this month versus the same month last year. | | Location Comparison | Side-by-side comparison of inventory metrics across locations. | | Profit / COGS | Profit and cost of goods sold analysis by product and location. | | SKU Count over Time | Monthly count of stocked SKUs over the last 12 months. | | Stock on Hand over Time | Total units on hand over the last 12 months. | | Stock Value by Vendor | Total inventory value grouped by vendor. | | Valuation Change | Per-SKU inventory value change between yesterday and today. | ## Sales & margin | Report | What it shows | | - | - | | Average Selling Price over Time | Monthly average revenue per unit sold over the last 12 months. | | Best Sellers | Top products by revenue over the period, with units and margin. | | Gross Profit over Time | Weekly gross profit over the last 90 days. | | Order Lines over Time | Weekly fulfilled order lines over the last 90 days. | | Revenue by Vendor | Revenue, units and margin grouped by vendor over the period. | | Revenue over Time | Monthly revenue trend over the last 12 months. | | Revenue Year-over-Year | Monthly revenue this year versus the same month last year. | | Units Sold over Time | Monthly units sold over the last 12 months. | | Units Sold Year-over-Year | Monthly units sold this year versus the same month last year. | ## Pricing & promotions | Report | What it shows | | - | - | | Average Price over Time | Monthly average listed price over the last 12 months. | | Discount Depth over Time | Monthly average discount depth over the last 12 months. | | Discount Performance | Share of each product's units sold on discount over the period. | | Discount Rate over Time | Monthly share of units sold at a discount over the last 12 months. | | Margin Squeeze | Where supplier cost rose and your price didn't follow. | | Markdown Spend over Time | Monthly discount and markdown spend over the last 12 months. | | Price Change History | How often each variant was repriced, with average price and discount depth. | | Price Change Impact | What happened to volume and revenue after a price moved. | ## Stock movement | Report | What it shows | | - | - | | Adjustments by Employee | Adjustment activity grouped by the employee who performed it. | | Adjustments by Location | Adjustment activity grouped by location, with net change and cost impact. | | Adjustments by Reason | Adjustment activity grouped by reason, with units and cost impact. | | Count Accuracy by Location | How closely counted quantities matched your records at each location, with the units they were out by. | | Count Accuracy Over Time | Monthly count accuracy, showing whether your stock records are becoming more or less reliable. | | Count Variance by SKU | The SKUs whose counted quantity was furthest from your records, ranked by units regardless of direction. | | Found Stock | Stock discovered during counts that the count's scope never covered, including SKUs the location was not stocking. | | Net Stock Change over Time | Monthly net stock change from adjustments over the last 12 months. | | Shrinkage | Stock lost to negative adjustments - damage, theft and corrections - by product and reason. | | Shrinkage over Time | Monthly shrinkage value over the last 12 months. | | Shrinkage Rate | Stock written off as a share of what actually sold. | | Stock Adjustments Summary | Performed stock adjustments per product and location, with net change and cost impact. | | Units Added over Time | Monthly units added by adjustments over the last 12 months. | | Units Removed over Time | Monthly units removed by adjustments over the last 12 months. | ## Replenishment | Report | What it shows | | - | - | | Clearance Recommendations | Overstocked and dead stock to clear, ranked by cash tied up. | | Missed Reorders | SKUs the reorder list flagged that are now out of stock. | | Recommendation Follow-Through | Of what the reorder list flagged, what actually got ordered. | | Reorder (All Locations) | What to buy now with stock pooled across every location. | | Reorder History | What the reorder list recommended each night, per SKU and location. | | [Reorder Recommendations](/user-guide/purchasing/reorder-recommendations) | Items that should be reordered based on velocity and lead time. | | Reorder Volume over Time | Monthly count of SKUs flagged for reorder over the last 12 months. | | Transfer Follow-Through | Transfers suggested over the period against what is still being suggested now. | | Transfer History | What the transfer list suggested each night, per location pair. | | [Transfer Suggestions](/user-guide/purchasing/transfer-suggestions) | Suggested inventory transfers between locations to balance stock. | | [Vendor Buying List](/user-guide/purchasing/purchase-orders/creating#from-a-report) | What sold, what sold the same period last year, what you hold and what is already on its way, by vendor. | ## Purchasing & suppliers | Report | What it shows | | - | - | | Arriving Soon | What's on the way, laid out by the day it's due to land. | | Bought, Not Selling | Stock you bought in this period that hasn't sold. | | Cancel Window | Orders you can still cancel, by the date the window closes. | | Cash-Out Schedule | What the reorder list is about to cost, week by week, with a running total. | | Cost Changes over Time | Monthly count of cost changes over the last 12 months. | | Cost Trend | How each variant's cost has moved, from receipts, cost adjustments and Shopify edits. | | Cost Volatility over Time | Monthly cost volatility over the last 12 months. | | Freight & Duty | What shipping, duty and fees add on top of the goods, by supplier. | | Goods Received over Time | Monthly count of goods receipts over the last 12 months. | | Incoming Overstock | Stock you already hold set against stock you've already bought. | | Landed Cost Trend | Monthly average recorded cost over the last 12 months. | | Landed Cost Variance | Which suppliers cost more than the invoice suggests, once freight and duty land. | | Landed Spend over Time | Monthly landed purchasing spend over the last 12 months. | | On Order Value | Cash committed to stock that hasn't landed yet. | | On-Order Value over Time | Monthly value of stock on order over the last 12 months. | | Overdue Deliveries | Stock that should have landed and hasn't, oldest breach first. | | Price List Variance | Where you were charged more than the price you agreed. | | Purchase Orders over Time | Monthly count of purchase orders placed over the last 12 months. | | Purchasing Spend | What you spent with each supplier over the period. | | Purchasing Spend over Time | Monthly purchase-order spend over the last 12 months. | | Supplier Concentration | How much of your spend sits with each supplier. | | Supplier Lead Time | How long each supplier actually takes to deliver, from order date to received date, and how predictable they are. | | Supplier Lead Time over Time | Monthly average supplier lead time over the last 12 months. | | Supplier Performance | Did each supplier deliver what was ordered - fill rate and rejections. | | Supplier Price Inflation | How each supplier's prices have moved, per SKU. | | Units Ordered over Time | Monthly units ordered on purchase orders over the last 12 months. | | Units Received over Time | Monthly units received on purchase orders over the last 12 months. | ## Storefront traffic | Report | What it shows | | - | - | | Top Storefront Searches | Storefront search terms by volume with click-through over the period. | | Traffic & Conversion | Products by storefront sessions with units sold and conversion over the period. | | Traffic vs Sales Trend | Weekly storefront sessions against units sold, for spotting demand moving before sales do. | ## Materials & production | Report | What it shows | | - | - | | Material Consumption by SKU | Which materials your making eats, and what that costs. | | Material Stock on Hand | What you hold of each material, and what it is worth. | | Material Usage over Time | Material consumed and received each month. | | Materials to Buy | Materials short of their buffer, grouped by supplier. | | Production Batches | Every batch: what it set out to make, what it made, and what the material cost. | | Yield Variance | Where output missed what the bill of materials promised. | # Airtable Source: https://docs.stockful.app/user-guide/reports/channels/airtable Deliver scheduled reports into an Airtable table: add new rows each run, or keep one live row per item Choose **Airtable** on a schedule to write each run into a table in one of your Airtable bases. Stockful can build the table for you from the report's columns, or map into a table you already have. ## Connect your Airtable account Pick **Airtable** as the channel, then **Connect Airtable** and approve access. The connection is **per user**: each staff member connects their own Airtable account, and a schedule delivers through the account of whoever set it up. When Airtable asks which base to share, pick at least one, or Stockful will not see any. ## Choose a base and table First pick the **base** (Airtable's word for a workbook). Stockful cannot create a base for you, so if the list is empty, create one in Airtable first, then refresh. Then choose the **table**: * **Create a new table from this report** is the simplest: Stockful builds a table whose columns exactly match the report, each with the right type (text, number, or date). There is nothing to map. * **Use an existing table** writes into a table you already have. You then map the report's columns onto its fields, as below. ## Map columns to fields When you use an existing table, Stockful shows one row per report column, each with a dropdown of the table's fields (Airtable's word for columns). Where a report column and a field share the same name, Stockful matches them for you. For the rest, pick the field to write into, or choose **Not sent** to skip that column. Only mapped columns are written, so anything left as **Not sent** is simply left out. ## Add rows or update rows The **On each run** setting decides what happens every run: | Mode | Each run | | - | - | | **Add rows** | Adds the report's rows to the table, building up a history. | | **Update rows** | Updates the row for each item instead of adding duplicates, so you keep one current row per item. | For **Update rows**, pick a **key field**: the column that identifies a row, like SKU. Stockful tracks the record it created for each key and updates that same record on the next run, so it never depends on the key being unique and never fails on a schedule. If you delete a tracked row in Airtable, it is recreated on the next run. ## Send now **[Send now](/user-guide/reports/scheduling#send-now)** works for Airtable schedules, so you can fire a test delivery on demand and check the result before the first scheduled run. # Discord Source: https://docs.stockful.app/user-guide/reports/channels/discord Post a scheduled report to a Discord channel Choose **Discord** on a schedule to post each run to a channel in your server. Connect Discord the first time either straight from the schedule with **Connect**, or under **Settings → Integrations**. Authorising adds the Stockful bot to one server, and every alert and report then picks a channel inside it. The report is uploaded into the channel as a file, CSV, XLSX, XML or JSONL, or a PDF for chart reports. Pick several formats and each is uploaded with one message announcing the run. > [!NOTE] > > Discord caps how large an upload can be, and the limit depends on your server's boost level. A report over that limit is posted as download links instead of files, so the run still lands rather than failing. Only channels the bot can see and post in are offered. If a channel is missing, check that the bot's role has access to it in Discord. **[Send now](/user-guide/reports/scheduling#send-now)** works for Discord schedules, so you can post a run on demand. ## When it stops working If the bot is removed from the server, or loses access to the channel, the run is recorded as failed with the reason. Reconnecting under **Settings → Integrations**, or restoring the bot's access to that channel, is enough. The schedule itself stays as it is. # Email Source: https://docs.stockful.app/user-guide/reports/channels/email Deliver a scheduled report to one or more email recipients Choose **Email** on a schedule to send each run to the recipients you list. Add one or more addresses on the schedule. The report is attached in the formats you picked, CSV, XLSX, XML or JSONL, or a PDF for chart reports. Pick several and each arrives as its own attachment on the same email. Files too large to attach are delivered as secure download links instead. Each recipient gets their own copy, so nobody sees who else is on the list. > [!NOTE] > > **Send now** is not available for email schedules, to stay within sending limits. Use [Slack](/user-guide/reports/channels/slack) or a [webhook](/user-guide/reports/channels/webhook) to trigger a run on demand. ## Subject and message Both are optional. Leave them empty and the email goes out with the standard subject and wording, translated to your store's language. Fill either in to write your own. This is useful when the same report goes to different people: your buyer and your supplier can be told different things about the same file. ### Templates The **subject** and **message** accept the same tokens as the [Google Sheets](/user-guide/reports/channels/google-sheets) file name: * `{report_name}` the report's name * `{schedule_name}` the schedule's name * `{date}` the run date in your store's timezone and date format * `{time}` the run time in your store's timezone, 24-hour For example, a subject of `{report_name} for {date}` arrives as `Low stock for 16/08/2026`. > [!NOTE] > > A custom subject or message replaces the standard one rather than adding to it, so it stays in whatever language you write it in. Clear the field to go back to the translated default. See [Scheduling reports](/user-guide/reports/scheduling) for cadence and formats. # Google Sheets Source: https://docs.stockful.app/user-guide/reports/channels/google-sheets Deliver scheduled reports straight into a Google Sheet: overwrite, append to a continuous table, a new tab each run, or a new file each run Choose **Google Sheets** on a schedule to write each run into a spreadsheet in your own Google Drive. It is the channel for live dashboards and pivots: point Stockful at a sheet you already built, or let it create files for you. ## Connect your Google account Pick **Google Sheets** as the channel, then **Connect Google** and approve access. The connection is **per user**: each staff member connects their own Google account, and a schedule delivers through the account of whoever set it up, into that person's Drive. Stockful only ever touches files it created or that you hand it through the picker. It cannot see the rest of your Drive. ## Choose how it writes The **When the report runs** setting decides what happens on every run: | Mode | Target | Each run | | - | - | - | | **Overwrite the same tab** | An existing spreadsheet and tab | Replaces the tab's contents with the latest data. One always-current sheet. | | **Add rows to the same tab** | An existing spreadsheet and tab | Appends the new rows below the last, keeping one header and a run date column. Builds one continuous table for pivots and charts. | | **Add a new tab each run** | An existing spreadsheet | Adds a fresh dated tab, keeping past runs in the same file. | | **Create a new file each run** | A Drive folder | Creates a new spreadsheet in the folder every run. | The first three write into a spreadsheet you already have, so you can layer pivot tables, charts, or a dashboard on top and have Stockful refresh the data. The last one is the hands-off option when you just want a file per run. ## Pick the target * **Overwrite / Add rows / New tab each run:** choose an existing spreadsheet with **Choose spreadsheet**. For overwrite and append you then pick the **tab** to write into. For a new tab each run you set the tab name (see templates below). * **New file each run:** choose a Drive **folder** and a **file name**. ### Templates The **file name** (new file mode) and the **new tab name** accept these tokens: * `{report_name}` the report's name * `{schedule_name}` the schedule's name * `{date}` the run date in your store's timezone, for example `2026-08-04` * `{time}` the run time in your store's timezone, 24-hour, for example `14-30-05` Add `{date}` so each run stays unique, or `{time}` as well to separate multiple runs on the same day, for example `{report_name} {date} {time}`. ## Formatting The **Formatting** options tidy the output: * **Include a header row** writes the column labels as the first row. * **Freeze and bold the header** pins and emphasises row one. * **Format number columns** shows numeric columns as numbers, so they sum and chart correctly. Values are written as plain text where they aren't numbers, so a leading `=` is never run as a formula. * **Auto-size columns** fits each column to its content. * **Add a run date column** (append mode) prefixes each run's rows with the run date, so you can tell runs apart in the continuous table. ## Send now **[Send now](/user-guide/reports/scheduling#send-now)** works for Google Sheets schedules, so you can fire a test delivery on demand and check the result before the first scheduled run. # Slack Source: https://docs.stockful.app/user-guide/reports/channels/slack Post a scheduled report to a Slack channel Choose **Slack** on a schedule to post each run to a channel. Connect Slack the first time either straight from the schedule with **Connect**, or under **Settings → Integrations**. Then pick the channel. Private channels appear once the Stockful bot is invited to them. The report is uploaded into the channel as a file, CSV, XLSX, XML or JSONL, or a PDF for chart reports. Pick several formats and each is uploaded, with one message announcing the run rather than one per file. Older Slack connections that predate file uploads receive download links instead. **[Send now](/user-guide/reports/scheduling#send-now)** works for Slack schedules, so you can post a run on demand. # Webhook Source: https://docs.stockful.app/user-guide/reports/channels/webhook POST scheduled reports to your own endpoint as JSON, with optional request signing Choose **Webhook** on a schedule to POST each run to a URL you control, as JSON. It is the channel for wiring reports into your own systems, a data warehouse, or a no-code tool like Zapier or Make. ## Setup Enter your endpoint's **URL**. On each run Stockful sends a `POST` with `Content-Type: application/json`. Optionally generate a **signing secret** so your endpoint can verify a request came from Stockful (see [Verifying requests](#verifying-requests)). The secret is shown once, so copy it then. Regenerate it if you lose it. **[Send now](/user-guide/reports/scheduling#send-now)** works for webhook schedules, so you can fire a test delivery on demand. ## Payload The body is an envelope carrying the schedule, delivery metadata, and the report(s): ```json theme={null} { "schedule": { "id": 21, "name": "Weekly low stock", "frequency": "weekly", "createdBy": "Jane Doe" }, "generatedAt": "2026-08-03T07:00:00.000Z", "reports": [ { "type": "low_stock", "name": "Low Stock", "rowCount": 128, "columns": [ { "key": "sku", "label": "SKU", "type": "text", "format": null }, { "key": "days_of_supply", "label": "Days of supply", "type": "numeric", "format": "number" } ], "dataFormat": "json", "data": [{ "sku": "ABC-1", "days_of_supply": 4 }] } ] } ``` `reports` is an array, so a future multi-report schedule can add entries without changing the shape. Each report's `columns` describe its fields: `type` is `text` or `numeric`, and `format` carries the finer type (`currency`, `percent`, `date`, and so on), or `null` for a plain dimension. ## Inline data or a linked file `dataFormat` on each report tells you where the rows are, so a receiver never has to inspect the keys: * **`json`** means the rows are inline in `data`, an array of objects. * **`jsonl`** means the report was too large to send inline (over about 1 MB), so `data` is replaced by **`dataUrl`**: a link to the full report as JSONL, one JSON object per line. Fetch it to read the rows. ```js theme={null} const rows = report.dataFormat === "json" ? report.data : await fetchJsonl(report.dataUrl); ``` The `dataUrl` link is tokened and served as `application/x-ndjson`. ## Verifying requests If the schedule has a signing secret, each POST carries an **`X-Stockful-Signature`** header: the HMAC-SHA256 of the raw request body, hex-encoded, keyed with your secret. Recompute it and compare to trust the payload: ``` X-Stockful-Signature == hex( hmac_sha256(secret, rawRequestBody) ) ``` Sign the raw request body bytes, before any JSON parsing, so they match what Stockful signed. # Exporting a report Source: https://docs.stockful.app/user-guide/reports/exporting Download any report as CSV, Excel, XML or JSONL, or a chart report as a PDF, straight from the report page Every report has an **Export** button in the header. Choose a format, choose how much of the report you want, and the file downloads there and then. Nothing to set up and no schedule needed. ## Formats | Format | Best for | | - | - | | **CSV** | Spreadsheets, and importing into another system | | **Excel (XLSX)** | Sharing with people - opens straight into Excel or Google Sheets | | **XML** | Systems that expect structured XML | | **JSON Lines (JSONL)** | Feeding a script or data pipeline, one record per line | | **PDF** | The chart as a one-page document | > [!NOTE] > > PDF is the chart, not the rows. It is only offered on reports built around a visualisation, so a table report shows the four data formats and no PDF. If you want the numbers rather than the picture, take CSV or Excel. ## How much of the report Under **Specify the results you want**, pick one: * **All results from the data query** - everything the report's query returns, not just the page you happen to be looking at. This is the default, and it can run well past the rows shown on screen. * **Only results displayed in the report** - exactly the rows on screen, with the same limit, sorting and grouping as the table in front of you. Either way the export reflects how the report is set up right now: its date range, filters, location and chosen columns all carry through. > [!TIP] > > With a comparison period turned on, the previous-period values export as their own **(previous)** columns when you choose **Only results displayed in the report**. **All results from the data query** exports the current period on its own. ## File names Exports are named after the report and the day you took them, so a folder of them stays readable: ``` stockful-inventory-valuation-2026-08-19.csv ``` ## Exporting on a schedule Anything you can download here can also arrive on its own. The same CSV, XLSX, XML and JSONL formats are available on a [schedule](/user-guide/reports/scheduling), delivered to email or Slack, and a schedule can carry **more than one format in the same run** so the report lands as CSV for a system and Excel for a person at once. See [File formats](/user-guide/reports/scheduling#file-formats) for how that side works. # Run history Source: https://docs.stockful.app/user-guide/reports/history Every report run is recorded, scheduled or sent by hand, so you can see what went out, who received it, and why a delivery failed. Every run is recorded, whether it went out on its schedule or somebody sent it by hand, so you can see what actually went out rather than guessing. * **History** in the header of the **Reports → Schedules** page shows every run across all your schedules * Each schedule's own page shows its last three runs in the sidebar, with **View history** for the full list Each entry records when the run happened, which schedule and report it was, the delivery channel, what set it going, and how many rows it contained. The **Outcome** column tells you what happened: | Outcome | Meaning | | - | - | | **Delivered** | The report was sent | | **Nothing to report** | The run found no rows, so nothing was sent | | **Not delivered** | The delivery failed - hover the info icon for the reason, usually a disconnected account or a channel that no longer exists | | **In progress** | The run is still being generated | ## Run details Click any row to see everything recorded about that run: when it was generated and delivered, how long it took, the channel, the row count, and the failure reason if there was one. It also lists **who it was sent to**, exactly as it was at the time. That is the quickest way to settle "it says delivered but nobody got it", because the recipients on the schedule may have changed since. ## What triggered a run The **Trigger** column separates the two ways a report goes out: * **Schedule** - the run happened on its cadence * **Manual** - somebody used [Send now](/user-guide/reports/scheduling#send-now); the run details name them ## Filtering and export You can filter by schedule, report, outcome and channel, and search by schedule name or error. Tick the rows you want and export just those, or export everything matching your filters, as CSV, Excel, XML or JSONL. The export carries more than the table shows, including the full recipient list and the raw error text, which is what you want when you are digging into a delivery problem. # Overview Source: https://docs.stockful.app/user-guide/reports/index Every Stockful report, loaded live against your current data with no generate step. Filter, search, schedule delivery and export. The **Reports** page lists every report type, grouped by area. Search or filter the list, pin the ones you use most, then open any report to view it live against your current data - there's no "generate" step. ## Report types Stockful ships with a set of [built-in reports](/user-guide/reports/built-in-reports) covering low stock, out of stock, dead stock, valuation, ABC, profit and more. Open one to view it live, or [build your own](/stockfulql/overview) with StockfulQL. ## Viewing a report Click a report to open it. Reports load live data. Most support filtering, searching and column sorting, plus a totals row and pagination for larger datasets. From any report you can jump to its **schedules**. ## Scheduling reports Any report can be delivered on a **daily, weekly, monthly or yearly** schedule to [email](/user-guide/reports/channels/email), [Slack](/user-guide/reports/channels/slack), a [webhook](/user-guide/reports/channels/webhook), [Google Sheets](/user-guide/reports/channels/google-sheets) or [Airtable](/user-guide/reports/channels/airtable). Set one up with **Schedule** on a report, or manage them all from **Reports → Schedules**. File deliveries can be sent as CSV, XLSX, XML or JSONL, and reports built around a chart can also be sent as a PDF. See [Scheduling reports](/user-guide/reports/scheduling) for cadences, delivery channels, formats and Send now. ## Exporting a report You don't need a schedule to get a file out. **Export** on any report downloads it right away as CSV, XLSX, XML or JSONL, with the chart available as a PDF on reports that have one. You choose whether to take everything the query returns or just the rows on screen. See [Exporting a report](/user-guide/reports/exporting). ## Building your own Beyond the built-in reports above, you can build a report from scratch: pick any metrics and dimensions, filter and group them, set a date range and comparison, and choose a chart. The report editor writes the query for you in **StockfulQL**, which you can read, edit and share. See the [StockfulQL reference](/stockfulql/overview) for the query language, its datasets and worked examples. # Scheduling reports Source: https://docs.stockful.app/user-guide/reports/scheduling Send a report to email, Slack, Discord, a webhook, Google Sheets or Airtable on a daily, weekly, monthly or yearly schedule Any report can be put on a schedule, so it reaches you without opening Stockful. Open a report and choose **Schedule** to set one up, or manage all your schedules from **Reports → Schedules**. ## Cadence Pick how often the report runs: | Cadence | When it runs | | - | - | | **Daily** | Every day at the time you set. Turn on **Skip weekends** to send Monday to Friday only. | | **Weekly** | One or more weekdays each week. Pick Monday and Thursday and it sends on both, from a single schedule. | | **Monthly** | A day of the month, the last day of the month, or a particular weekday such as the last Monday. | | **Yearly** | One month and day each year. | You also choose the **time of day**, on the hour. Reports run in your store's timezone. ### Repeating less often **Repeat every** sets the gap between runs: every 2 weeks, every 3 months, and so on. Leave it at 1 to run every period. Above 1, a **Starting from** date appears. That date decides which periods are on — set a fortnightly schedule starting on the 17th and it runs the 17th, the 31st, and so on. Move the date to shift the whole pattern. ### Choosing a day of the month The numbered days stop at the 28th, because every month has one. A schedule set to the 30th would have nothing to land on in February. For month-end, choose **the last day of the month** rather than a number. It follows the real length of each month, so it lands on the 31st in January, the 28th or 29th in February, and the 30th in April. > [!TIP] > > **The last Monday of the month** and similar are under **A particular weekday**. Pick which one (first through fourth, or last) and the weekday. "Last" means the final one in that month, whether that is the fourth or the fifth. ## Delivery channels A schedule delivers to one channel. Pick the one that fits how you work: | Channel | Where it goes | | - | - | | **[Email](/user-guide/reports/channels/email)** | To the recipients you list, with an optional custom subject and message. | | **[Slack](/user-guide/reports/channels/slack)** | Posted to a channel. | | **[Discord](/user-guide/reports/channels/discord)** | Posted to a channel in your server. | | **[Webhook](/user-guide/reports/channels/webhook)** | POST the report to a URL as JSON. | | **[Google Sheets](/user-guide/reports/channels/google-sheets)** | Delivered to Google Sheets in your Drive. | | **[Airtable](/user-guide/reports/channels/airtable)** | Delivered to a table in your Airtable base. | ## File formats For the file channels (email, Slack and Discord), data reports can be delivered as **CSV**, **XLSX**, **XML** or **JSONL**, and reports built around a chart can also be sent as a **PDF** with the chart rendered. **You can pick more than one.** Each selected format arrives as its own file in the same delivery, so a report that feeds a system as CSV and gets read by a person as XLSX needs one schedule rather than two kept in step by hand. It still counts as a single run in your [run history](/user-guide/reports/history). The control sits with the delivery options, because the format is part of how the report is delivered rather than part of the report itself. To take the same file by hand instead of on a cadence, use **Export** on the report - see [Exporting a report](/user-guide/reports/exporting). Data channels such as webhook, Google Sheets and Airtable receive the report data directly, so there is no format to choose and the control is hidden for them. > [!NOTE] > > PDF is the chart, so it is only offered for reports that have one. If you pick it alongside other formats and later change the schedule to a report without a chart, the PDF is dropped and the rest are delivered as normal. ## Send now Not sure a schedule is set up right? Use **Send now** to deliver the report once, immediately, to its channel. It does not change the schedule, so it is a safe way to preview a run. > [!NOTE] > > Send now is available for **Slack, Discord, webhook, Google Sheets and Airtable** schedules only. Email is left out to stay within sending limits. ## Saved reports and schedules A schedule runs a **saved report**, so the report it sends always reflects the query you saved, including its date range. Because the range is relative (for example "last 30 days"), each run rolls forward on its own date: a schedule set to "last 30 days" always sends the most recent 30 days, not a frozen window. To change what a scheduled report contains, edit and re-save the underlying report. See the [Reports overview](/user-guide/reports/index) for building and saving reports, and [StockfulQL](/stockfulql/overview) for the query language behind them. # Settings Source: https://docs.stockful.app/user-guide/settings Configure how Stockful works for your store, across tracking, forecasting, alerts and storefront data, organised into three settings sections. The **Settings** page is organized into three sections. Click any item to open its settings. ![Stockful settings](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/account--settings.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=067b01ee1cbf40d712cfde4d594bd978) ## Inventory | Setting | What it controls | | - | - | | **Tracking** | What Stockful tracks: exclusion rules, SKUs set individually, and the history of changes, with a summary of how many SKUs are tracked and why the rest aren't. See [Tracking](/user-guide/tracking) | | **Locations** | Choose which Shopify locations to track | | **Forecasting** | Default lead time, safety stock, stock status thresholds (low stock, overstock, dead stock), velocity period, restock strategy, [storefront traffic](/user-guide/traffic), and [SKU-level overrides](/user-guide/forecasting/sku-overrides) including [AI-suggested thresholds](/user-guide/forecasting/sku-overrides#ai-suggested-thresholds) | | **Promotions** | The [promotion calendar](/user-guide/forecasting/promotions#promotion-calendar): declare sales in advance so forecasts, alerts and reports account for them | | **Health check** | [Audit](/user-guide/health-check) of tracking, forecasting, alert, catalog, and inventory-distribution setup | | **Purchasing** | Cost allocation default, [landed-cost sync to Shopify](/user-guide/purchasing/settings), purchase order document branding, and default supplier emails | ## App | Setting | What it controls | | - | - | | **AI** | Master toggle for AI features ([assistant](/user-guide/ai-assistant), [anomaly detection](/user-guide/anomalies), [weekly digest](/user-guide/weekly-digest), threshold suggestions). Weekly-digest day/hour/channel. Anomaly alerts are set up under [Alerts](/user-guide/alerts/index) | | **General** | Currency, timezone, date format, and data retention period | | **Alert settings** | Slack connection and default channel, cooldown, and quiet periods for your [alerts](/user-guide/alerts/index) | | **Account** | Subscription plan, usage, billing, and which lifecycle emails Stockful sends. Billing and trial emails go to the account owner; product guidance and monthly recaps also go to staff members, each of whom can unsubscribe individually from the link in any email | | **Email configuration** | The emails Stockful has sent on your behalf, and sending them from your own domain - see [Email configuration](/user-guide/email-configuration) | | **Storefront** | Expose stock status, urgency, and availability on your storefront - see [Storefront Data](/storefront/overview) | | **Relaunch setup wizard** | Re-runs the install wizard so you can redo location selection, tracking config, and any other initial choices | | **Metafields** | Enable custom metafield definitions for use in filters | ## Support | Setting | What it controls | | - | - | | **Linked stores** | [Link another Shopify store](/user-guide/purchasing/linked-stores) that shares your stock, map the products and warehouses in common, and buy for both from one combined reorder list | | **Support** | Email support directly (pre-fills your shop and plan details) | | **Documentation** | Opens the Stockful documentation site | # Shopify admin Source: https://docs.stockful.app/user-guide/shopify-admin Stockful adds inventory blocks and actions inside Shopify admin, so you can check stock health without leaving the product, variant or draft order. Stockful adds inventory blocks and actions to Shopify admin so you can check stock health without leaving the product, variant, or draft order you're working on. ## Adding a block Every Stockful block is added the same way, once, and stays pinned on that page type afterwards. Scroll to the **Blocks** area at the bottom of the page: ![The Blocks area at the bottom of a Shopify admin page](https://mintcdn.com/ljsstudios/EEm0hkCsiqDAiahG/images/user-guide/admin-blocks-add.png?fit=max\&auto=format\&n=EEm0hkCsiqDAiahG\&q=85\&s=754ed564276255b83e135774060b40dc) Choose **+ Block** and pick the Stockful block for that page: ![The block picker listing Stockful's admin blocks](https://mintcdn.com/ljsstudios/EEm0hkCsiqDAiahG/images/user-guide/admin-blocks-picker.png?fit=max\&auto=format\&n=EEm0hkCsiqDAiahG\&q=85\&s=744f13167c49ed87c279c209123cfc3f) You can drag a pinned block higher up the page from the same area, and unpin it again at any time. ## Product page block ![The Stockful inventory block on a Shopify product page](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/shopify-admin--product-block.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=5b19309f1813abe3df39fac52f102e8d) On any product details page in Shopify admin, add the **Stockful: Product inventory** block - see [Adding a block](#adding-a-block). **Single-variant products** show: * Overall stock status badge (healthy, low stock, or out of stock) * Total units across all tracked locations * A breakdown table with units available, sales velocity, days of supply, and status for each location **Multi-variant products** show: * The top 5 variants ranked by worst status (out of stock first, then low stock, then by lowest units) * Available units and status for each * A summary of how many remaining variants are healthy The block's collapsed summary shows how many variants are out of stock or low stock at a glance. ## Variant page block ![The Stockful variant inventory block on a Shopify variant page](https://mintcdn.com/ljsstudios/EEm0hkCsiqDAiahG/images/user-guide/shopify-admin--variant-block.png?fit=max\&auto=format\&n=EEm0hkCsiqDAiahG\&q=85\&s=8376ea36e52b770fa3dc279c84e5aa8d) On any variant details page, the **Stockful: Variant inventory** block shows a focused view of that single variant: * Overall stock status and total units * Critical banners when the variant is out of stock or low stock at specific locations * Velocity (units sold per day) and days of supply ## Bundle components block On a product that is a fixed bundle, the **Stockful: Bundle components** block shows what's inside it - each component product, with how many of its variants the bundle uses. Clicking a row opens that product's editor right there. When a bundle's variants have different contents, a part that belongs to only some of them is labelled with the option it goes with, for example **SAK F44 Turbo Kit only**. A part with no label is in every variant. ![The Bundle components block listing each component product in a bundle](https://mintcdn.com/ljsstudios/EEm0hkCsiqDAiahG/images/user-guide/bundle-components-block.png?fit=max\&auto=format\&n=EEm0hkCsiqDAiahG\&q=85\&s=cf31760587d70eae7ad1cf2b5e597241) It works for any fixed bundle, whichever app created it. On products that aren't bundles, the block shows a quiet note instead. ## Bulk inventory action From the products list in Shopify admin, select the products you want to check, then open the **⋯** menu at the end of the bulk actions bar: ![The bulk actions bar on the Shopify products list, with the overflow menu at the end](https://mintcdn.com/ljsstudios/EEm0hkCsiqDAiahG/images/user-guide/admin-bulk-actions-bar.png?fit=max\&auto=format\&n=EEm0hkCsiqDAiahG\&q=85\&s=e8372714fb187eb6a604ed2dd07a9574) Choose **Stockful: Bulk inventory check** and a modal opens with: * A ranked table of the selected products (worst status first) * Units available, velocity, days of supply, and status for each * A header summary showing how many are out of stock or low stock ![The Bulk inventory check modal showing availability and status for the selected products](https://mintcdn.com/ljsstudios/EEm0hkCsiqDAiahG/images/user-guide/admin-bulk-inventory-modal.png?fit=max\&auto=format\&n=EEm0hkCsiqDAiahG\&q=85\&s=617135543963532b414f38e62b17f308) This is the fastest way to triage a bulk selection - for example, after filtering by vendor or collection. ## Draft order stock block On any draft order details page, add the **Stockful stock check** block to see whether the draft can actually be fulfilled: * Each line item shows its requested quantity alongside stock available * A fulfillment badge flags line items as **available**, **insufficient** (less stock than requested), or **out of stock** Use this before sending an invoice to avoid promising stock you don't have. > [!NOTE] > > All admin blocks read from Stockful's synced inventory data - the same numbers you see in the main Stockful app. Stock status uses the same [thresholds](/user-guide/settings) you've configured for low stock and out of stock. ## Point of Sale extensions Stockful also works inside Shopify POS, so retail staff get the same stock intelligence at the till: * **Stock check tile** - a smart grid tile showing how many products are running low at this location. Tapping it opens a full search: find any product by name, SKU, or barcode and see its status, stock on hand, sales velocity, days of cover, incoming shipments, and stock at every other location (hubs are labelled). * **Product stock block** - on any product screen in POS, an inline Stockful panel shows the product's status at this location, with a details view breaking down stock across all locations. Both are read-only and use the same numbers as the main app. Add the tile from the POS smart grid settings; the product block appears automatically on product details. > [!NOTE] > > POS extensions require Shopify POS 10.6 or later and a logged-in user with access to the Stockful app. # Shopify Sidekick Source: https://docs.stockful.app/user-guide/sidekick Ask Shopify's built-in Sidekick AI about your inventory, forecasts and alerts without opening Stockful - the same intelligence, inside Shopify admin. Sidekick is the AI assistant built into the Shopify admin. Stockful plugs into it, so you can ask about your inventory, forecasts and alerts right inside Shopify, without opening Stockful. ![Shopify Sidekick setting up a low stock alert through Stockful](https://mintcdn.com/ljsstudios/TUCamDUIjkRf5Okj/images/user-guide/ai--sidekick.png?fit=max\&auto=format\&n=TUCamDUIjkRf5Okj\&q=85\&s=fc7030914ea45a9845c16fe222b5a5f6) It's the same inventory data that powers Stockful's in-app [AI assistant](/user-guide/ai-assistant) and [MCP server](/user-guide/mcp-server), surfaced to Sidekick. > [!NOTE] > > Available on all plans, wherever Shopify Sidekick is enabled. Using Stockful through Sidekick doesn't count against your in-app assistant message allowance. ## What you can ask Open Sidekick in the Shopify admin and ask about your stock: * "What's low on stock at my London warehouse?" * "What should I reorder, and how urgent is it?" * "When will this product run out at the current sales rate?" * "What's my dead stock — inventory that isn't selling?" * "What's my stock worth right now, by location?" * "Which products drive most of my revenue?" (ABC analysis) * "What are stockouts costing me this month?" * "Anything unusual in demand this week?" Sidekick uses Stockful's tools to answer, and where it helps, links you straight to the matching page in Stockful for the full picture. > [!NOTE] > > Through Sidekick, Stockful is read-only — it answers questions and points you to the right place in Stockful, but doesn't change anything. To make changes (snoozing reorders, adjusting forecasts, toggling alerts), use Stockful directly or the [MCP server](/user-guide/mcp-server). ## Setup There's nothing to set up. As long as Stockful is installed on your store with an active plan or trial, its inventory tools are available to Sidekick automatically. The first time Sidekick uses Stockful, it may ask you to allow it — confirm, and you're set. > [!TIP] > > If Sidekick doesn't seem to know about your inventory, ask it directly, for example "use Stockful to check what's low on stock". ## Privacy and data * **Your store only.** Sidekick only ever sees the inventory data for the store you're working in. * **Read-only.** Stockful's Sidekick tools answer questions; they don't change your data or move stock in Shopify. * **Active plan required.** Inventory answers need an active Stockful subscription, the same as the rest of the app. # Tracking Source: https://docs.stockful.app/user-guide/tracking Choose which products and SKUs Stockful tracks, see why any SKU isn't tracked, and check what a change does before you save it. A **tracked SKU** is one Stockful forecasts, alerts on and recommends reorders for. It is also what your plan counts: the tracked SKU total on your [plan](/user-guide/plans-and-billing) is the number of tracked SKUs. Everything about what is tracked lives under **Settings > Tracking**. ## Why a SKU isn't tracked Every SKU in your store is either tracked or not tracked for one of these reasons: * **Excluded by rule** - it matches one of your [exclusion rules](#exclusion-rules) * **Untracked in Shopify** - **Track quantity** is off for it in Shopify, so there is no stock count to follow * **Bundle** - a bundle holds no stock of its own. Stockful tracks the products inside it instead * **Paused at plan limit** - it arrived after your store reached its plan's SKU limit * **Set to never track** - you [set this SKU](#setting-a-single-sku) not to be tracked The sidebar on **Settings > Tracking** counts your SKUs by these reasons, next to how many are tracked out of your plan's limit. Click any number to open Inventory showing exactly those SKUs. ### Finding SKUs that aren't tracked On [Inventory](/user-guide/inventory), the **Tracking status** filter shows SKUs that aren't tracked. Choose **Tracking status is not Tracked** for all of them, or pick a single reason. Each row's Status column says why that SKU isn't tracked. If you search for something and none of the matches are tracked, the list says how many SKUs that aren't tracked match, with a button to show them. So a product that seems to be missing can always be found. ### A SKU's own page Click a SKU that isn't tracked to open its page. It says why the SKU isn't tracked and, for a rule, names the exact condition it matches, such as *"Variant title starts with Pre-order"*. It also offers the one thing that changes it: | Reason | What the page offers | | - | - | | Excluded by rule | **Track this SKU**, which sets it to always track, and **Edit exclusion rules** | | Set to never track | **Follow rules again** | | Untracked in Shopify | **Open in Shopify**, to turn Track quantity on. Stockful picks it up straight away | | Paused at plan limit | **View plans** | | Bundle | Nothing to change. Its components are tracked | The page shows no stock or forecast, since Stockful isn't following this SKU. ## Exclusion rules Exclusion rules stop whole groups of products or SKUs being tracked: drafts, a vendor you have stopped selling, samples with an SKU prefix, or anything with no cost. A new store starts with one rule that excludes draft and archived products. Build rules from product, variant and cost conditions, matching **all** or **any** of them. See [Product filters](/user-guide/product-filters) for the fields you can use. Changes apply within a minute of saving. ### Checking a change before you save it Saving your rules opens **Review changes** first, showing what the save will do: * **Tracked SKUs** before and after * **Stock value** before and after * Every SKU that **starts tracking** or **stops tracking**, 20 at a time * A warning when the save takes you over your plan's SKU limit, since extra SKUs add an overage charge Nothing changes until you choose **Save changes**. > [!WARNING] > > Removing all your rules to bring back one SKU brings back everything else the rules were excluding too. To track a single SKU, use [Track this SKU](#setting-a-single-sku) instead. ### History and restoring a change **History** lists every change to what's tracked, with who made it and how the tracked SKU count moved. The sidebar shows who last changed it and when. Click a change to see exactly what it did: * **For a rule change**, which conditions were added and removed. **Restore** puts your rules back as they were before that change, after you confirm. A restore is saved as a change of its own, so it can be undone too. * **For a SKU change**, what the SKUs were set to and which ones. **Follow rules again** hands them back to your rules. ## Setting a single SKU Any SKU can be set to track or not whatever your rules say: * **Always track** - tracked even when a rule excludes it. It counts towards your plan's SKU limit. * **Never track** - not tracked, and not counted towards your plan, with no rule needed. Add an **Until** date to stop tracking it for a while. It is tracked again the night after that date. To set one: * **From its page** - a SKU that isn't tracked offers **Track this SKU**. A tracked SKU has **Stop tracking this SKU** under **More actions**, and one set to always track shows an **Always tracked** badge. * **In bulk** - tick SKUs on [Inventory](/user-guide/inventory) and choose **Track** or **Stop tracking**. The confirmation shows how the tracked SKU count and stock value change. A setting can't override Shopify: **Always track** still can't track a SKU with Track quantity off, a bundle, or a SKU paused at your plan's limit. ### SKUs set individually **Settings > Tracking** lists every SKU set to always or never track, with its end date and who set it. Click one to open its page, or use the bin to remove its setting so it follows your rules again. # Storefront traffic Source: https://docs.stockful.app/user-guide/traffic How Stockful joins your storefront sessions and searches to inventory: traffic stats per SKU, demand-pressure reordering, out-of-stock pages still drawing visits, and search demand you aren't stocking. Stockful syncs your storefront's sessions and search terms from Shopify and joins them to your inventory. Not as a traffic dashboard - Shopify already has one - but as a demand signal on the surfaces where you make stock decisions: which out-of-stock product is actively costing you visits, which reorder deserves priority because its page is surging, and what shoppers are searching for that you don't carry. > [!NOTE] > > Stockful syncs up to two years of traffic history when you install, so for an established store these surfaces light up as soon as the initial sync finishes. A brand-new storefront needs about a week of sessions before there is enough signal to trust. Sessions are collected per product page, so everything traffic-related works at product grain - variants of the same product share their product's sessions, split by each variant's share of recent sales. ## Where traffic shows up | Surface | What you see | | - | - | | **SKU detail** | Sessions over the last 28 days (with the prior 28 for comparison) and the product's traffic conversion against your shop average | | **Dashboard** | A "needs your attention" row counting out-of-stock SKUs that are still drawing visits | | **Health check** | High-traffic stockouts, in-stock products with real traffic and no sales, and frequent storefront searches that match nothing in your catalogue | | **Reorder recommendations** | An optional demand-pressure sort and a **Traffic surge** badge when a SKU's sessions have at least doubled | | **Reports** | The [Traffic](/stockfulql/datasets/traffic) and [Search](/stockfulql/datasets/search) datasets, plus three built-in reports: Traffic & Conversion, Traffic vs Sales Trend, and Top Storefront Searches | | **Alerts** | A **Traffic surging, stock thin** [alert](/user-guide/alerts/index) for products whose sessions have at least doubled while their stock would run out inside the cover you choose | ## Settings From **Settings → Forecasting**, the **Storefront traffic** section: * **Storefront traffic** (on by default) - the master switch. Turning it off darkens every traffic surface: stats stop being computed, the dashboard count reads zero, health-check findings stop, and the toggles below disappear. * **Traffic in reorder priority** (off by default) - lets traffic rank your reorder list: adds the demand-pressure sort and the surge badge. * **Traffic in forecasts** (off by default) - lets traffic trends adjust demand forecasts. This switch only appears once the forecasting side has been validated and enabled by Stockful. Individual SKUs can be excluded on [SKU overrides](/user-guide/forecasting/sku-overrides) - the **Traffic** column - which removes them from every traffic surface without touching the rest of the shop. ## What the numbers mean * **Sessions (28d)** - storefront sessions that landed on the product's page over the last 28 days, allocated to the variant by its share of the product's recent sales (evenly when the product hasn't sold). * **Traffic conversion** - units sold per hundred product-page sessions. Small samples are smoothed toward the product type's rate and your shop's overall rate, so a product with thirty sessions doesn't read as 0% or 30% conversion on the strength of one sale. * **Traffic surge** - sessions at least doubled against the prior 28 days, past a minimum floor, so quiet products don't surge on noise. # Weekly digest Source: https://docs.stockful.app/user-guide/weekly-digest An AI-written Slack summary of your inventory week: what is selling, what is stuck, what is at risk and what needs attention, personalised to your shop. The weekly digest is an AI-generated Slack message that summarises the past week in your inventory: what's selling, what's stuck, what's at risk, and what needs attention. It's personalised to your shop's actual data, not a generic dashboard dump. > [!NOTE] > > This is a shop-wide weekly summary written by the assistant, covering your whole inventory. Setting an individual alert to daily or weekly under [Alerts](/user-guide/alerts/index) is a separate thing: that bundles what one alert caught, and says nothing about the rest of your shop. ## What's in a digest Each digest opens with a short top-line summary of the week, then up to six sections - any section with no data is skipped: * **Urgent reorders** - SKUs projected to stock out within this week * **Trending up** - SKUs whose velocity accelerated vs. last week * **Trending down** - SKUs whose velocity slowed vs. last week * **Overstock** - SKUs with excess inventory eating shelf space * **Back in stock** - SKUs that recovered from a stockout this week * **Strong movers** - SKUs with the biggest revenue gains Each section shows up to three example SKUs plus a total count, and a one-sentence AI narrative explaining what's going on and what to consider. ## Schedule Pick the day of week and time of day the digest fires. Defaults to Monday at 9am in your shop's timezone. To set or change the schedule: 1. Go to **Settings** → **AI** 2. Under **Weekly insights**, pick the Slack channel 3. Set the **Day of week** and **Time of day** If the day is changed, the next digest fires on the new day. ## Feedback Each digest has **Helpful** and **Not helpful** buttons at the bottom. One click records your rating. We use this feedback to keep tuning the digest - both what's surfaced and how it's written. ## Turning it off If you don't want digests, you can: * Toggle **Enable weekly insights** off under **Settings** → **AI** * Or disable AI features entirely with the **Enable Stockful AI** toggle at the top of the same page Either stops the digest from being generated and sent. ## Plan availability Available on all plans. ## Troubleshooting * **No digest arrived on the scheduled day** - check the configured Slack channel still exists and Stockful is still a member. Check **Settings** → **AI** that weekly insights is enabled and pointed at a channel. * **Digest seems generic** - it's drawn from your recent inventory and sales data; shops that just installed Stockful won't get a useful digest until enough history has accumulated.