Create Customer

View as Markdown

Headers

{{tenant_key_name}}stringOptional

Request

This endpoint expects a multipart form.
statusstringRequired

Optional: Status (prospect, active, inactive, suspended) - defaults to prospect

last_namestringRequired

Required: Last name (for residential customers)

first_namestringRequired

Required: First name (for residential customers)

do_not_callstringRequired

Optional: Do not call flag (true, false) - defaults to false

do_not_textstringRequired

Optional: Do not text flag (true, false) - defaults to false

credit_limitstringRequired

Optional: Credit limit amount

display_namestringRequired

Optional: Display name override

do_not_emailstringRequired

Optional: Do not email flag (true, false) - defaults to false

credit_statusstringRequired

Optional: Credit status (excellent, good, fair, poor) - defaults to good

customer_typestringRequired

Required: Customer type (residential, commercial, industrial, government)

priority_levelstringRequired

Optional: Priority level (standard, preferred, vip) - defaults to standard

marketing_opt_outstringRequired

Optional: Marketing opt out flag (true, false) - defaults to false

preferred_languagestringRequired

Optional: Preferred language (en, es, fr) - defaults to en

customer_portal_accessstringRequired

Optional: Customer portal access (true, false) - defaults to true

Response headers

Hoststring
X-Powered-Bystring
Cache-Controlstring

Response

OK
datalist of objects

Errors

422
Unprocessable Entity Error