Skip to main content
Log inSign up
object

The details of a specific product category within the Shopify product taxonomy.

Anchor to Fields and connectionsFields and connections

[ID!]!non-null

The IDs of the category's ancestor categories.

The attributes of the taxonomy category.

[ID!]!non-null

The IDs of the category's child categories.

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.

Boolean!non-null

Whether the category is archived. The default value is false.

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 no childrenIds specified.

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 no parentId specified.

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.

String!non-null

The name of the taxonomy category. For example, Dog Beds.

The ID of the category's parent category.


Was this section helpful?

interface

Was this section helpful?