Variant responce not getting as requirement

→ when type = color then responce should be color and color name
check below responce

{
“variants”: [
{
“header”: “Colour”,
“key”: “brandcolour”,
“display_type”: “image”,
“logo”: “https://cdn.pixelbin.io/v2/plain-cake-860195/nms-np/wrkr/nmz3/misc/default-assets/original/popular.png”,
“items”: [
{
“action”: {
“page”: {
“type”: “product”,
“params”: {
“slug”: [
“tac-the-ayurveda-co-bathing-soap-eladi-neem-pack-of-3-x-100-gm-1-s-7536193”
]
}
},
“type”: “page”
},
“uid”: 7536193,
“slug”: “tac-the-ayurveda-co-bathing-soap-eladi-neem-pack-of-3-x-100-gm-1-s-7536193”,
“value”: “Green”,
“name”: “TAC The Ayurveda Co. Bathing Soap - Eladi & Neem (Pack of 3 x 100 gm) 1’s”,
“is_available”: true,
“_custom_json”: {},
“medias”: [
{
“url”: “https://cdn.pixelbin.io/v2/plain-cake-860195/nms-np/wrkr/nmz3/products/pictures/item/free/original/bHn9tT6EF-TAC-The-Ayurveda-Co.-Bathing-Soap-Eladi-and-Neem-(Pack-of-3-x-100-gm)-1s.jpeg”,
“type”: “image”
}
],
“_custom_meta”: []
},
{
“action”: {
“page”: {
“type”: “product”,
“params”: {
“slug”: [
“tac-the-ayurveda-co-bathing-soap-kumkumadi-pack-of-3-x-100-gm-1-s-7536194”
]
}
},
“type”: “page”
},
“uid”: 7536194,
“slug”: “tac-the-ayurveda-co-bathing-soap-kumkumadi-pack-of-3-x-100-gm-1-s-7536194”,
“medias”: [
{
“url”: “https://cdn.pixelbin.io/v2/plain-cake-860195/nms-np/wrkr/nmz3/products/pictures/item/free/original/cEWFiIzn2-TAC-The-Ayurveda-Co.-Bathing-Soap-Kumkumadi-(Pack-of-3-x-100-gm)-1s.jpeg”,
“type”: “image”
}
],
“name”: “TAC The Ayurveda Co. Bathing Soap - Kumkumadi (Pack of 3 x 100 gm) 1’s”,
“is_available”: true,
“_custom_json”: {},
“value”: “Maroon”,
“_custom_meta”: []
},
{
“action”: {
“page”: {
“type”: “product”,
“params”: {
“slug”: [
“tac-the-ayurveda-co-bathing-soap-rose-milk-pack-of-3-x-100-gm-1-s-7536195”
]
}
},
“type”: “page”
},
“uid”: 7536195,
“slug”: “tac-the-ayurveda-co-bathing-soap-rose-milk-pack-of-3-x-100-gm-1-s-7536195”,
“value”: “Pink”,
“name”: “TAC The Ayurveda Co. Bathing Soap - Rose & Milk (Pack of 3 x 100 gm) 1’s”,
“is_available”: true,
“_custom_json”: {},
“medias”: [
{
“url”: “https://cdn.pixelbin.io/v2/plain-cake-860195/nms-np/wrkr/nmz3/products/pictures/item/free/original/TiTjsS3Pl-TAC-The-Ayurveda-Co.-Bathing-Soap-Rose-and-Milk-(Pack-of-3-x-100-gm)-1s.jpeg”,
“type”: “image”
}
],
“_custom_meta”: []
}
]
}
]
}

Hi @Surjeet_Kumar,

Could you please share the request curl that you’re passing?