IKEA · JSON Structure

Ikea After Purchase Ordering Product Parts Structure

Parts in product

Type: object Properties: 5 Required: 4
RetailHome FurnishingsConsumer ProductsOpensourceCommunityUnofficial APISmart Home

ProductParts is a JSON Structure definition published by IKEA, describing 5 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id productDesc imageUrl type items

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "type": "object",
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ikea/refs/heads/main/json-structure/ikea-after-purchase-ordering-product-parts-structure.json",
  "name": "ProductParts",
  "description": "Parts in product",
  "properties": {
    "id": {
      "type": "string",
      "description": "Product identifier",
      "example": "00263850"
    },
    "productDesc": {
      "type": "string",
      "description": "Product description",
      "example": "BILLY"
    },
    "imageUrl": {
      "type": "uri",
      "description": "Image URL",
      "example": "https://www.ikea.com/gb/en/images/products/billy-bookcase-white__0625599_pe692385_s2.jpg"
    },
    "type": {
      "type": "string",
      "description": "Product type",
      "example": "bookcase"
    },
    "items": {
      "type": "array",
      "description": "List pf parts",
      "items": {
        "type": "object",
        "description": "Replacement part",
        "required": [
          "itemId",
          "partName",
          "categoryId",
          "subCategoryId",
          "replacementId",
          "status"
        ],
        "properties": {
          "itemId": {
            "type": "string",
            "description": "Part identifier - typically 5-8 digit number, may include suffix like `/1` or `-1`",
            "example": "100001"
          },
          "partName": {
            "type": "string",
            "description": "Part name",
            "example": "KEY HEXAGON 4MM SSH L48 ZN"
          },
          "partDescription": {
            "type": "string",
            "description": "Part description",
            "example": "S-SHAPE, WIDTH=20, LENGTH=48, HARDENED HRC 52 +5/-10"
          },
          "categoryId": {
            "type": "string",
            "description": "Category identifier",
            "example": "P1201"
          },
          "subCategoryId": {
            "type": "string",
            "description": "Subcategory identifier",
            "example": "12101"
          },
          "replacementId": {
            "type": "string",
            "description": "Part identifier - typically 5-8 digit number, may include suffix like `/1` or `-1`",
            "example": "100001"
          },
          "stock": {
            "type": "int32",
            "description": "Stock status",
            "example": 352
          },
          "status": {
            "type": "string",
            "enum": [
              "AVAILABLE",
              "NOT_AVAILABLE",
              "ORDER_AT_CSC",
              "OUT_OF_STOCK",
              "DISCONTINUED_WITH_REPLACEMENTID"
            ],
            "description": "Part Status:\n  * `AVAILABLE` - Part is available\n  * `NOT_AVAILABLE` - Part is not available\n  * `ORDER_AT_CSC` - Order at the Customer Service Center\n  * `OUT_OF_STOCK` - Part is out of stock\n  * `DISCONTINUED_WITH_REPLACEMENTID` - Part is discontinued and replaced by provided id.\n",
            "example": "AVAILABLE"
          }
        }
      }
    }
  },
  "required": [
    "id",
    "productDesc",
    "imageUrl",
    "type"
  ]
}