There is no fixed code to hand out — the animal ID codes on Build-A-Bearville were tied to specific stock, and the practical answer is to buy the bear you want online.
At the time this was asked, a giraffe was listed on the site, which is the straightforward route: purchase it, register it, and the ID comes with the receipt. Codes are unique per product, so a number posted by someone else will not register on your account.
If the giraffe is no longer listed, retired stock sometimes reappears in the Build-A-Bear archive sales, which is the only legitimate way to get an older code.