Go back

← All guides · Ingenious AI team · November 14, 2026 · Reviewed November 14, 2026

Availability in Schema: InStock, OutOfStock and What Agents Match On

The short answer

Availability must be stated in the vocabulary agents match on: a schema.org URL — https://schema.org/InStock, https://schema.org/OutOfStock and their siblings — in the JSON-LD offers block. The audit's jsonld_availability check passes on a schema.org value, warns on free-text stock prose, and fails on absence. 'In stock!' is a sentence for humans; the URL is a fact for programs, and programs are the readers being served. Test your product data with the free store audit.

Audit my store — free

A controlled vocabulary, doing its job

Schema.org availability is a small enumeration — InStock, OutOfStock, PreOrder, BackOrder, SoldOut, LimitedAvailability, Discontinued and their kin — each a URL, each unambiguous across languages and stores. That unambiguity is the entire point. An agent deciding whether a product can fulfil a request does not interpret your prose ('plenty on the shelf', 'low stock — hurry', 'available soon-ish'); it matches a value. The check mirrors the reader exactly: availability containing a schema.org value passes; a non-empty non-schema string warns (present, but in the wrong language); an empty or missing value fails.

The warn tier deserves respect rather than relief. A prose availability does not merely score less — it fails to enter the agent's decision at all, which makes it functionally closer to the fail than the pass for the visit itself. The audit's grading (warn, half credit) is generous relative to the consequence, on the theory that the data pipeline exists and the vocabulary fix is a mapping, not a build.

Which value, when

State the presented variant's truth. InStock for buyable-now; OutOfStock or SoldOut when it cannot be bought (the two differ in flavour — temporary vs gone — and either beats a lie); PreOrder and BackOrder for the states they name, which agents treat as buyable-with-conditions and quote accordingly. The discipline that matters is dynamism: the value must be generated from the same stock state that governs the buy button. A template that hardcodes InStock — a depressingly common shortcut — converts the check's pass into the out-of-stock trap at the variant step, where the gauntlet grades the truth the schema only asserted.

Granularity is the second discipline. Product-level availability describing any-variant stock is the trap's data shape. The offers for the variant the page presents should carry that variant's value — per-variant offers where the platform supports them, or the presented variant's offer as the page's canonical statement.

Availability among the price facts

Availability is one of the three offers facts the audit reads field by field — with price (jsonld_price) and currency (jsonld_currency) — because together they are the quotable unit: what it costs, in what, and whether it can be had. A quote missing any leg is not a quote. The restock mission then stresses availability hardest (exact product, stock state, quantity 2), and the catalog sample checks the field's coverage across the catalog. Seen whole, the field's journey in one audit is: present in the right vocabulary, on the sampled page → consistent per variant in the feed's sample → true under the live walk. Stores usually break at the first or third step; the fix for both is to generate the value from stock, per variant, in the template — the theme of adding JSON-LD Product schema.

Sources

The vocabulary also future-proofs the data in a way prose cannot: schema.org values are consumed identically by shopping agents, search features, marketplace sync tools and the next reader class not yet named. A store that maps its stock states once, into the standard enumeration, has written the fact in the closest thing the web has to a permanent dialect. The prose badge on the page can be reworded every season for humans; the URL underneath it should never need to change. Facts in standard vocabularies are infrastructure; facts in prose are copy, with copy's maintenance burden and copy's half-life.

Five actions to take

  1. Use schema.org URLs. https://schema.org/InStock and its siblings in offers.availability — never free-text stock prose in the data field.
  2. Generate from real stock state. The value must come from the same state that governs the buy button; a hardcoded InStock is a trap being built.
  3. State the presented variant's value. Per-variant availability, not product-level optimism — the variant is the unit of purchase.
  4. Use the honest negatives. OutOfStock and SoldOut, stated plainly, route agents to your in-stock products early instead of failing them mid-walk.
  5. Check coverage across the catalog. The catalog sample's availability pass rate — one template emitting prose values poisons every product on it.

Worked example: Seasonal: The Candle Bothy, 61 to 83

Example — a fictional store, shown to illustrate how the audit's findings and fixes fit together. These are the example's numbers, not a customer's results.

The Candle Bothy is a fictional 23-product seasonal candle store. Its first audit scored 61/100:

The fixes, in the order the audit's impact weights dictate:

The re-audit scored 83/100. One template line — a mapping from states the store already tracked to the vocabulary agents match on — moved a field on every product the store sells. Few fixes in this series have a better effort-to-coverage ratio.

Run the free store audit · See pricing · Ingenious AI

Frequently asked questions

What does jsonld_availability require?

offers.availability set to a schema.org value, such as https://schema.org/InStock. A schema.org value passes; a non-empty free-text value (like 'In stock!') warns; a missing value fails. The vocabulary matters because agents match on it — prose cannot be matched, only read by humans.

Which schema.org values are there?

The availability enumeration includes InStock, OutOfStock, SoldOut, PreOrder, BackOrder, LimitedAvailability and Discontinued. Use the one that states the presented variant's real state — agents quote PreOrder and BackOrder as buyable-with-conditions, and route around honest OutOfStock to your available products.

Can I hardcode InStock if most things are in stock?

No — a hardcoded value manufactures the out-of-stock trap: the data claims availability the variant step disproves, and the gauntlet fails the walk there. Generate the value from the same stock state that governs the buy button.

Product-level or variant-level?

The presented variant's. Product-level availability ('some variant is in stock') stated in the offers is the trap's data shape. Per-variant offers are ideal; at minimum, the page's canonical offer must describe the variant the page presents.

Why does this field matter so much to missions?

The restock mission needs the exact product's stock state at quantity 2; the gift mission needs in-stock products it can stand behind. Both consume availability as data. Prose availability leaves the missions to the live walk alone — slower evidence, and absent in the core audit entirely.

Keep reading

Start from the top of the subject: Why AI Shopping Agents Skip Your Store · Can AI Agents Buy From Your Store? · Agentic Commerce Checklist for Online Stores. Then run the instrument itself: the free store audit, the Store Audit lab, and the pricing page. All guides are listed in the guides index.

Previous guide: MCP Readiness Signals: Telling Agents Where to Connect · Next guide: JSON-LD Price and Currency: The Two Fields Every Quote Stands On