Does the Apple Smart Keyboard work for all iPads?
In general, no. The contacts and physical size of keyboards make it very unlikely you can swap parts. Make sure the return policy is good or use the Apple Store app on your iPad and link your device so it shows which parts are compatible with your device.