/mvideo/categories

POST /api/mvideo/categories

Price: 20 credits

Walk the M.Video category tree one level at a time. Returns the category id, page URL, alias, display name, parent id, depth, the full alias path and how many products the category holds. `name`/`product_count` come from a second, per-category lookup that can individually time out; when it does, both are null and `details_fetch_failed` is true rather than the category genuinely carrying no name. Omit `category` for the top level; pass one back to get its children.

How to use it

Call it with no `category` for every top-level department, then pass an id back in for that department's children. The tree M.Video publishes is two levels deep, so a child returns an empty list rather than grandchildren. Feed `id` straight into mvideo/categories/products. `product_count` counts everything under the category, so a parent's count is not the sum of the children shown here. A null `name`/`product_count` with `details_fetch_failed: true` is not final — that category genuinely has a name, and mvideo/categories/products with the same `id` will confirm it.

Parameters

Request body

Response

Errors

Response headers