1

In my Magento 1.9, I need to access orders by calling API:

http://somesiteUrl/api/rest/orders

but the response is 404 with error:

{"messages":{"error":[{"code":404,"message":"Request does not match any route."}]}}

any help will be appreciated.

  • Which HTTP method are you using? – PY Yick Jun 11 '18 at 7:21
  • I use GET with Authorization header (token & token secret included) – Adnan Jun 11 '18 at 7:27
  • 2
    May be the problem from headers. check your response header – Rahul Singh Jun 11 '18 at 7:30
  • The header are fine i double check it with another request like /products or /stockitems, only /orders is not working – Adnan Jun 11 '18 at 7:31
  • @Prasanta, in magento 1.9 are you sure? – Adnan Jun 11 '18 at 7:50
0

I found the problem.

the problem is magestore extension override orders route with another route.

the new order endpoint is : /webpos/order/find

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.