Skip to Content
0
Former Member
Apr 27, 2018 at 07:58 AM

Categories loading through Datahub

82 Views

Hi Team,

We have a requirement to load categories through datahub, this will includes subcategories too, for creation of categories we can directly create it but how can we handle it for sub categories and how can we map sub categories to super categories, how can we handle Raw, Canonical and Target items.

Please find below sample JSON request, i need to implement Raw,Canonical and Target items. Can any one help me.

   "cat_id": "Category1",
   "cat_desc": "Category1 Description",
   "hychy": [
     {
       "cat_id": "Sub Category1",
       "cat_desc": "Sub Category1 Description",
       "sub_hychy": [
         {
           "cat_id": "Sub Category 2",
           "cat_desc": "Sub Category2 description",
           "sub_hychy": [
             {
               "cat_id": "Sub Category3",
               "cat_desc": "Sub Category3 Description"
             },
           ]
         },