Sunday, 24 August 2025, 12:03 AM
Created by: Ruvenss G. Wilches
This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.
A successful POST request typically returns a 200 OK or 201 Created response code. And a random password for the user.
Allowed Values and their keys:
language: english, french, dutch, spanish, turkish, greek, italian, polish, norwegian, german, russian, french, turkish, czech, portuguese
user_type: client (The system will automatically reset this value always to client, regardeless of your payload)
Usable fields:
Clients, and Leads do use the same table, and the possible fields for this end point are:
| Field | Type | Length | Mandatory |
|---|---|---|---|
id | int | 11 | Yes on update |
company_name | varchar | 150 | Yes |
type | enum | organization, person | Yes |
address | text | No | |
city | varchar | 50 | No |
state | varchar | 50 | No |
zip | varchar | 50 | No |
country | varchar | 50 | No |
country_code | varchar | 2 | No |
created_date | datetime | Yes | |
website | text | No | |
phone | varchar | 20 | No |
currency_symbol | varchar | 20 | No |
starred_by | mediumtext | Yes | |
group_ids | text | Yes | |
deleted | tinyint | 1 | Yes |
is_lead | tinyint | 1 | Yes |
lead_status_id | int | 11 | Yes |
owner_id | int | 11 | Yes |
created_by | int | 11 | Yes |
sort | int | 11 | Yes |
lead_source_id | int | 11 | Yes |
last_lead_status | text | Yes | |
client_migration_date | date | Yes | |
vat_number | text | No | |
gst_number | text | No | |
stripe_customer_id | text | Yes | |
stripe_card_ending_digit | int | 11 | Yes |
currency | varchar | 3 | No |
disable_online_payment | tinyint | 1 | Yes |
labels | text | No | |
client_type | varchar | 20 | No |
client_electronic_address | varchar | 130 | No |
managers | text | 130 | No |