A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hello,
I have noticed that the data queries using the following query return data which is more than 48h. There is no recent data (like yesterday).
query { shopifyqlQuery(query: "FROM orders SHOW [...] GROUP BY day SINCE -3m ORDER BY day DESC") { __typename [...] } }
Hi Denisgarcia,
There's a couple of potential reasons why you might not be seeing the most recent day's data being returned:
Unfortunately, ShopifyQL doesn't provide an option for specifying the time zone or processing status in the queries. You can try running the query later in the day to see if the data for the previous day is available.
Hope this helps!
Liam | Developer Advocate @ 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
Hello,
I have been trying and waiting and trying again.
Today 29/08/2023, I am still calling the same API. The latest data retrieved today is from 23/08/2023.
This API is flaky and does not provide fresh data. Is there something to do to get the latest data from this API? If it were at least consistent to retrieve data max two days old, it would be acceptable, but it's not even doing that. Please advise.