Quantcast
Channel: Active questions tagged ruby - Stack Overflow
Viewing all articles
Browse latest Browse all 4645

Include Fulfilled Orders In ShopifyAPI::Order.All

$
0
0

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',


Viewing all articles
Browse latest Browse all 4645

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>