GET v1/store/categories/tree?depth={depth}
Gets the tree of product categories of a store.
Categories that do not contain online products on any level are filtered out.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
depth |
The tree depth. |
integer |
Optional. Default value is 1 |
Body Parameters
None.
Response Information
Resource Description
Returns a tree of product categories according the requested parameters.
CategoryTreeModelName | Description | Type | Additional information |
---|---|---|---|
Categories |
The list of top level (root) categories. |
Collection of CategoryTreeNodeModel |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.