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
}
}Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
| id | ID! | Yes | The 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
productGroups {
id
title
handle
}
parent {
id
title
}
breadcrumbs {
id
title
handle
}
}
}