v1
latestOpenAPI 3.0.32026-07-173196215.4 KBcategories
Get a category
Get category information for the specified categoryId or category path for example, /v1/categories/20204 or /v1/categories/women/clothing.
get/v1/categories/{category}
Path parameters
categorystring required
Category
Query parameters
format'tree' | 'list'
The format determines whether the categories should be returned as a tree (nested lists) or a flattened list.
showHiddenboolean
Include hidden categories in the result.
depthinteger
Example:3
The number of nested categories to include in the response. If not defined the depth defaults to infinite.
withstring[]
The with parameter can be applied to include related resources, for example, the parents of a category can be attached using with=parents, and multiple includes are separated by commas, e.g. with=parents,children.
| Include | includes |
|---|---|
| parents | includes all ancestors of the category |
| children | includes all descendants of the category, which are available as children on each node; depth can be modified using the depth parameter |
| properties:name(property) | retrieves only selected properties |
[ "parents,children" ]
localestring
Use enabled locale instead of default locale e.g. ?locale=de_DE.
Response
successful operation