Object
ProductCategory object
A product category of a marketplace or a shop. The same fields on every platform. A field a platform does not show is null, and meta.unavailable names it with the reason.
| Field | Type | From view | Description |
|---|---|---|---|
id | string | compact | Category ID; give it to the endpoints that list a category. |
name | string | compact | Category name. |
name_en | string | null | compact | English name, where given. |
parent_id | string | null | compact | The parent category; null at the top. |
level | integer | null | compact | Depth in the tree, 1 for the top. |
has_children | boolean | null | compact | Whether it has sub-categories. |
products | integer | null | compact | Products in it, where the shop counts them. |
ext | object | full | Platform-specific extras. Only returned with view=full. · only with view=full |