I am doing an inventory_changes query with a specific SKU, and then sorting by '-created_at' to get the most recent inventory change for this SKU. I know that the inventory changed for this SKU within the past week, but the most recent change detected by inventory_changes is from 2018. Is there something wrong with my query?
Here is the request_id: '5e0a3df051e56e4ff47a4b76'
Hi @nturk
I wanted you to know that I already submitted a ticket for the Engineering team to have a look at this behavior.
I will let you know as soon as I have an update.
Thanks!
Tom
I did another inventory_changes query using only a date range to confirm that no changes have been detected even though there was an inventory change within the past 2 weeks.
Hi @nturk !
I apologize for the delay in my response. I don’t have an update or ETA yet, but probably tomorrow I will have a better idea. An engineer is currently working on a fix for this.
I’ll provide an update tomorrow.
Thanks!,
Tom
I am so glad I found this thread - this is my first time using GraphQL, and I am also new to Ship Hero. I thought I was doing something incorrect. If an additional request_id would be helpful… “5e13b5ee2313a367a89a3dcc”
Looking forward to this being resolved and incorporating this into our data!
Thanks
Hi @nturk
I apologize for the delay on my response, currently one of our engineers is working on the fix, we should have it available for tomorrow.
I’ll update as soon as we have it done.
Thanks for the patience!,
Tom
HI @nturk & @statonjm
A fix for this should already be live!.
I appreciate your patience on this.
Thanks and let me know if there’s anything else I can help you with,
Tom
I started using the inventory_changes query, I luckily noticed some gaps when querying! On the front end, I appear to have inventory changes from 12/07/19 to 12/08/19 (seen on front end) but the query produces no results for this date range. There were no messages nor errors, just an empty array where I expected the data to be.
@nturk Did you experience/notice any issues like this as well? Made me nervous for other data I was pulling - not sure if any other data points are missing.
UPDATE: nevermind! I asked our inventory specialist about it (sorry new to ShipHero!) and turns out I had many false assumptions! I assumed inventory changed when an order is created - sorry if I wasted anybody’s time!