/ceneo/categories

POST /api/ceneo/categories

Price: 20 credits

Walk the Ceneo category tree. With a category alias it returns that category with its numeric id, how many products sit in it, the aggregate buyer rating of the category, whether it is a leaf, the path of parent categories, its child categories or - for a leaf - its sibling categories, and the categories Ceneo links as related. With no category it returns the top-level departments, each with the popular child categories shown in the site menu.

How to use it

Start here to find the alias a product search should be scoped to. Aliases are the Polish URL segments (`Smartfony`, `Telefony_i_akcesoria`), which is what /ceneo/products/search and /ceneo/categories/filters both take. Descend through `children` until `is_leaf`; on a leaf Ceneo shows its neighbours instead, which arrive as `siblings`. Only the category you ask for carries `id` and `product_count`, so descend one level to get a child's.

Parameters

Request body

Response

Errors

Response headers