Solved

404 when Updating Inventory Level

PS_Allyssa
Shopify Partner
1 0 0

I have an app which sends stock levels to Shopify for our customers.

 

I'm getting 404 Not Found on a specific store, but it works fine for others. I've checked that the location_id and inventory_item_id are valid. The product is also configured to track quantity. I've checked that the url is correct and with correct API version. The app has correct `write_inventory` permission.

 

My recent request
Endpoint: /admin/api/2022-10/inventory_levels/adjust.json
X-Request-Id: 68dc9e3c-7f5f-4556-a43e-f49b4a2de374
Payload:
{"location_id":83771687223,"inventory_item_id":47601847271735,"available_adjustment":10}

Accepted Solution (1)

Liam
Shopify Staff
2731 299 769

This is an accepted solution.

Hi PS_Allyssa,

 

There may be some settings or configuration on this specific store that is preventing the API calls from working correctly. The best option here would be to connect directly with our partner support team who can look into this case for you. You can start a support interaction from within your partner dashboard. 

 

Hope this helps!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 2 (2)

Liam
Shopify Staff
2731 299 769

This is an accepted solution.

Hi PS_Allyssa,

 

There may be some settings or configuration on this specific store that is preventing the API calls from working correctly. The best option here would be to connect directly with our partner support team who can look into this case for you. You can start a support interaction from within your partner dashboard. 

 

Hope this helps!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

AndresPackner
Visitor
1 0 0

Hello! I'm having the same problem and I can't fix it, the same call works for me with other stores. Could you share your solution with me?
Thank you!