curl --location --request GET '/api/rest/v1/families//variants'
{
"_links": {
"first": {
"href": "string"
},
"next": {
"href": "string"
},
"previous": {
"href": "string"
},
"self": {
"href": "string"
}
},
"current_page": 0,
"_embedded": {
"items": [
{
"_links": {
"self": {
"href": "string"
}
},
"code": "shoesVariant",
"labels": {
"en_US": "Shoes variant",
"fr_FR": "Variante de chaussures"
},
"variant_attribute_sets": [
{
"attributes": [
"color",
"material"
],
"axes": [
"color"
],
"level": 1
},
{
"attributes": [
"sku",
"size"
],
"axes": [
"size"
],
"level": 2
}
]
}
]
}
}