ERPNext API Usage for External Applications 2021

Hello all, today I’m going to teach you how the Rest API works with the ERPNext. This method is not hard, but if you are searching for external systems, this is the best way to learn.

Before that, you have to get the API Key and Secret Key by creating a user or checking an existing user.

Now it’s time to check few endpoints using postman or any other API Testing tool.

Like the above image, you have to merge API Key and Secret Key and place it in the header (as Authorization).

Then, to test the connection, just pass the following API endpoint to test the connection.

http://erp.yourdomain.net/api/resource/Sales%20Invoice

If you could get all the things done in the right way, you will see all the invoices you have created.