The same thing happened to me several years after I bought the car and I realised they had never given me a number (I had a card for it, just no number on it). I called the dealer and explained the problem, gave them the VIN and they gave me the code in a matter of minutes.
Dean