Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Error fetching inventory levels using API

Error fetching inventory levels using API

stylishattire
Visitor
1 0 0

Problem Statement

Issue: When attempting to update inventory levels for products in Shopify, the application consistently returns the following errors: 

Error updating inventory: { errors: 'Not Found' }   

Error fetching inventory levels: { errors: 'Not Found' }

Context:

You have a Node.js application that listens for inventory updates from Shopify via webhooks.

Upon receiving an update (e.g., available products), your application sends a request to Shopify's API to update the inventory by adding a specified quantity (e.g., +10).

Despite verifying the Inventory Item ID and Location ID, the API responses indicate that the gives following 

Replies 0 (0)