Docs
Dashboard

Product

Object

Represents a product in Thor Commerce, encapsulating all information required to display and manage items across storefronts and sales channels. Each product includes core details such as title, rich description, pricing, media assets, and customizable options (e.g., size, color). Variants enable multiple versions of a product with distinct attributes and prices. You can add or update images, videos, and other media to enrich the customer experience. Products can be organized into categories for intuitive browsing and discovery.

#

Fields


attributeAssignments
[AttributeAssignment!]!

A list of attributes associated with the product.

categories
CategoryConnection!

A list of categories associated with the product.

collections
CollectionConnection!

A list of collections associated with the product.

description
String

The description of the product.

heroVariant
ProductVariant

Gets the hero variant for the product, the hero variant is the first variant of the product, or the specific variant chosen for the channel

id
ID!

The unique identifier of the product.

metadata
[MetadataItem!]!

Custom metadata key/value pairs for the product.

metafields
[Metafield!]!

A list of metafields associated with the product. If a metafield definition has no explicit assignment for this product, the definition’s default value is returned.

name
String!

The name of the product.

priceRange
ProductPriceRange

The price range of the product, which includes the minimum and maximum prices across all variants.

slug
String!

The slug of the product, which is a URL-friendly identifier.

tags
[String!]!

The tags associated with the product.

variants
ProductVariantConnection!

The variants of the product.

variantsCount
Long!

The number of variants that are associated with the product and published in the current channel.

vendor
String

The vendor of the product.

#

Queries


Gets a single Product by its ID or slug.

Returns a list of products.