Product
Describes a product with comprehensive details including variants, images, reviews, and related product information.
Type Definition
type Product {
handle: String
seoDescription: String
seoTitle: String
seoKeywords: String
id: Int
combinedListing: CombinedListing
firstAvailableVariant: ProductVariant
hasOnlyDefaultVariant: Boolean
variants: [ProductVariant]
options: [String]
optionsWithValues: [ProductOption]
optionsByHandle: [ProductOption]
defaultOrSelectedVariant: ProductVariant
tags: [String]
customFields: [CustomField]
inPreview: Boolean
isAvailable: Boolean
isDirectlyBuyable: Boolean
title: String
manufacturer: Manufacturer
shortDescription: String
description: String
images: [Image]
videos: [Video]
featuredImage: Image
featuredVideo: Video
compatible: [Product]
similar: [Product]
related: [Product]
deliverer: Deliverer
productGroups: [ProductGroup]
returnPolicyTimeLimit: Int
rating: Float
reviewCount: Int
maxRating: Int
reviews: [Review]
attachments: [Attachment]
reviewsAreEnabled: Boolean
reviewsRequireAccount: Boolean
reviewsRequirePurchase: Boolean
reviewsRequireApproval: Boolean
taxonomy: ProductTaxonomy
createdAt: String
updatedAt: String
rate: String
inCustomersWishlist: String
customerHasReviewed: String
customerCanReview: String
customerHasPurchased: String
}Fields
Relationships
The Product type represents a core entity in the storefront catalog. It maintains relationships with:
- Variants: Products contain multiple
ProductVariantobjects that represent different configurations or SKUs - Images and Videos: Rich media content is associated through
ImageandVideotypes - Related Products: Links to compatible, similar, and related products for product discovery
- Reviews: Customer feedback through
Reviewobjects with configurable approval workflows - Taxonomy: Product categorization through
ProductTaxonomy - Manufacturer: Product source information
- Deliverer: Shipping and fulfillment details
- ProductGroups: Product grouping and organization
- CustomFields and Attachments: Extended product metadata
Example
{
product(id: 12345) {
id
title
handle
description
shortDescription
isAvailable
isDirectlyBuyable
rating
reviewCount
featuredImage {
url
}
variants {
id
title
}
optionsWithValues {
handle
name
}
manufacturer {
name
}
reviews {
id
title
rating
}
taxonomy {
category
}
}
}Implements
This type does not implement any interfaces.