I tried (in Ruby)
Solved! Go to the solution
This is an accepted solution.
First off, you would be wanting to add code to your params. So you add:
And with that, you can ask for page 1, a limit of 250 orders, and you'll get up to 250 orders of any status. The default of fulfillment_status is any, so you do not need that.
Also note that unless otherwise approved, you only get orders from the last 60 days unless you demonstrated a need for more. Most people will get a count of all orders, and then use the limit of 250 to figure out how many pages of orders they have, and then iterate through the pages to get all their orders of interest.