We are building a Rails app and have successfully written tests using GraphQL. However, some tests are failing because the test orders were created over 60 days in Shopify. We tried requesting the `read_all_orders` Shopify API scope but Shopify support denied our request. Any ideas? We don't want to create new Shopify orders every 60 days just to make sure the tests pass.
Hi @Claire222
Are historical orders over 60 days old required for the app to function? If not, can you adjust the test with stubbed/fake data instead?
Vix | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Unfortunately the test is to ensure the data syncing with Shopify is working, so using stub data wouldn't work.
User | Count |
---|---|
12 | |
11 | |
10 | |
8 | |
7 |