Create
Method: POST
URL: https://www.wellcomemat.com/api/account/create.php
Parameters
Key | Type | Description |
---|---|---|
key | text | {{key}} |
secret | text | {{secret}} |
text | Required | |
unique_id | text | Required This is an ID assigned from an external system. (Example: agent, member or associate ID) |
firstname | text | Required |
lastname | text | Required |
zip | text | Postal Code |
phone | text | Phone Number |
website | text | Website URL |
Response
type AccountCreateResponse = {
success: 0 | 1;
wellcomemat_user_id?: number;
unique_id?: string | null;
email?: string | null;
firstname?: string | null;
lastname?: string | null;
zip?: string | null;
phone?: string | null;
website?: string | null;
user?: string; // when success = 0
error?: string; // when success = 0
warnings?: string; // when success = 0
};