Yeah, I did this by accident. I just entered a support chat with Tesla on their website, explained that I didn't understand I had to order THROUGH the referral code and they were able to add it to my order.
I kept expecting there to be a place to enter the code before "Checkout" but, before I knew it, the order was placed and I had never entered the code.