Hi Liam,
your solution sounds like a great option for what we are trying to accomplish, which is similar to the OPs objective. However, we’d like to use it in both directions, from Supplier to Shop (getting their prices, product data, stock, etc.) and also from Shop to Supplier (sending orders, customer data, delivery address, etc.).
Does your approach also work in the other direction, from Shop to Supplier? From what I can understand of the Shopify API, it looks possible (e.g. “Retrieve a list of orders”), but I can’t really tell/confirm from your description above.
So for example, if a user makes an order in our Shopify shop, can that order be sent to the middleware (which will handle transforming the data and posting the XML to the supplier)? If yes, would it work via webhooks or similar, to trigger the Shopify API and send all the order data to the middleware? Or would we rather need a cron job having our middleware fetching the (new) orders at certain intervals?
Thanks for your support!
Best regards,
Joël