my url pattern

I am trying to get the product details by hitting this url but getting 404 error any help would be appreciable ??

  • For all API or only for products?
    – Keyur Shah
    Dec 21, 2017 at 10:18

1 Answer 1


As your question is not very precise, shows no effort that you have tried to make it work and we know nothing about your configuration one can only guess:

Could be that you are missing a rewrite rule in your .htaccess file

RewriteRule ^api/rest api.php?type=rest [QSA,L]

Did you enable that call for Guest user via system configuration? Otherwise you have to do oauth before!

  • Still i am getting same error, is possible using rest api without oAuth? @ Michael Leiss
    – zus
    Oct 25, 2018 at 12:28
  • Hello, i have all details: Consumer Key, Consumer Secret, Token Key, Token Secret still not working, i am using REST API in POSTMAN, return 404 Not Found 1 error, can you pls help me? workout : abc.com/api/rest/products?limit=2 @ Michael Leiss
    – zus
    Oct 27, 2018 at 11:38
  • For nginx, add this in the vhost file: location /api { rewrite ^/api/rest /api.php?type=rest last; }
    – kiatng
    Apr 15, 2021 at 9:07

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.