API Response –
{ "00041335": { "productId": "8e786e6b", "itemId": "0b43df16" } },
{ "00032183": { "productId": "9e780e6d", "itemId": "0b48df17" } }
need this way using reduce or better way –
[
{ skuId: "00041335", "productId": "8e786e6b", "itemId": "0b43df16" },
{ skuId: "00032183", "productId": "9e780e6d", "itemId": "0b48df17" }
]