Hi,
There is no option to have a random number.
However, you could use the tag {order_created}
That will display the creation date as a unix timestamp, and you can use the "size" attribute to limit the number of digits. That might be able to help you.