The CreatorCon Call for Content is officially open! Get started here.

Update data using Product Catalog Open API

RavinderK
Tera Contributor

Hi All,

 

I am working on Product Catalog API OOB functionality. I am facing issue while trying to break link or update Product Categories link using Product Catalog Open API.

Let's take an example, I have created below Product Category Hierarchy or linkage with LCat1,LCat2,LCat3,LCat4 as Leaf nodes.  

 

PCATL1    ---- ParentCategory Level1
      PCATL1.1    ---Category Level2
             -LCat1
             -LCat2
       PCATL1.2   ---Category Level2
             -LCat3
             -LCat4
 
Now I need to break linkage and remove LCat4 from PCATL1.2 but I don't see any option to do this using out of the box Product Catalog API. I see only "Create Product Offering Category"  post API that always creates new  Category instead of updating PCATL1.2 and remove subCategory -LCat4 from Parent Catogery PCATL1.2.
 
Another use case is Move leaf Category LCat1 from PCATL1.1 to PCATL1.2
 
Please advice how to achieve this using OOB Product Catalog API's. I don't see any Patch API call, also when I posted using "code" in input Json even then it's creating new category.
 
Thanks.
0 REPLIES 0