As a part of my shopify 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'})
I try variations of 'any' and 'fulfilled' for both fields, and even running it with no parameters, 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',