Skip to main content

VariantField

Represent a product variant field

type VariantField {
attribute: VariantAttribute
uniqueValues: [LocalizedStrings]
variantsInformation: [LocalizedVariantInformation]
}

Fields

attribute ● VariantAttribute

The attribute of the variant field

uniqueValues ● [LocalizedStrings]

All unique values for this variant group relevant to this context. Only values of products that are visible and not cancelled will be included.

variantsInformation ● [LocalizedVariantInformation]

Generic variant field information

Example

{
"attribute": {
"name": [
{
"language": "EN",
"value": "String"
}
],
"sort": {}
},
"uniqueValues": [
{
"language": {
"code": "EN"
}
}
],
"variantsInformation": [
{
"values": [
{
"image": {
"link": [
{
"alternateUrls": [
{}
],
"redirect": {}
}
],
"modifiedAt": "2024-05-03T11:52:33Z"
}
}
]
}
]
}