After assembly, check the instructions to confirm which parts are truly spare. Put confirmed extras into a small labeled envelope.
Write the item name and model on it. A photo of the assembly diagram can help you distinguish a shelf pin from a cam or leveling foot later.
Store the envelope with the manual. If you move the item to another home, send the hardware and instructions along with it.