create_customer
Creates a new customer
Name | Type | Required | Example |
---|---|---|---|
username | String | Y | johndoe The 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 | Pass123 If 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 | Customer An optional/custom account type. If "Customer" (the default), this can be omitted. |
external_id | String | N | abc123 An externally tracked ID used outside of this system. |
enroller | Integer | N | 123 The internal user ID of the enroller/referrer, if any |
external_enroller_id | String | N | abc123 The externally tracked ID of the enroller/referrer, if any |
upline | Integer | N | 123 The internal user ID of the genealogy upline, if any |
external_upline_id | String | N | abc123 The externally tracked ID of the genealogy upline, if any |
payout_method | String | N | general_csv One of: |
date_added | Date String | N | 2014-01-01 13:59:00 YYYY-MM-DD HH:MM:SS |
ownerid | Integer | N | 123 When present, creates a lead into the CRM of "ownerid" |
gov_id_type | string | N | ssn Name of the government id type such as SSN or TAX ID. Requires gov_id_number value. |
gov_id_number | Integer | N | 123456789 The government id number. Requires gov_id_type value. |
Name | Type | Example |
---|---|---|
user_id | Integer | 1001 The new internal ID used by this system |