Further to your doordash example, I believe many of delivery sites simply took the online order, then called the restaurant themself to order the food. This however lead to some issues where restaurants were getting from complaints from customers they didn't know they had. They also had different pricing from the online companies.
Back in the stone age, lastminute.com would fax individual customer's details through to the theatre so they could pick up their tickets at the box office.