Shopify Pull Order Actions Best Practices

ChannelApe supports 3 different pull orders actions.-

  • Pull All Orders – Pulls new orders into ChannelApe and updates existing ones within a given timeframe.
  • Pull New Orders – Pulls new orders into ChannelApe using the last imported order as the start time for the Shopify query.
  • Pull Updated Orders – Pulls order updates from recently updated orders in a given timeframe. This uses Shopify’s last updated time to query orders to update.

Why 3 different actions?

The actions accomplish similar things in different ways. The main incentive of the latter two actions is to optimize the performance of getting orders into ChannelApe for high volume customers so that they can be sent to your supplier as soon as possible. Syncing orders faster also helps ChannelApe get an accurate count of committed inventory which is crucial when you are using Real-Time Inventory Sync to sync inventory between multiple channels.

The rest of this article assumes you already have your Shopify Channel installed. If you need help please see our walk through of how to set up a Shopify Channel.

Use Cases and Setup

Typical Use Case (Easier setup)

What: 1 Pull All Orders Recipe
When
: During initial setup until you start to see performance problems

Most cases will work with just using the pull orders action. This action looks at both updates and order creation for a given timeframe. The default lookback will go through all of your Shopify orders created in the last 5 days and sync those orders along with their updates into ChannelApe. If you are seeing performance problems with this, if you are able to, you can turn down your lookback interval to a shorter timespan in the Shopify Channel Settings page within the ChannelApe Webapp. (Note: This includes order updates by Shopify’s created at timestamp. So if you change this to a 3-day lookback, an order from 4 days ago will not pull in any updates, even if it was just recently updated.). If your pull all order’s actions are still taking a long time to run, you can try the high volume use case.

ChannelApe pull orders into ChannelApe

  1. Create a recipe for pull all orders as often as you need.
  2. Enable Recipe
High Volume Use Case (Complex setup, but more optimized)

What: 1 Pull All Orders Recipe, 1 Pull New Orders Recipe, 1 Pull Updated Recipe
When
: When you outgrow the typical use case and are starting to see performance issues or lag

Pulling new and updated orders into ChannelApe

To set up for higher volumes, you can create two new recipes for your store using the Pull New Orders and Pull Updated Orders.

  1. Disable your Pull All Orders recipes if they exist.
  2. Create a recipe for pull new orders recipe that runs every few minutes. This might take a long time the initial time so you might want to run this first to get the majority of your orders into ChannelApe. Subsequent runs from the initial one will create orders that are newer than the last one created in ChannelApe.
  3. Create a recipe for pull updated orders recipe that runs downstream of pull new orders. This ensures that all orders are pulled in to ChannelApe before they are updated.
  4. Pull All orders recipe should be set up to run 1 or 2 times a day for reconciliation purposes. If an order fails to create during a pull new orders action then the order will not be created on the next run.