Anchor to TaxonomyCategoryTaxonomy
objectTaxonomy Category
Requires access scope.
A category from Shopify's Standard Product Taxonomy assigned to a Product. Categories provide hierarchical classification through the ancestors field.
The ancestors field returns the parent chain from the immediate parent up to the root. Each ancestor category also includes its own ancestors.
The name field returns the localized category name based on the storefront's request language with shop locale fallbacks. If a translation isn't available for the resolved locale, the English taxonomy name is returned.
Anchor to FieldsFields
- ancestors ([TaxonomyCategory!]!)
- id (ID!)
- name (String!)
- Anchor to ancestorsancestors•[Taxonomy
Category!]! non-null All parent nodes of the current taxonomy category.
- •ID!non-null
A static identifier for the taxonomy category.
- Anchor to namename•String!non-null
The localized name of the taxonomy category.
Was this section helpful?