Absolutely no point reinventing the wheel here as there are many websites which exist to enable you to check which iPad you have before ordering a case.
I think this website is just as good as any I’ve found
http://www.macworld.co.uk/how-to/ipad/how-identify-which-ipad-you-have-3528437/