I am trying to fetch the quantity with


I got the following error :

"message": "The consumer isn't authorized to access %resources.", "parameters": { "resources": "Magento_CatalogInventory::cataloginventory" },

my Token is correct because I got the product list with the same token. I have to select the checkbox related stock but I don't know which is missing to select the checkbox in the API tab. The following checkbox was selected.

enter image description here enter image description here


select the Inventory Section checkbook for getting the quantity form https:mydomain.com/index.php/rest/V1/stockItems/24-MB01 API

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.