Multiple ways you could do it. Webhooks callbacks to your own server / you requesting to external API on CMD or caching it with CRON / or querying your/the db yourself. Lookup Foxtrot Shop in the downloads section, standalone and very easy to setup if you have basic coding knowledge