I need customer id and token number when login customer account in Magento2 I used this API for customer login:

Method: Post rest/V1/integration/customer/token


{ "username" : "abc@gmail.com", "password" : "abc12345!"; }

  • 1
    you have to create your own API endpoint that accepts user username as input for search customer data. – magefms Feb 4 at 9:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.