ERPNext: Create customer
erpnext_create_customerERPNext: Creates a customer with type, group and territory. Creates a Customer and returns its ID. ERPNext asks for the Customer Name, Customer Type, Customer Group and Territory on the form; pass the ones your site needs, and the call returns ERPNext's own error if a required one is missing. Address and contact are added in ERPNext under Address & Contact. It reaches no one and can be deleted again, so it does not ask for confirmation. Needs the user's Cotlet API key with access to this app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| territory | No | Territory name from your site. | |
| customer_name | Yes | Customer Name as it should appear on invoices. | |
| customer_type | No | Company, Individual or Partnership. | |
| customer_group | No | Customer Group name from your site. | |
| billing_currency | No | Currency code, for example USD. Sets the default currency of new documents. |