Inventory_Levels/set.json - single post shows two entries in Inventory History in Admin

Solved
MozzoERP
Shopify Partner
64 3 8

Hello,

We are having an issue with posting an inventory level, only to have it revert itself 2 minutes later:

We post this:

 

Rest API Post Path: https://<redacted>.myshopify.com/admin/api/2020-10/inventory_levels/set.json. Content: {"location_id":<redacted>,"inventory_item_id":<redacted>,"available":243}

 

And receive this back:

Rest API Post/Put Response success: {"inventory_level":{"inventory_item_id":<redacted>,"location_id":<redacted>,"available":243,"updated_at":"2021-02-08T19:07:12-07:00","admin_graphql_api_id":"gid:\/\/shopify\/InventoryLevel\/<redacted>?inventory_item_id=<redacted>"}}

 

We have verified we only make one call during an update, yet the Inventory History is showing 1, followed up by another 2 minutes later.

2021-02-08 18_08_38-Shopify Plus.jpg 

Anyone know what could be causing this? 

Chad Richardson
Mozzo Software - Modular Software that grows with you from solopreneur to a 200 person mega team. Why keep outgrowing your Shopify Apps? Start with us, and just use the modules you need, then add more as you grow. http://MozzoERP.com
0 Likes
MozzoERP
Shopify Partner
64 3 8

This is an accepted solution.

Found the problem...a rogue test server was doing the updates.

Chad Richardson
Mozzo Software - Modular Software that grows with you from solopreneur to a 200 person mega team. Why keep outgrowing your Shopify Apps? Start with us, and just use the modules you need, then add more as you grow. http://MozzoERP.com
0 Likes