Skip to main content

AttributeValueType

The value type of a category attribute.

enum AttributeValueType {
BOOLEAN
MULTISELECT
NUMBER
SELECT
TEXT
}

Values​

AttributeValueType.BOOLEAN​

Yes or no.

AttributeValueType.MULTISELECT​

Any number of the attribute's choices.

AttributeValueType.NUMBER​

A number, optionally bounded and with a unit of measure (the only type that takes a unit).

AttributeValueType.SELECT​

Exactly one of the attribute's choices.

AttributeValueType.TEXT​

Free text, optionally bounded by length.

Member Of​

CategoryAttributeDefinition object ● SaveCategoryAttributeDefinitionInput input