# Inventory Snapshot including inventory from deleted account

**URL:** <https://community.shiphero.com/t/inventory-snapshot-including-inventory-from-deleted-account/585>\
**Category:** GraphQL API\
**Created:** [July 8, 2020, 4:44pm UTC](https://community.shiphero.com/t/inventory-snapshot-including-inventory-from-deleted-account/585 "2020-07-08T16:44:51Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![fairweather](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@fairweather](https://community.shiphero.com/u/fairweather)\
**Post date:** [July 8, 2020, 4:44pm UTC](https://community.shiphero.com/t/inventory-snapshot-including-inventory-from-deleted-account/585/1 "2020-07-08T16:44:51Z")

</div>

I have been trying out Inventory Snapshot API functionality but have found it is adding quantities and vendors from our deleted “test” environment.

I can’t post the snapshot as it contains private information but perhaps the devs can access them internally from this partial URL: [https://shipherouploads.s3.amazonaws.com/inventory\_snapshots/7014/11932/Any/](https://shipherouploads.s3.amazonaws.com/inventory_snapshots/7014/11932/Any/)

If you look for SKU “HMU548NVSRMD”, you’ll see 4 vendors and 25 units On Hand. If you look into our ShipHero instance, you’ll see it has 2 vendors and 0 in On Hand.

I logged into our “Test” account and saw there were 25 on hand for that instance. To try and resolve this, we deleted that test instance but the inventory is still showing at 25. We also waited 24 hours just in case there was the possibility of a timed sync.

Where are those values coming from?

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [July 9, 2020, 2:45am UTC](https://community.shiphero.com/t/inventory-snapshot-including-inventory-from-deleted-account/585/2 "2020-07-09T02:45:43Z")

</div>

Hi @fairweather  
Thanks for that explanation!. Is there any chance you could send me the `request_id` you get back when creating the snapshot?  
That way I can check it without you having to post it here, and see what you are referring to.  
Thanks in advance!  
Tom

---

<div class="post-metadata">

**Author:** ![fairweather](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@fairweather](https://community.shiphero.com/u/fairweather)\
**Post date:** [July 9, 2020, 5:27pm UTC](https://community.shiphero.com/t/inventory-snapshot-including-inventory-from-deleted-account/585/3 "2020-07-09T17:27:14Z")

</div>

Request Result:  
{“data”:{“inventory\_generate\_snapshot”:{“request\_id”:“5f0752122d4d91914fd8f270”,“complexity”:30,“snapshot”:{“snapshot\_id”:“5f0752132e6c4edfb1798d81”,“job\_user\_id”:“VXNlcjozMTEyOQ==”,“job\_account\_id”:“QWNjb3VudDo3MDE0”,“warehouse\_id”:“V2FyZWhvdXNlOjExOTMy”,“post\_url”:“PRIVATE”,“post\_url\_pre\_check”:true,“status”:“enqueued”,“created\_at”:“2020-07-09T17:21:23+00:00”,“enqueued\_at”:“2020-07-09T17:21:23.128197+00:00”,“updated\_at”:“2020-07-09T17:21:23+00:00”,“snapshot\_url”:null,“customer\_account\_id”:null,“notification\_email”:null,“email\_error”:null,“post\_error”:null,“error”:null,“snapshot\_expiration”:null}}}}

Notification:  
{“snapshot\_id”: “5f0752132e6c4edfb1798d81”, “job\_user\_id”: “VXNlcjozMTEyOQ==”, “job\_account\_id”: “QWNjb3VudDo3MDE0”, “warehouse\_id”: “V2FyZWhvdXNlOjExOTMy”, “post\_url”: “PRIVATE”, “post\_url\_pre\_check”: true, “status”: “success”, “created\_at”: “2020-07-09T17-21-23+00:00”, “enqueued\_at”: “2020-07-09T17-21-23+00:00”, “updated\_at”: “2020-07-09T17-22-10+00:00”, “snapshot\_url”: “PRIVATE”, “customer\_account\_id”: null, “notification\_email”: null, “email\_error”: null, “post\_error”: null, “error”: null, “snapshot\_expiration”: null}

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [July 9, 2020, 6:25pm UTC](https://community.shiphero.com/t/inventory-snapshot-including-inventory-from-deleted-account/585/4 "2020-07-09T18:25:23Z")

</div>

Thank you very much for those details @fairweather!  
I see what you mean now. So is it OK if I go into that canceled account and manually remove those vendors, that way we can see if that fixes it.  
Thanks in advance!  
Tom

---

<div class="post-metadata">

**Author:** ![fairweather](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@fairweather](https://community.shiphero.com/u/fairweather)\
**Post date:** [July 9, 2020, 7:13pm UTC](https://community.shiphero.com/t/inventory-snapshot-including-inventory-from-deleted-account/585/5 "2020-07-09T19:13:02Z")

</div>

While I would like the vendors gone, the bigger problem is the “On Hand” stock as that is preventing me from using this feature in my integration. Is it possible to detach the incorrect inventory information? It seems strange that they are mixed but I know that the warehouse ids were the same on both accounts. I am worried that if we clear out the inventory on the test account it will wipe out the correct inventory for my Live site. I don’t know how the data is structured on your end so I’ll leave that up to you.

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [July 9, 2020, 8:21pm UTC](https://community.shiphero.com/t/inventory-snapshot-including-inventory-from-deleted-account/585/6 "2020-07-09T20:21:08Z")

</div>

Thanks for confirming that @fairweather  
I just send it over to Engineering, just to be sure this gets fixed. It does look like those 25 mentioned above come from the deleted account and not the new one.  
I will let you know as soon as I have an update about it  
Thanks again for the explanation and patience!  
Tom

---

<div class="post-metadata">

**Author:** ![fairweather](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@fairweather](https://community.shiphero.com/u/fairweather)\
**Post date:** [July 9, 2020, 8:39pm UTC](https://community.shiphero.com/t/inventory-snapshot-including-inventory-from-deleted-account/585/7 "2020-07-09T20:39:00Z")

</div>

Thanks. Just to clarify, I need ALL the inventory from the previous account to be removed. Not just that example SKU. I would hate to do all of this just to see one SKU cleaned up. 🙂

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [July 9, 2020, 8:51pm UTC](https://community.shiphero.com/t/inventory-snapshot-including-inventory-from-deleted-account/585/8 "2020-07-09T20:51:03Z")

</div>

Absolutely! That is what I was referring to 👍

---

<div class="post-metadata">

**Author:** ![fairweather](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@fairweather](https://community.shiphero.com/u/fairweather)\
**Post date:** [July 15, 2020, 4:32pm UTC](https://community.shiphero.com/t/inventory-snapshot-including-inventory-from-deleted-account/585/9 "2020-07-15T16:32:54Z")

</div>

Any update on this? I am still seeing old vendors and inventory counts from the deleted account in the JSON file.

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [July 16, 2020, 12:42pm UTC](https://community.shiphero.com/t/inventory-snapshot-including-inventory-from-deleted-account/585/10 "2020-07-16T12:42:09Z")

</div>

Hi @fairweather  
I apologize for the delay in my response. Unfortunately we haven’t been able to look at this yet and the ticket is still pending for an Engineer to pick it up.  
I will do my best to raise its priority and will let you know as soon as I have an update.  
Again, thank you for your patience  
Tom

---

<div class="post-metadata">

**Author:** ![fairweather](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@fairweather](https://community.shiphero.com/u/fairweather)\
**Post date:** [July 30, 2020, 7:53pm UTC](https://community.shiphero.com/t/inventory-snapshot-including-inventory-from-deleted-account/585/11 "2020-07-30T19:53:45Z")

</div>

Any update on this? I would REALLY like to have this working.

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [August 1, 2020, 1:23pm UTC](https://community.shiphero.com/t/inventory-snapshot-including-inventory-from-deleted-account/585/12 "2020-08-01T13:23:30Z")

</div>

Hi @fairweather  
I apologize for the delay on this task, unfortunately, we haven’t got a chance to get an engineer to work on this yet. In the meantime, is it OK if I zeroed the inventory for that canceled account? And deleted the vendors as well?  
Let me know if that would work for you and I will try to make that in the meantime.  
Thanks again for the patience  
Tom

---

<div class="post-metadata">

**Author:** ![fairweather](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@fairweather](https://community.shiphero.com/u/fairweather)\
**Post date:** [August 3, 2020, 5:54pm UTC](https://community.shiphero.com/t/inventory-snapshot-including-inventory-from-deleted-account/585/13 "2020-08-03T17:54:27Z")

</div>

Please make those changes. That would be very helpful to speed up my inventory syncs.

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [August 7, 2020, 2:13pm UTC](https://community.shiphero.com/t/inventory-snapshot-including-inventory-from-deleted-account/585/14 "2020-08-07T14:13:22Z")

</div>

Hi @fairweather  
I apologize once more for the delay on this, the ticket has been flagged now and escalated with the highest priority for an engineer to take a look at this.  
I will be updating you about this asap.  
Thank you ver much again for the patience while we work on this  
Tom

---

<div class="post-metadata">

**Author:** ![fairweather](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@fairweather](https://community.shiphero.com/u/fairweather)\
**Post date:** [August 25, 2020, 7:08pm UTC](https://community.shiphero.com/t/inventory-snapshot-including-inventory-from-deleted-account/585/15 "2020-08-25T19:08:59Z")

</div>

Any chance this will ever get fixed?

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [August 28, 2020, 9:07pm UTC](https://community.shiphero.com/t/inventory-snapshot-including-inventory-from-deleted-account/585/16 "2020-08-28T21:07:10Z")

</div>

@fairweather  
I apologize on this delay, I just confirmed that an engineer has been assigned to this and has already started to work on this.  
I will keep you update on the progress made.  
Thanks again for all the patience  
Tom

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [August 31, 2020, 6:01pm UTC](https://community.shiphero.com/t/inventory-snapshot-including-inventory-from-deleted-account/585/17 "2020-08-31T18:01:08Z")

</div>

Hi @fairweather  
I was told by our engineering team that a fix for this has been implemented today.  
I apologize once more for the delayed fix on this.  
Please let me know if there is anything else I could help with  
Thanks again!  
Tom
