attribute
QueryGets a product attribute by its ID.
#
Arguments
- ID!Required
id The unique ID of the product attribute.
#
Payload
- Attribute
Attribute Defines a product attribute in Thor, such as color, size, or material, that describes a specific aspect of a product. Attributes are used to distinguish between different variants of the same product—each unique combination of attribute values represents a distinct variant. This enables flexible filtering, grouping, and enrichment of product data across the catalog.