REST API template


For a given DocType how to find what are mandatory fields needed to create a document of that docType ?

In the below example if you want to Create a doc for Selling > Customer doctype below is atleast mandatory fields. But in no where it mentioned which are mandatory fields?

{“customer_name”:“SomeNAME”,“customer_type”:“Individual”,“customer_group”:“Commercial”,“territory”:“United States”};