stock update failed using rest api

Topic summary

A developer is encountering a 404 “Not Found” error when attempting to update inventory stock levels via Shopify’s REST API (version 2024-10).

What’s Working:

  • Price updates through the API function correctly
  • App has proper keys and permissions configured

The Problem:

  • POST request to /admin/api/2024-10/inventory_levels/set.json returns 404 error
  • Payload includes location_id, inventory_item_id, and available quantity
  • Developer has verified all IDs in the payload are correct
  • Product tracking is enabled

Current Status:

  • Issue remains unresolved
  • Another user has encountered the same problem and is seeking solutions
  • No responses with working fixes have been provided yet
Summarized with AI on October 31. AI used: claude-sonnet-4-5-20250929.

i am using shopify API to update stock. i checked all the keys and permissions to my app.
Even my price update works fine.

My stock update API is

https://{mydnspointed}/admin/api/2024-10/inventory_levels/set.json
payload

{
  "location_id": {id},
  "inventory_item_id": {id},
  "available": 2
}

I got
404

{
    "errors": "Not Found"
}

i checked all the entries in payload location id and inventory item id. tracking is enabled .

Hi itoons,

Did you ever get a response or find a solution to this issue?

Thanks