stock update failed using rest api

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