Objet
Objet ProductCategory
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.
| Champ | Type | De view | Description |
|---|---|---|---|
id | string | compact | Category ID; give it to the endpoints that list a category. |
name | string | compact | Nom de la catégorie. |
name_en | string | null | compact | Nom anglais, si disponible. |
parent_id | string | null | compact | La catégorie parente ; null au premier niveau. |
level | integer | null | compact | Profondeur dans l'arborescence, 1 pour le niveau supérieur. |
has_children | boolean | null | compact | Indique s'il existe des sous-catégories. |
products | integer | null | compact | Produits qu'elle contient, lorsque la boutique les compte. |
ext | objet | full | Données propres à la plateforme. Renvoyées uniquement avec view=full. · uniquement avec view=full |