cancel
Showing results for 
Search instead for 
Did you mean: 

Orders REST API issue

Re: Orders REST API issue

I already have - it's the same issue ...

Re: Orders REST API issue

It's vanilla Magento 2 no overrides or plugins have been installed

Re: Orders REST API issue

Okay, can you share details in personal chat so I can check what exact issue is. 

Manish Mittal
https://www.manishmittal.com/

Re: Orders REST API issue

Hi @trey_sinnis

 

Do one thing -  logged in to your backend -> go to the system -> permissions ->  click on user roles.

 

Now you will see list of  all the user roles -> click on one by one and check that user have all the permissions or not ? go to the role resource tab and check resource access tab - is that user have all the permissions or not ?

 

i think that might be a issue that this user don't have access of order resources.

 

Hope it helps

if issue solved,Click Kudos & Accept as Solution

Re: Orders REST API issue

Hey,

 

already on custom with everything set to checked..

Re: Orders REST API issue

Hi @trey_sinnis

 

Yes instead of custom - select ALL from the resources and then try !

if issue solved,Click Kudos & Accept as Solution

Re: Orders REST API issue

Already tried :/ Still nada, it was originally on the ALL selection, tried changing to Custom with everything selected and  same resutls :'(

Re: Orders REST API issue

It seems you are facing issue since a long time, Can you please share API URL and to admin details to check issue in personal so I can look in to issue.

Manish Mittal
https://www.manishmittal.com/

Re: Orders REST API issue

You won't be able to access endpoint - it's all localhost. Just download vanilla Magento, setup a vhost and try to go to

 

index.php/rest/V1/orders/items

 

 

Re: Orders REST API issue

interestingly, downloading 2.3-develop and replacing core magento with that - everything works .. maybe something API-related addressed in 2.3 (on PHP7.2)?