Get the product category tree
Returns the visible category hierarchy for the `:siteId` in the URL. Inactive and internal nodes are removed with their entire branch, so a visible descendant of a hidden parent is not promoted or exposed. Each node contains only its public wire id, display fields, position, SEO fields, and nested children. Visibility flags, materialized paths, parent identifiers, metadata, tenant identifiers, timestamps, storage paths, and raw UUIDs are never returned. > **Note:** This endpoint requires the e-commerce feature to be enabled on your site.
GET
/product-categories/treeBase URL
https://api.lynkow.com/storefront/{siteId}