Skip to main content

AttributeValueType

Typed attribute value output mirroring AttributeValueInput on the GraphQL Object (output) side.

Only the field matching the attribute description's type is populated; all others remain null. Supports TEXT, ENUM, INT, DECIMAL, DATETIME and COLOR attribute types.

type AttributeValueType {
textValues: [LocalizedStringArray!]
enumValues: [String!]
intValue: Int
decimalValue: Float
dateTimeValue: String
colorValue: String
}

Fields

AttributeValueType.textValues ● [LocalizedStringArray!] list object

Localized text values for TEXT type attributes

AttributeValueType.enumValues ● [String!] list scalar

Selected values from predefined options for ENUM type attributes

AttributeValueType.intValue ● Int scalar

Integer value for INT type attributes

AttributeValueType.decimalValue ● Float scalar

Decimal value for DECIMAL type attributes

AttributeValueType.dateTimeValue ● String scalar

Date and time value for DATETIME type attributes (ISO 8601)

AttributeValueType.colorValue ● String scalar

Hexadecimal color value for COLOR type attributes