i want to create a integration with magento 2 and SAP B1, I created a web application in magento 2 I gave it a name and I gave it permission to API and it was saved

then create a new role, assign the roles that the API will use, then create the user who will use the roles you previously believed

when I make the call

https: // HOST_IP / rest / V1 / customer / me

give me this back

The request does not match any route.

Can you tell me if I'm forgetting a step or something?

  • Have you got customer token? Sep 27, 2018 at 3:34
  • No, it shows an error 2f {"message":"Request does not match any route."} 0
    – Maurice
    Sep 27, 2018 at 13:40
  • Which method you;re passing ? GET or POST ? Sep 27, 2018 at 13:45
  • Currently GET, but the idea is to work with both
    – Maurice
    Sep 27, 2018 at 14:51
  • Have you checked my answer ? Sep 27, 2018 at 15:42

1 Answer 1


In Magento web-API when you pass user name and password then it generates token for that specific customer (Which is only valid for 1 hour - configurable from admin)

http://ventas.interlatin.com.mx/index.php/rest/V1/integration/customer/[email protected]&password=testapi12345

  • method POST

which returns token.

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.