By default FarApp has to ask Shopify for the list of orders that have come in since the last time FarApp asked. FarApp is able to ask for this list every 20 minutes. Following these steps will set up a process where Shopify sends FarApp orders as the come in in real-time.
- Log into app.farapp.com and click navigate to Shopify > Settings > Credentials in the FarApp menu on the left (https://app.farapp.com/storefront_credentials/Shopify/default)
- Take note of the Shopify Real-Time Order Sync Key.
- Log in to your Shopify admin site.
- Click 'Settings' at the bottom left.
- Click 'Notifications' in the menu that comes up.
- Scroll down to the Webhooks section and click 'Create a webhook'.
- Set Event as 'Order Creation' and Format as 'JSON'
- For the URL, enter https://shopify.farapp.com/secure_StorefrontOrderListener/ + your Shopify Real-Time Order Sync Key.
- Click 'Save Webhook'.
- Repeat step 5, but set the Event as 'Order Update' this time. Format and URL will be the same as before.
You can then check your setup by creating a test order (or monitor a real order) in Shopify and see that it imports into FarApp after it's created.
(AKA web hook)