ERPNext integration (Productivity, Finance). Imported from open-connector.
{base_url}/api/method/{erpnextLoggedUserMethod}
| Param | Type | Required | Description |
|---|---|---|---|
| erpnextLoggedUserMethod | string | required | Path parameter: erpnextLoggedUserMethod |
/api/resource/{doctype}
| Param | Type | Required | Description |
|---|---|---|---|
| doctype | string | required | The ERPNext DocType name to operate on. |
| fields | array | optional | The ERPNext document fields to include in the response. |
| filters | object | optional | Filters passed through to ERPNext as JSON. |
| order_by | string | optional | The ERPNext order_by expression such as modified desc. |
| start | integer | optional | The zero-based ERPNext list offset. |
| page_length | integer | optional | The maximum number of ERPNext documents to return. |
/api/resource/{doctype}
| Param | Type | Required | Description |
|---|---|---|---|
| doctype | string | required | The ERPNext DocType name to operate on. |
| data | object | optional | The document fields to create or update in ERPNext. |
/api/method/{erpnextGetCountMethod}
| Param | Type | Required | Description |
|---|---|---|---|
| doctype | string | required | The ERPNext DocType name to operate on. |
| filters | object | optional | Filters passed through to ERPNext as JSON. |
| erpnextGetCountMethod | string | required | Path parameter: erpnextGetCountMethod |
/api/method/{erpnextGetValueMethod}
| Param | Type | Required | Description |
|---|---|---|---|
| doctype | string | required | The ERPNext DocType name to operate on. |
| name | string | optional | The unique name of the ERPNext document. |
| filters | object | optional | Filters passed through to ERPNext as JSON. |
| fieldname | string | required | One field name or an array of field names to request from ERPNext. |
| erpnextGetValueMethod | string | required | Path parameter: erpnextGetValueMethod |
/api/method/{erpnextSetValueMethod}
| Param | Type | Required | Description |
|---|---|---|---|
| doctype | string | optional | The ERPNext DocType name to operate on. |
| name | string | optional | The unique name of the ERPNext document. |
| fieldname | string | optional | The ERPNext field name to update. |
| value | string | optional | The field value or object returned by ERPNext. |
| erpnextSetValueMethod | string | required | Path parameter: erpnextSetValueMethod |