Sending all variations to Google Merchant

My API integration is sending all variations to Google Merchant, which is a problem because my variations have different prices — even though they belong to the same group, it sends everything. I need to send only one product per group, specifically the one with the lowest price. Can anyone help me?