Can shop take back formula milk and refund money ??

I'm breastfeeding and midwife recommend me to give extra formula for my son as he always on my breast never sleep ! But than I changed my mind and thought no I will try to breastfeed still can I return formula milk back to shop ? They will give my money back??