This array should contains all categories. We must have one and only one root category (where the parentNode is not present), this category will not be displayed into front but need to have the order of L0 categories.
Must contain a minimum of 1 items
This is a recursive element and can hold categories, sub-categories
The UPSERT action adds or update a category
Unique identifier for this node
"S07SF070301"
The title of this Categorisation node
{
"fr-BE": "SYSTÈMES DE SUPPORT DE CÂBLES",
"nl-BE": "KABELDRAAGSYSTEMEN"
}
Each additional property must conform to the following schema
Type: stringA simple text description that will be displayed into the PLP of this category
{
"fr-BE": "SYSTÈMES DE SUPPORT DE CÂBLES",
"nl-BE": "KABELDRAAGSYSTEMEN"
}
Each additional property must conform to the following schema
Type: stringA simple text that will be used for meta(title) of the PLP of this category for the SEO purpose
{
"fr-BE": "SYSTÈMES DE SUPPORT DE CÂBLES",
"nl-BE": "KABELDRAAGSYSTEMEN"
}
Each additional property must conform to the following schema
Type: stringA simple text that will be used for meta(description) of the PLP of this category for the SEO purpose
{
"fr-BE": "SYSTÈMES DE SUPPORT DE CÂBLES",
"nl-BE": "KABELDRAAGSYSTEMEN"
}
Each additional property must conform to the following schema
Type: stringAction defines if the category has to be added/updated or deleted.
- While sending action equals delete categories, only code (categoryId) is required and title can be ignored
Before deleting a category:
- all references to this category as parentNode or childNodes should be updated by the OpCo.
- all products related to this category or one of childNodes should be moved by the OpCo to the right category.
Deleting a category will not update the search index. The right sequence when changing categories structure, will be to:
- add new categories
- update categories parentNode or childNodes
- update products affected by those changes
- delete categories after previous changes applied to the search engine
- While sending action equals delete categories, only code (categoryId) is required and title can be ignored
The code of the parent node. The root node of categories tree should not have this attribute
"S07SF070301"
list of code of child node
No Additional Items[
"S07SF070302",
"S07SF070303"
]
This object contains the autosuggest alternate text and the boolean indicating if title or text is sent to bloomreach, autosuggest flag is required as it indicates if the field (title / alternateText) needs to be sent to bloomreach or not, alternateText is optional because if its not present and flag is true we send the title field to bloomreach
{
"autoSuggest": false,
"alternateText": {
"fr-BE": "Led",
"nl-BE": "Led"
}
}
To indicate if the category needs to be autosuggested in the search engine (title or alternate text would be sent to bloomreach)
true
The text or alias for autosuggesting the category
{
"fr-BE": "Lampe",
"nl-BE": "Lamp"
}
Each additional property must conform to the following schema
Type: stringDefine the scope of this category. A category can be used,
- only by sellers of the marketplace
- only by the opco
- by the marketplace sellers and the opco.
The DELETE action deletes a category, only its code is required.
"DELETE"
Unique identifier for this node
"S07SF070301"
{
"code": "code1",
"title": {
"en-GB": "Root category without parent"
},
"childNode": [
"code3",
"code4"
]
}
{
"code": "code2",
"title": {
"en-GB": "Intermediate category with parent and children"
},
"parentNode": "code1",
"childNode": [
"code3",
"code4"
],
"search": {
"autoSuggest": true
},
"marketplace": {
"scope": "MARKETPLACE_ONLY"
}
}
{
"code": "code4",
"title": {
"en-GB": "Leaf category with parent but without children"
},
"parentNode": "code2",
"search": {
"autoSuggest": false,
"alternateText": {
"fr-BE": "Lampe",
"nl-BE": "Lamp"
}
}
}