Skip to main content

Get Product Type Tree

GET 

/api/v2/product-types/tree

Every active product type in one call, ordered by path so each parent precedes its children, with the active-product count per type. No pagination or filters — use it to render a picker or the full hierarchy. Archived types are not included.

Required scope: products:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token.

Permission: product_types.index or products.index — users who can view products can read the tree without managing product types. Personal access tokens need the products:read scope.

Request​

Responses​

OK

Response Headers
    Content-Type