Basic API for shops developed and tested (pending separation of files)