AttributeValueInterface attributes
The AttributeValueInterface contains the following attributes:
Attribute
Data Type
Description
codeID!
The attribute code
is_comparableBoolean
Whether a product or category attribute can be compared against another or not
is_filterableBoolean
Whether a product or category attribute can be filtered or not
is_filterable_in_searchBoolean
Whether a product or category attribute can be filtered in search or not
is_html_allowed_on_frontBoolean
Whether a product or category attribute can use HTML on front or not
is_searchableBoolean
Whether a product or category attribute can be searched or not
is_used_for_price_rulesBoolean
Whether a product or category attribute can be used for price rules or not
is_used_for_promo_rulesBoolean
Whether a product or category attribute is used for promo rules or not
is_visible_in_advanced_searchBoolean
Whether a product or category attribute is visible in advanced search or not
is_visible_on_frontBoolean
Whether a product or category attribute is visible on front or not
is_wysiwyg_enabledBoolean
Whether a product or category attribute has WYSIWYG enabled or not
used_in_product_listingBoolean
Whether a product or category attribute is used in product listing or not
Currently, AttributeValueInterface has two different implementations: AttributeValue and AttributeSelectedOptions.
In addition to the attributes described for AttributeValueInterface, the AttributeValue contains the following:
Attribute
Data Type
Description
valueString!
The attribute value
The AttributeSelectedOptions object contains the following attributes:
Attribute
Data Type
Description
selected_options[AttributeSelectedOptionInterface!]!
An array containing selected options for a select or multiselect attribute
The AttributeSelectedOptionInterface contains the following attributes:
Attribute
Data Type
Description
labelString!
The attribute selected option label
valueString!
The attribute selected option value