1

I am trying to fetch the quantity with

https:mydomain.com/index.php/rest/V1/stockItems/24-MB01

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

1 Answer 1

0

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

2
  • 1
    did you get a solution for this? i am also facing this issue May 6, 2020 at 5:52
  • yes you can try that. May 30, 2020 at 10:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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