Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Include Fulfilled Orders in ShopifyAPI::Order.all

Include Fulfilled Orders in ShopifyAPI::Order.all

sigmajules
Shopify Partner
1 0 0

As a part of my application I would like to keep a local export of every single one of my orders. I have a ruby script that achieves most of what I need here, but it only fetches unfulfilled orders. 

I have tried tweaking  ShopifyAPI::Order.all by adding parameters like so

 

fullfilled_orders=ShopifyAPI::Order.all(params: { status: 'any', fulfillment_status: 'fulfilled'})

But the output stays the same. 
 
The application has every possible permission in the store's settings page and the application scope in ruby is set to this
 
scope: 'read_all_orders read_orders read_customers read_users',
Replies 0 (0)