Category Output

Output representation of the category definition.

JSON Example 

1"categories": [
2    {
3      "catalogId": "0ZS1Q000000XbZAWA0",
4      "code": "B2B Category",
5      "description": "Products Category",
6      "hasSubCategories": true,
7      "id": "0ZG1Q000000XbVGWA0",
8      "name": "Unified Computing",
9      "numberOfProducts": 2,
10      "parentCategoryId": "0ZGT100000000qlOAA",
11      "sortOrder": 2,
12      "subCategories": [],
13      "isNavigational: false
14    }
15  ]

Properties 

Property NameTypeDescriptionFilter Group and VersionAvailable Version
catalogIdStringID of the catalog that the category is associated with.Small, 60.060.0
codeStringUnique code of the product category.Small, 60.060.0
descriptionStringDescription of the category. If data translation is set up and specified in the org, the translated description is available.Small, 60.060.0
hasSub​CategoriesBooleanIndicates whether the subcategories are available (true) or not (false).Small, 60.060.0
idStringID of the category.Small, 60.060.0
isNavigationalBooleanIndicates whether the category node is navigational (true) or not (false).Small, 62.062.0
nameStringName of the category. If data translation is set up and specified in the org, the translated name is available.Small, 60.060.0
numberOf​ProductsIntegerNumber of products associated with the category.Small, 60.060.0
parent​CategoryIdStringID of the parent category.Small, 60.060.0
sort​OrderIntegerDisplay order of the product category relative to the siblings with the same parent category.Small, 60.060.0
sub​CategoriesCategory Output[]List of subcategories, if available. This property is returned with the Categories List (GET) API response.Small, 60.060.0