Skip to main content

VariantAttribute

Represents a variant attribute

type VariantAttribute {
id: Int
name: [LocalizedString]
variantAttributeType: VariantAttributeType
sort: VariantAttributeSort
displayAs: String
}

Fields​

id ● Int​

The internal id of the attribute

name ● [LocalizedString]​

Localized names of the attribute

variantAttributeType ● VariantAttributeType​

Mapped standardized variant attribute type, if any

sort ● VariantAttributeSort​

Sort field of the attribute

displayAs ● String​

How should the variant attribute be displayed

Example​

{
"name": [
{
"language": "EN",
"value": "String"
}
],
"sort": {}
}