stock update failed using rest api

stock update failed using rest api

itoons
Shopify Partner
1 0 0

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 . 

 

Reply 1 (1)

ECGroupIT
Shopify Partner
4 0 4

Hi itoons,

 

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

 

Thanks