TaxonomyCategory
The details of a specific product category within the Shopify product taxonomy.
Anchor to Fields and connectionsFields and connections
- Anchor to ancestorIdsancestor•
Ids [ID!]!non-null The IDs of the category's ancestor categories.
- Anchor to attributesattributes•
The attributes of the taxonomy category.
- Anchor to childrenIdschildren•
Ids [ID!]!non-null The IDs of the category's child categories.
- Anchor to fullNamefull•
Name String!non-null The full name of the taxonomy category. For example, Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Beds.
- •ID!non-null
The globally-unique ID of the TaxonomyCategory.
- Anchor to isArchivedis•
Archived Boolean!non-null Whether the category is archived. The default value is
false
.- Anchor to isLeafis•
Leaf Boolean!non-null Whether the category is a leaf category. A leaf category doesn't have any subcategories beneath it. For example, in Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Treadmills, Dog Treadmills is a leaf category. The value is
true
when there are nospecified.
- Anchor to isRootis•
Root Boolean!non-null Whether the category is a root category. A root category is at the top level of the category hierarchy and doesn't have a parent category. For example, Animals & Pet Supplies. The value is
true
when there's nospecified.
- Anchor to levellevel•Int!non-null
The level of the category in the taxonomy tree. Levels indicate the depth of the category from the root. For example, in Animals & Pet Supplies > Pet Supplies > Dog Supplies, Animals & Pet Supplies is at level 1, Animals & Pet Supplies > Pet Supplies is at level 2, and Animals & Pet Supplies > Pet Supplies > Dog Supplies is at level 3.
- Anchor to namename•String!non-null
The name of the taxonomy category. For example, Dog Beds.
- Anchor to parentIdparent•
Id The ID of the category's parent category.