Back in 2001, a sufficiently large company could upload a .iso to an FTP server, and Cinram (or other disc burning companies) would burn and ship on demand. I'm pretty sure they had a web API that was integrated into the ordering backend of my employer at the time.