Suppose I wanted to write an iPhone/Android app to do some function, like list orders etc. Is there a login API which takes the same username/password as the Magento back end admin which I can use please?
Thanks
Solved! Go to Solution.
Hi @bdamage
Yes, In REST api you will require to pass accesstoken of admin !
you can use the same credentials of backend to get the accesstoken of REST API.
Below i am giving the API details to get the accesstoken !
URL : http://yourdomainname.com/index.php/rest/V1/integration/admin/token/
METHOD : POST
Parameters :
{ "username":"your admin username", "password":"your admin password" }
You can refer this link for more details - https://devdocs.magento.com/guides/v2.3/rest/tutorials/orders/order-admin-token.html
For more details refer Swagger API document of Magento - http://devdocs.magento.com/swagger/
Hope it helps !
Hi @bdamage
Yes, In REST api you will require to pass accesstoken of admin !
you can use the same credentials of backend to get the accesstoken of REST API.
Below i am giving the API details to get the accesstoken !
URL : http://yourdomainname.com/index.php/rest/V1/integration/admin/token/
METHOD : POST
Parameters :
{ "username":"your admin username", "password":"your admin password" }
You can refer this link for more details - https://devdocs.magento.com/guides/v2.3/rest/tutorials/orders/order-admin-token.html
For more details refer Swagger API document of Magento - http://devdocs.magento.com/swagger/
Hope it helps !