Most of the comments are primary talking about how to achieve this when there is an existing service. But someone could really build this kind of terminal utility as well as a backend. This service should target developers first (because we are most comfortable with the terminal).
When someone wants to order an item they could simply pass various params to specify details about the order as @GriessbreiLP mentioned. If you are not aware of various available options, the tool can show all the details in help (like ./feedme --help). You can then make a CURL request to your backend and place the order. The users can even see a progress bar in the terminal to track status. This will be super cool for developers.
It can be written in Ruby or Python because most developers use MacBooks which has these languages preinstalled.