A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
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.
Anyone know what could be causing this?
Solved! Go to the solution
This is an accepted solution.
Found the problem...a rogue test server was doing the updates. 😞
This is an accepted solution.
Found the problem...a rogue test server was doing the updates. 😞