Class Unit Key gives context when invoking the AvailabilityClassifications API.
Type: objectProperties: 2
RetailHome FurnishingsConsumer ProductsOpen-SourceCommunityUnofficial APISmart Home
ClassUnitKey is a JSON Structure definition published by IKEA, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"type": "object",
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/ikea/refs/heads/main/json-structure/ikea-sales-item-class-unit-key-structure.json",
"name": "ClassUnitKey",
"description": "Class Unit Key gives context when invoking the AvailabilityClassifications API.\n",
"properties": {
"classUnitCode": {
"type": "string",
"minLength": 2,
"maxLength": 5,
"description": "`classUnitCode` is the unique identifier of a Class Unit when\ncombined with a `classUnitType`.\n\nA valid `classUnitCode` always has a pattern like `^([A-Z]|[0-9]){2,5}$`.\n\nThis can either be a:\n\n* **Retail Unit** - Retail Unit must be combined with a valid `classUnitCode`. For example, `SE` for Sweden or `DE` for Germany. A list of valid Class Units can be found [in CBD](https://iwww.cbdview.ikea.com/) (requires VPN or internal network).\n* **Store ID** - The 3-digit store ID. E.g. `066`.\n",
"examples": [
"GB",
"DE",
"066"
]
},
"classUnitType": {
"type": "string",
"description": "Class Unit Type:\n * `RU` - Retail Unit - Retail Unit must be combined with a valid `classUnitCode`. For example, `SE` for Sweden or `DE` for Germany. A list of valid Retail Units can be found [in CBD](https://iwww.cbdview.ikea.com/) (requires VPN or internal network).\n * `STO` - Store - The store availability for a given store\n",
"enum": [
"RU",
"STO"
],
"example": "RU"
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.