OBJECT

Attribute

Attribute contains the attribute_type of the specified attribute_code and entity_type

link GraphQL Schema definition

  • type Attribute {
  • # The unique identifier for an attribute code. This value should be in lowercase
  • # letters without spaces.
  • attribute_code: String
  • # The type of entity that defines the attribute
  • entity_type: String
  • # The data type of the attribute
  • attribute_type: String
  • # Product types this attribute applies to
  • apply_to: [String]
  • # Attribute sorting priority
  • position: Int
  • # Is this attribute available for search
  • is_searchable: Boolean
  • # Is this attribute comparable
  • is_comparable: Boolean
  • # Is this attribute user defined
  • is_user_defined: Boolean
  • # Is this attribute visible on PDP
  • is_visible: Boolean
  • # Is this attribute available for search
  • is_filterable: Boolean
  • # Is this attribute available for search
  • is_filterable_in_search: Boolean
  • # Frontend input type
  • frontend_input: String
  • # Default frontend label
  • default_frontend_label: String
  • # Available attribute option values
  • options: [AttributeOption]
  • }