post https://live.copilot.fabric.inc/api-category/v1/category/bulk/upsert
With endpoint, you can create or update up to 20 categories and child categories in a single call. It is particularly useful when dealing with complex category structures.
Note:
1) parentNodeName
is a breadcrumb string of parent having delimeter as ->
2) PRIMARY is the root category (level 0) name. To create root categories or children of PRIMARY root category, pass PRIMARY as parentNodeName
parameter
3) If a category name already exists as a parent category, using this endpoint will update the existing category. Otherwise, it will create a new category under the specified parent.