The different fields available to you within the array. Please note not all of them need to be defined.
| Name | Type | Required | Default Value | Description |
|---|
| user | STRING | Required | none | Username for the account. The user parameter must only contain letters (a-z or A-Z), digits (0-9), underscore (_), hyphen (-), period (.), and the "at" sign (@). |
| email | STRING | Required | none | Email address for the account holder. This has to be a properly formatted email address. |
| firstname | STRING | Optional | none | Firstname for the account holder |
| lastname | STRING | Optional | none | Lastname for the account holder |
| password | STRING | Optional | random string | Password for the account holder (if none is provided the system will generate one and send it to the user) |
| address1 | STRING | Optional | none | The account holders address. |
| address2 | STRING | Optional | none | A second line for the account holders address. |
| city | STRING | Optional | none | The account holders city. |
| language | STRING | Optional | none | The language the account holder is using. |
| state | STRING | Optional | none | The account holders state/province. |
| country | STRING | Optional | none | The account holders country. |
| postal | STRING | Optional | none | The account holders zip or postal code. |
| birthdate | STRING | Optional | none | The account holders birth date. |
| cellphone | STRING | Optional | none | The account holders cell phone. |
| phone | STRING | Optional | none | The account holders phone number. |
| website | STRING | Optional | none | The account holders website. |
| accounttype | STRING | Optional | 0 | The account type for the account holder. |
| occupation | STRING | Optional | none | The account holders occupation. |
| newsletter | BOOLEAN | Optional | 0 | Whether the account holder wants to receive a newsletter. |
| gender | CHAR | Optional | none | The account holders gender, acceptable values are M or F. |
| meta | STRING | Optional | none | Any meta data you wish to store about the account holder. |
| external_id | STRING | Optional | none | The id provided by a 3rd party external authorization system. NB: This is to be used with 'external_id_provider'. |
| external_id_provider | INTEGER | Optional | none | The integer that represents the 3rd party that provided the external id. Possible values are: - 1 (Facebook)
- 4 (Janrain)
- 5 (Gigya)
- 6 (Stripe)
- 7 (Google)
- 8 (Apple)
- 9 (Twitter)
- 10 (Instagram)
- 11 (YouTube)
NOTE: The external_id_provider is required if external_id is passed. |