@truthbetold an AIO desktop will probably be a lot easier to open up than a laptop! I broke a few lugs off mine getting it open haha.
If it's an older AIO then 99% chance you just need a sata ssd, but if you can open it up first then it's easy to be 100% certain by taking a look at the...