Ability to list custom fields

We are looking at having a two-way sync of your person entities (contacts and leads).

When having a look at your API documentation, we are missing a custom field endpoint.
What we would require of the endpoint, is that it lists the following:

  • the id of the field (which is used to read/set a value on the person record)
  • the label of the field (which is what the user sees in their UI)
  • the data type of the field (string, integer, etc.).

Such a custom field endpoint would allow our end users to select the custom fields in ERPNext which they want to sync with fields in the other apps.

You can use “Custom Field” doctype for this. (https://xyz.com/api/resource/Custom Field)