Admin API / Types
TaxonomyCategory
ObjectA taxonomy category that classifies products. A category has child categories or is a leaf, at any level of the tree. isLeaf is true exactly when children is empty. Only a leaf may be selected.
type TaxonomyCategoryFields
| Field | Type | Description |
|---|---|---|
children | [TaxonomyCategory!]! | Direct child categories, in display order. This list is empty for a leaf. |
displayName | String! | The category's display name. |
id | ID! | A globally unique ID. Treat this value as an opaque string. |
isLeaf | Boolean! | Whether this category has no children, so a product may use it. True exactly when children is empty. |