Skip to Content

productGroup

Get a single product group by ID

Authentication

Public Access: Accessible with the public API key

Query Structure

{ productGroup(id: ID!) { productsCount seoDescription seoTitle seoKeywords id title handle description image productGroups parent breadcrumbs products url metafields metafield } }

Arguments

ArgumentTypeRequiredDescription
idIDYesThe ID of the product group to retrieve

Return Type

ProductGroup - Represents a product group in the store, including its metadata, SEO fields, relationships, and available filters for GraphQL queries.

Example

{ productGroup(id: 12345) { id title handle description image productsCount seoTitle seoDescription seoKeywords url products { edges { node { id title } } } productGroups { id title handle } breadcrumbs { id title handle } metafields { namespace key value } } }