All (Many?) of the IKEA beds and bunks rely on Bolts and Barrel Nuts.
You can pay wildly different prices for the Nuts. When I needed a few to
repair/modify an IKEA bunk bought secondhand they were in boxes of 100 from screwfix at 2p each plus lots of postage or £1.24 EACH in B&Q bagged in...