attribute
Look up an attribute by ID, slug or external reference.
attribute(
id: ID
slug: String
externalReference: String
): Attribute
Arguments
attribute.id ● ID scalar miscellaneous
ID of the attribute.
attribute.slug ● String scalar miscellaneous
Slug of the attribute.
attribute.externalReference ● String scalar miscellaneous
External ID of the attribute.
Added in Saleor 3.10
Type
Attribute object attributes
Custom attribute of a product. Attributes can be assigned to products and variants at the product type level.