Skip to Content

ProductTaxonomyAttribute

A taxonomy attribute for a product, such as color or material.

Type Definition

type ProductTaxonomyAttribute { id: Int handle: String name: String translatedName: String type: String values: [ProductTaxonomyValue] }

Fields

FieldTypeDescription
idIntReturns the id.
handleStringReturns the handle.
nameStringReturns the name.
translatedNameStringReturns the translated name.
typeStringReturns the type.
values[ProductTaxonomyValue]Returns the values.

Relationships

ProductTaxonomyAttribute represents structured taxonomy data for products. It contains attribute metadata (such as color or material classifications) and references a collection of ProductTaxonomyValue objects that represent the specific values available for this attribute. This type is used within product options and filtering contexts to provide structured product categorization.

Example

{ id handle name translatedName type values { id name } }

Implements

None