cancel
Showing results for 
Search instead for 
Did you mean: 

REST API Get all orders 403 Access denied

REST API Get all orders 403 Access denied

Hi All,

 

Magento version: 1.9.3.6 

 

Try to set Rest API for my site. Rest role, Rest attribute has been set up. Authentication is success. I can get Access Token and Access Secret, but when I call /api/rest/orders, I got 403 Access denied.

 

Anyone can help me?

Many thanks,

Tony

3 REPLIES 3

Re: REST API Get all orders 403 Access denied

Hello @tony_chen3,

 

Please ensure that your user->role has permission for Orders if you are fetching order's data

Please go to system->permission->role and add permission for your user role for access.

 

--
If my answer is useful, please Accept as Solution & give Kudos

Re: REST API Get all orders 403 Access denied

@tony_chen3

 

Please check the permission of user under System->Permissions->all users->edit selected user->USER role->Administrators->save

 

Then it should work properly Smiley Happy

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

Re: REST API Get all orders 403 Access denied

The user is already administrator. Someone mentioned it needs to change to code to solve the issue. However I do not know how?