Orders API Issue - Only Pulling Unfulfilled Orders

New Member
1 0 0

I am attempting to pull all of our stores orders since Jan 1, 2020 and I am receiving an issue where my API call only pulls unfulfilled orders.

 

Here is the url that I am calling:

 

  • https://{API KEY}:{PASSWORD}@{STORE NAME}.myshopify.com/admin/api/2020-01/orders.json?created_at_min=2020-01-01T00:00:00-07:00&limit=25

Is this functioning as expected? Is there a different endpoint I should be hitting if I want to pull only fulfilled orders? I am anticipating receiving back over 1,000 orders (after paginating through the responses) but am only receiving 41 (which are our current unfulfilled orders).

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1041 140 167

Hey @JackLowery,

 

By default the orders endpoint will only return open orders.

 

Try experimenting with status and fulfillment_status parameters: https://shopify.dev/docs/admin-api/rest/reference/orders/order#index-2020-01

 

 

Notice; Out of office, replies will be delayed until my return. Thanks!
0 Likes