All requests must first be Authorized and must use the HTTP POST method over HTTPS.
This call allows you to create a customer which will be assigned to your account in DigitalHub.
POST request format:
Endpoint:
https://api.vision-net.ie/cws/2.3/digital_hub/consumer/create
Parameters:
Parameter | Type | Description |
---|---|---|
clientReference | String | (Required) Client reference string, must be unique for every customer. |
firstName | String | (Required) First name of the customer. |
surname | String | (Required) Surname of the customer. |
country | object | (Required) Country object with "name" string field for name of the country and "nationality" string field for nationality. |
currentCounty | object | Current county object with "name" string field for name of the current county of the customer. |
previousCounty | object | Previous county object with "name" string field for name of the previous county of the customer. |
dateOfBirth | Date | (Required) Date of birth of the customer - format dd-MM-yyyy |
String | Email of the customer. | |
phone | String | Phone number of the customer. |
address | String | Address of the customer. |