ERPNext
communityFree and open-source ERP for manufacturing, distribution, retail, and services.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
https://{instance}/api/resource/{doctype}List records
Parameters
fieldsfield names (string[]optionaldoctypeCustomer|Sales Order|Item|Employee (stringrequiredfiltersfilter conditions (stringoptionallimit_page_lengthresults (integeroptionalReturns
data[] with name, and requested field valuesGET
https://{instance}/api/resource/{doctype}/{name}Get record
Parameters
namerecord name (stringrequireddoctypedoctype (stringrequiredReturns
data with all field values for the recordPOST
https://{instance}/api/resource/{doctype}Create record
Parameters
datafield values (objectrequireddoctypedoctype (stringrequiredReturns
data with name and field values