How can I filter Shopify orders by staff?

The Order API has a field called user_id we can use for filtering.  This is the ID of the user logged into Shopify POS who processed the order.

First, we need to figure out the User ID associated with the staff account. This ID is in the URL of the page where you edit the staff account.

  1. In the Shopify Admin > Settings, go to "Users and permissions".
  2. Click the link for the Staff account you'd like to get the User ID for.
  3. In the URL, copy the numbers after /account/.  For example:

The User ID in the above example is 42676453456.

Now that we have the User ID, we can use this under Custom Filters in the Data Settings of EZ Exporter to filter orders processed by this staff account:

  • User ID is equal to 42676453456


App: EZ Exporter

Tags: shopify orders, custom filters