Inventory_changes does not detect recent change in inventory

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

1 Like

Hey Tom,

Just checking in to see if there’s an update from Engineering.

Thanks

Hey @tomasw

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.

The request id is: “5e0f6b1000a637dd16aae2d2”

Hey @tomasw

Any update from engineering on this?

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

2 Likes

Hey @tomasw

No problem. Thank you for the update on the status of things.

2 Likes

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

1 Like

Hey @tomasw

Any update on this? I desperately need inventory_changes to work for my functionality.

1 Like

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

1 Like

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

2 Likes

Hey @tomasw

Thanks for the update! I can see the latest inventory change now.

Although, the query comes with two “Unexpected Error” messages as well, but they look to be identical since they are both code 22:

request_id: "5e1c9aafa5d630449bb5c4d6"

image

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.

@tomasw requestid = 5e1ce84e475aa70d7ad90082

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!

2 Likes