OBJECT

Attribute

         Custom attribute of a product. Attributes can be

assigned to products and variants at the product type level.

link GraphQL Schema definition

  • type Attribute implements Node {
  • # The ID of the object.
  • id: ID!
  • productType: ProductType
  • productVariantType: ProductType
  • # Name of an attribute displayed in the interface.
  • name: String
  • # Internal representation of an attribute name.
  • slug: String
  • # List of attribute's values.
  • values: [AttributeValue]
  • # Returns translated Attribute fields for the given language code.
  • #
  • # Arguments
  • # languageCode:
  • translation(languageCode: LanguageCodeEnum!): AttributeTranslation
  • }