What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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

Solved

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

MozzoERP
Shopify Partner
84 4 20

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
Accepted Solution (1)

MozzoERP
Shopify Partner
84 4 20

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

View solution in original post

Reply 1 (1)

MozzoERP
Shopify Partner
84 4 20

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