product
Get a single product by ID
Authentication
Public Access: Accessible with the public API key
Query Structure
{
product(id: ID!) {
# Product fields
}
}Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
| id | ID | Yes | The ID of the product to retrieve |
Return Type
Product - Describes a product with comprehensive details including variants, images, reviews, and related products.
Example
{
product(id: 12345) {
id
title
handle
description
shortDescription
seoTitle
seoDescription
seoKeywords
isAvailable
isDirectlyBuyable
rating
reviewCount
maxRating
featuredImage {
url
alt
}
variants {
id
title
}
images {
url
alt
}
tags
manufacturer {
name
}
productGroups {
id
name
}
}
}