create_customerCreates a new customer
| Name | Type | Required | Example |
|---|---|---|---|
username | String | Y | johndoeThe username of the customer (alphanumeric and dashes). This cannot be left blank. |
first_name | String | Y | John |
last_name | String | Y | Doe |
phone | String | Y | 8005551234 |
email | String | Y | john.doe@example.com |
company | String | N | Doe Enterprises |
password | String | N | Pass123If provided, the password must contain at least 7 characters and include at least one uppercase letter, one lower case letter, and one number |
account_type | String | N | CustomerAn optional/custom account type. If "Customer" (the default), this can be omitted. |
external_id | String | N | abc123An externally tracked ID used outside of this system. |
enroller | Integer | N | 123The internal user ID of the enroller/referrer, if any |
external_enroller_id | String | N | abc123The externally tracked ID of the enroller/referrer, if any |
upline | Integer | N | 123The internal user ID of the genealogy upline, if any |
external_upline_id | String | N | abc123The externally tracked ID of the genealogy upline, if any |
payout_method | String | N | general_csvOne of: |
date_added | Date String | N | 2014-01-01 13:59:00YYYY-MM-DD HH:MM:SS |
ownerid | Integer | N | 123When present, creates a lead into the CRM of "ownerid" |
gov_id_type | string | N | ssnName of the government id type such as SSN or TAX ID. Requires gov_id_number value. |
gov_id_number | Integer | N | 123456789The government id number. Requires gov_id_type value. |
| Name | Type | Example |
|---|---|---|
user_id | Integer | 1001The new internal ID used by this system |