This is a html view of the json schema please take the json schema as reference DOWNLOAD THE JSON SCHEMA

Local Product Categories

Type: array

This array should contain all local product categories for Spark AX. Product categories must have a tree structure with one and only one root category (where the parentNode is not present), this category will not be displayed, but need to have the order of L0 categories.

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

CategoryNode

Type: object

This is a recursive element and can hold categories, sub-categories

No Additional Properties
Examples:

{
    "code": "code1",
    "title": {
        "en-GB": "Root category without parent"
    },
    "childNodes": [
        "code3",
        "code4"
    ]
}
{
    "code": "code2",
    "title": {
        "en-GB": "Intermediate category with parent and children"
    },
    "parentNode": "code1",
    "childNodes": [
        "code3",
        "code4"
    ]
}
{
    "code": "code4",
    "title": {
        "en-GB": "Leaf category with parent but without children"
    },
    "parentNode": "code2",
    "search": {
        "autoSuggest": false,
        "alternateText": {
            "fr-BE": "Lampe",
            "nl-BE": "Lamp"
        }
    }
}

Type: string

Unique identifier for this node

Must be at least 1 characters long


Example:

"S07SF070301"

Multilingual Object

Type: object

The title of this Categorisation node


Example:

{
    "fr-BE": "SYSTÈMES DE SUPPORT DE CÂBLES",
    "nl-BE": "KABELDRAAGSYSTEMEN"
}

Each additional property must conform to the following schema

Type: string

Multilingual Object

Type: object

A simple text description that will be displayed into the PLP of this category


Example:

{
    "fr-BE": "SYSTÈMES DE SUPPORT DE CÂBLES",
    "nl-BE": "KABELDRAAGSYSTEMEN"
}

Each additional property must conform to the following schema

Type: string

Type: enum (of string) Default: "ACTIVE"

Status defines if the category active or inactive.

Must be one of:

  • "ACTIVE"
  • "INACTIVE"

Type: stringFormat: date-time

The date when the local product category will be considered active. This field has no impact on the status.


Example:

"2020-01-01T00:00:00Z"

Type: stringFormat: date-time

The date when the local product category will be considered inactive. This field has no impact on the status.


Example:

"2020-01-01T00:00:00Z"

Type: string

The code of the parent node. The root node of categories tree should not have this attribute

Must be at least 1 characters long


Example:

"S07SF070301"

Type: array of string

list of code of child node

No Additional Items

Each item of this array must be:

Type: string

Must be at least 1 characters long


Example:

[
    "S07SF070302",
    "S07SF070303"
]