I’m building a Phoenix app that will consume Amazon’s MWS API.
So far, I’ve been able to import Orders but I’m not sure if I’m structuring the api-client the right way. I have an MWS context and an Order model.
I have an Order.import() function defined in /lib/project/mws/mws.ex
Is that the right place to place code that will pull and store models from MWS?