Skip to main content

attribute

Look up an attribute by ID.

attribute(
id: ID!
): Attribute

Arguments

attribute.id ● ID! non-null scalar

ID of the attribute.

Type

Attribute object

Custom attribute of a product. Attributes can be assigned to products and variants at the product type level.

Was this page helpful?