---
id: "item_availability"
kind: "datatype"
status: "draft"
is_pii: false
name: "Stock availability of an item (In Stock, Out of Stock, Pre-order)"
categories: ["ecommerce"]
langs: ["en", "de", "fr", "es", "it", "nl", "pt", "pl"]
quality: 65
url: "https://registry.apicrafter.io/datatype/item_availability"
---

# Stock availability of an item (In Stock, Out of Stock, Pre-order) (`item_availability`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Whether an item that a shop offers can be ordered and shipped: In Stock, Out of Stock, Sold Out, Pre-order, Backordered, Discontinued, Special Order, the number left (Only 2 left!) and the same in other languages (Auf Lager, En stock, Agotado, Op voorraad). Product lists, price comparisons and catalogs show it next to the price. The values of the schema.org enumeration ItemAvailability (InStock, OutOfStock, PreOrder, SoldOut) mark it up in product pages.

- Parent datatype: [`category`](https://registry.apicrafter.io/datatype/category.md)
- Personal data (PII): no
- Categories: E-commerce (ecommerce)
- Countries: global
- Languages: English (en), German (de), French (fr), Spanish (es), Italian (it), Dutch (nl), Portuguese (pt), Polish (pl)
- Classification: categorical

## Examples

- `In Stock`
- `Out of Stock`
- `Sold Out`
- `Pre-order`
- `Only 2 left!`
- `InStock` — schema.org
- `Auf Lager` — German

## Metacrafter rules

2 rules: 1 match the field name, 1 match values.

- `itemavailabilitybyname` (field, `common/ecommerce.yaml`)
- `itemavailabilityvalue` (data, `common/ecommerce.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- ru: Наличие товара (в наличии, нет в наличии, предзаказ)

## Sources

- schema.org: <https://schema.org/ItemAvailability>
- schema.org: <https://schema.org/availability>

## Quality

Score 65/100. Missing: regexp, negative example, mapping (Wikidata, Schema.org, ...).

JSON: <https://registry.apicrafter.io/api/v1/datatypes/item_availability.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/ecommerce/item_availability.yaml>
