Objek
Objek 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.
| Field | Jenis | Dari view | Deskripsi |
|---|---|---|---|
id | string | compact | Category ID; give it to the endpoints that list a category. |
name | string | compact | Nama kategori. |
name_en | string | null | compact | Nama bahasa Inggris, jika ada. |
parent_id | string | null | compact | Kategori induk; null di tingkat teratas. |
level | integer | null | compact | Kedalaman di pohon, 1 untuk teratas. |
has_children | boolean | null | compact | Apakah memiliki subkategori. |
products | integer | null | compact | Produk di dalamnya, jika toko menghitungnya. |
ext | objek | lengkap | Data tambahan khusus platform. Hanya dikembalikan dengan view=full. · hanya dengan view=full |