Create a client
Create a client
POST
https://api.complycube.com/v1/clients
Creates a new client.
Headers
Name | Type | Description |
---|---|---|
Content-Type | string | The content-type must always be set to |
Authorization | string | The API |
Request Body
Name | Type | Description |
---|---|---|
type | string | The type of client. Valid values are:
1. |
string | The client's email address. | |
mobile | string | The client's mobile number. |
telephone | string | The client's telephone number. |
externalId | string | A unique identifier that you can associate with the client. For example, this can be the client ID in your system. |
joinedDate | string | The date and time when the client was registered with you. This is relevant for users that migrate existing customers. The format is |
personDetails | object | Primary details for a client of type |
companyDetails | object | Primary details for a client of type |
The personDetails
object
personDetails
object Attribute | Type | Optionality | Description |
|
| Required | The client's first name. |
|
| Optional | The client's middle name. |
|
| Required | The client's last name. |
|
| Optional | The client's date of birth. The format is |
|
| Optional | The client's gender. Valid values include:
|
|
| Optional | The client's nationality. This will be the two-letter country ISO code. |
|
| Optional | The client's birth country. This will be the two-letter country ISO code. |
The companyDetails
object
companyDetails
object Attribute | Type | Optionality | Description |
|
| Required | The client's name. |
|
| Optional | The client's website. |
|
| Optional | The client's registration or incorporation number. |
|
| Optional | The client's incorporation country. This will be the two-letter country ISO code. |
|
| Optional | The client's incorporation type. Valid values include:
|
Example request
Last updated