Ecommerce Stockout Monitoring: Separate Real Stockouts from Crawl Failures

Stockout monitoring only works when three states stay separate: purchasable, not purchasable and crawl failed. Research found that 20% of products went out of stock at least once in 90 days and 4% were out of stock on an average day. If failed crawls are written as stockouts, the whole availability timeline becomes unreliable.

Stockout monitoring only works when three states stay separate: purchasable, not purchasable and crawl failed. Research found that 20% of products went out of stock at least once in 90 days and 4% were out of stock on an average day. If failed crawls are written as stockouts, the whole availability timeline becomes unreliable.

Ready to put this into practice? Try Change radar.

See all ecommerce price monitoring research data with sources, study periods and verification dates.

Research basis (verified 2026-11-26)

What public data can tell you

In Shopify products.json, a variant carries sku, price, compare_at_price and an available boolean. The boolean shows whether the variant is currently purchasable, not the exact inventory count. A flip in availability can become an event; exact stock quantity cannot be inferred from public fields.

  • Purchasable / not purchasable: public
  • Exact inventory count: unavailable
  • Orders, customers and costs: require authorization

Keep failures, empty results and stockouts apart

A crawl failure, a parser break, an empty array and a genuine unavailable state all create missing-looking values, but they are not the same event. Store HTTP status, parse status and the available value for every observation. Record a stockout only when parsing succeeded and available flipped from true to false.

  1. Record HTTP and parse status
  2. Read available only after a successful parse
  3. Label failed results separately
  4. Create an event only on a true state flip

How stockouts affect pricing decisions

A competitor stockout does not automatically mean strong demand; it can also signal supply trouble. Read availability beside price changes, new products and promotions. Price cuts before a stockout may indicate inventory clearing; a rebound after restock suggests slow supply recovery.

  • Price cuts before stockout: possible inventory clearing
  • Price rebound after restock: slow recovery
  • Long stockouts: check substitute opportunities

Set a useful restock alert

For core products, treat two consecutive unavailable observations as a restock alert; summarize long-tail products weekly. Include the source URL, crawl time, last purchasable time and before/after values so the team can verify the event directly.

  1. Check core products daily
  2. Alert after two consecutive unavailable observations
  3. Attach source URL and crawl time
  4. Send long-tail products to a weekly digest

Frequently asked questions

Can public data show exact inventory?

No. Shopify's public variant fields expose an available boolean, not exact counts.

Should crawl failures create stockout events?

No. Only a successful parse with available changing from true to false should create a stockout.

How often should availability be checked?

Daily for core products; shorter intervals during promotions and weekly digests for long-tail items.

Does a stockout always mean strong demand?

No. Combine it with price, product launches and duration before drawing a conclusion.

Related articles

Back to blog

Turn insight into daily monitoring

Start with one public store URL and build your first price and change timeline.

Start free