Get list of family variants
GET
/api/rest/v1/families/{family_code}/variants
Family variant
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/rest/v1/families//variants'
Response Response Example
200 - Example 1
{
"_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
}
]
}
]
}
}
Request
Path Params
family_code
stringÂ
required
Query Params
page
integerÂ
optional
page
pagination method type. Should never be set manually, see Pagination sectionlimit
integerÂ
optional
with_count
stringÂ
optional
Responses
Modified at 2023-08-15 05:53:55