Diaper Exchange Question

I feel like this is a stupid question, but does anyone know if you can exchange diapers for a different size if you haven’t opened them yet? I feel like I heard somewhere that you can but I just don’t want to go to Walmart and them look at me like I’m crazy if I try to do that. TIA!