How do you get a puffel from a code on club penguin?

You have to buy a toy of a puffle and enter the code to unlock the item online. The colour of the puffle depends on the colour you get online.