{"id":2315,"date":"2020-09-24T11:43:08","date_gmt":"2020-09-24T11:43:08","guid":{"rendered":"https:\/\/support.itscope.hostpress.me\/?post_type=kb&#038;p=2315"},"modified":"2026-02-28T01:15:35","modified_gmt":"2026-02-27T23:15:35","slug":"product-categories","status":"publish","type":"kb","link":"https:\/\/guide.itscope.com\/en\/kb\/product-categories\/","title":{"rendered":"Product categories"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"1\">Categorisation by product type attributes, up to 7 category levels possible<\/h2>\n\n\n\n<p>Product groups (&#8216;<strong>ProductTypeGroup<\/strong>&#8216;) are at the top of the <a href=\"https:\/\/guide.itscope.com\/en\/kb\/product-categories\/\">1st category level<\/a>.<\/p>\n\n\n\n<p>The 2nd category level contains the product categories (&#8216;<strong>ProductType<\/strong>&#8216;).&nbsp;Each ProductType is again assigned exactly one ProductTypeGroup.<br><br>Each product is now assigned to exactly one ProductType, and can have between zero and five product attribute clusters (&#8216;<strong>attributeValue1..5<\/strong>&#8216;) assigned to it. If no attribute clusters exist, then a further categorisation other than ProductTypeGroup-&gt;ProductType is not advisable.<\/p>\n\n\n\n<p>The location of the respective fields depends on the&nbsp;<a href=\"https:\/\/guide.itscope.com\/en\/kb\/data-formats-and-output-formats\/\">data format<\/a>&nbsp;selection.<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"2\">Fields for the category structure via ProductType Metadata<\/h2>\n\n\n\n<p>The metadata can be retrieved using the API&nbsp;<a href=\"https:\/\/guide.itscope.com\/en\/kb\/products-producttypes-metadata-method\/\">product types method<\/a>.<\/p>\n\n\n\n<p>Category 1: ProductTypeGroup<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>category name: productTypeGroup->name<\/li>\n\n\n\n<li>category ID: productTypeGroup->id<\/li>\n<\/ul>\n\n\n\n<p>Category 2: ProductType<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>category name: productType->name<\/li>\n\n\n\n<li>category ID: productType->id<\/li>\n<\/ul>\n\n\n\n<p>Category 3 to 7 (optional):<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>category name: must be determined using the instructions described in the following two sections. Products->attributeValue1..5<\/li>\n\n\n\n<li>category ID: productType->attributeTypeId1..5<\/li>\n<\/ul>\n\n\n\n<p>Examples can be found further down.<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"3\">Fields for category structure in standard data format<\/h2>\n\n\n\n<p>The&nbsp;<strong><a href=\"https:\/\/guide.itscope.com\/en\/kb\/format-description-for-products-data-format-standard\/\">product<\/a><\/strong>&nbsp;element\/file can be used to form the category structure.<\/p>\n\n\n\n<p>Category 1: ProductTypeGroup<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>category name: products->productTypeGroupName<\/li>\n\n\n\n<li>category ID: products->productTypeGroupId<\/li>\n<\/ul>\n\n\n\n<p>Category 2: ProductType<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>category name: products->productTypeName or productType->name<\/li>\n\n\n\n<li>category ID: products->productTypeId or productType->id<\/li>\n<\/ul>\n\n\n\n<p>Category 3: attributeValue1 (optional)<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>category name: products->attributeValue1<\/li>\n\n\n\n<li>category ID: products->attributeTypeId1 or productType->attributeTypeId1<\/li>\n<\/ul>\n\n\n\n<p>Category 4: attributeValue2 (optional)<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>category name: products->attributeValue2<\/li>\n\n\n\n<li>category ID: products->attributeTypeId2 or productType->attributeTypeId2<\/li>\n<\/ul>\n\n\n\n<p>Category 5: attributeValue3 (optional)<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>category name: products->attributeValue3<\/li>\n\n\n\n<li>category ID: products->attributeTypeId3 or productType->attributeTypeId3<\/li>\n<\/ul>\n\n\n\n<p>Category 6: attributeValue4 (optional)<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>category name: products->attributeValue4<\/li>\n\n\n\n<li>category ID: products->attributeTypeId4 or productType->attributeTypeId4<\/li>\n<\/ul>\n\n\n\n<p>Category 7: attributeValue5 (optional)<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>category name: products->attributeValue5<\/li>\n\n\n\n<li>category ID: products->attributeTypeId5 or productType-> attributeTypeId5<br><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"5\">Examples<\/h2>\n\n\n\n<p>Example 1:<\/p>\n\n\n\n<p>Product:&nbsp;Canon Pixma IP7200 (<a href=\"https:\/\/www.itscope.com\/red\/app#products\/page\/2371556000\/-\">2371556000<\/a>)<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">  &lt;?xml&gt; <br>  ... <br>  &lt;productTypeGroupId&gt;DRU&lt;\/productTypeGroupId&gt; <br>  &lt;productTypeGroupName&gt;Printers, Scanners &amp;  Multifunction Devices &lt;\/productTypeGroupName&gt; <br>  &lt;productTypeId&gt;140&lt;\/productTypeId&gt; <br>  &lt;productTypeName&gt;Printer&lt;\/productTypeName&gt; <br>  &lt;attributeTypeId1&gt;140250000&lt;\/attributeTypeId1&gt; <br>  &lt;attributeValue1&gt;Inkjet printing&lt;\/attributeValue1&gt; <br>  &lt;attributeTypeId2&gt;140240040&lt;\/attributeTypeId2&gt; <br>  &lt;attributeValue2&gt;Colored&lt;\/attributeValue2&gt; <br>  ... <br><br>  Would have the following category path <br>  Printers, Scanners &amp; Multifunction Devices -&gt; Printers -&gt; Inkjet printing -&gt; Color\n<\/pre>\n\n\n\n<p>Example 2:<\/p>\n\n\n\n<p>Product:&nbsp;Samsung SSD 850 EVO MZ-75 (<a href=\"https:\/\/www.itscope.com\/red\/app#products\/page\/3534638001\/-\">3534638001<\/a>)<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">  &lt;? Xml&gt; <br>  ... <br>  &lt;productTypeGroupId&gt;PCK&lt;\/productTypeGroupId&gt; <br>  &lt;productTypeGroupName&gt;PC Components&lt;\/productTypeGroupName&gt; <br>  &lt;productTypeId&gt;114&lt;\/productTypeId&gt; <br>  &lt;productTypeName&gt;Hard Drives&lt;\/productTypeName&gt; <br>  &lt;attributeTypeId1&gt;114113000&lt;\/attributeTypeId1&gt; <br>  &lt;attributeValue1&gt;Intern&lt;\/attributeValue1&gt; <br>  &lt;attributeTypeId2&gt;114010610&lt;\/attributeTypeId2&gt; <br>  &lt;attributeValue2&gt;2.5\"&lt;\/attributeValue2&gt; <br>  &lt;attributeTypeId3&gt;114214010&lt;\/attributeTypeId3&gt; <br>  &lt;attributeValue3&gt;Serial ATA&lt;\/attributeValue3&gt; <br>  ... <br><br>\n Would have the following category path <br>  PC Components -&gt; Hard Drives -&gt; Internal -&gt; 2.5 \"-&gt; Serial ATA <\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Categorisation by product type attributes, up to 7 category levels possible Product groups (&#8216;ProductTypeGroup&#8216;) are at the top of the 1st category level. The 2nd category level contains the product &#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"kbtopic":[185],"kbtag":[],"class_list":["post-2315","kb","type-kb","status-publish","hentry","kbtopic-product-categories-features"],"_links":{"self":[{"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kb\/2315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/comments?post=2315"}],"version-history":[{"count":5,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kb\/2315\/revisions"}],"predecessor-version":[{"id":20182,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kb\/2315\/revisions\/20182"}],"wp:attachment":[{"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/media?parent=2315"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kbtopic?post=2315"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kbtag?post=2315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}