Hello Kousik,
Unfortunately, the solution you sent only returns variant attributes. I need all the variant data according to what I completed in the Variation XML item (if anything, I still have the “Both variable and variations products” option selected).