ERPNext

Free and open-source integrated Enterprise Resource Planning software

Go to site
Explore
/
Apps
/
ERPNext

ERPNext API Integrations

Build and run workflows using the ERPNext API. Use 1000s of source-available triggers and actions across 1000+ apps. Or write custom code to integrate any app or API in seconds.

Overview

ERPNext is a powerful, yet easy to use, business management software. It comes with a rich set of features that can help you manage your business effectively. However, what makes ERPNext even more powerful is its API.

The ERPNext API gives you the ability to build custom applications that can integrate with ERPNext and extend its functionality. With the ERPNext API, you can build applications that can:

  • Automate tasks and workflows
  • Retrieve and update data in ERPNext
  • Generate reports and dashboards
  • Integrate with third-party applications
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    erpnext: {
      type: "app",
      app: "erpnext",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `${this.erpnext.$auth.base_url}/api/method/frappe.auth.get_logged_user`,
      auth: {
        username: `${this.erpnext.$auth.api_key}`,
        password: `${this.erpnext.$auth.api_secret}`,
      },
    })
  },
})

Authentication

ERPNext uses API keys for authentication. When you connect your ERPNext account, Pipedream securely stores the keys so you can easily authenticate to ERPNext APIs in both code and no-code steps.

Your Frappe Base URL is https://{your frappe instance} (for example: https://demo.erpnext.com)

Please see these instructions to generate an API Key and API Secret.