Filter Orders by Shipping Country

Storeship1
Shopify Partner
4 0 2

Is it possible to filter orders by shipping country?

We only fulfil orders to certain countries and would be less demanding on our system if we can filter at source?

This is our current filter:

$orders = $sc->call('GET', '/admin/orders.json', array('status' => 'open', 'financial_status' => 'paid', 'fulfillment_status' => 'unshipped', 'limit' => '250'));

Ecommerce Fulfilment specialist www.storeship.co.uk
Replies 4 (4)
MichaelNCCA
Tourist
3 1 0

We would like to be able to do something like this as well. We need to find out how many order we have shipped to EU. Did you ever find out how to do this?

User_2412
New Member
1 0 0

Same for me here. I need to filter the orders within the EU and outside of the EU. Doing this by hand is a no started.. Did you find out how this is possible?

User5678
Shopify Partner
1 0 0

We also want to know.

joshcorbett
Shopify Partner
12 0 1

this is not possible atm, but as a workaround you can write a server endpoint that returns the order count by aggregating over all orders. It'll be slow but as of now it's the only solution until a country parameter is introduced.