Creating a Customer can be achieved using this endpoint
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
Example
{"dba":{"id":"1"},"firstName":"John","lastName":"Wick","email":"johnwick@email.com","phone":"+18187740010","description":"Description to help me identify the customer"}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST '/api/customer-vault' \
--header'Authorization: Bearer <token>' \
--header'Content-Type: application/json' \
--data-raw'{
"dba": {
"id": "1"
},
"firstName": "John",
"lastName": "Wick",
"email": "johnwick@email.com",
"phone": "+18187740010",
"description": "Description to help me identify the customer"
}'
Responses
🟢200Create
application/json
Body
Example
{"id":1,"dba":{"id":1},"firstName":"John","lastName":"Wick","company":null,"email":"johnwick@email.com","website":null,"phone":"+1 818-774-0010","altPhone":null,"identificator":null,"description":"Description to help me identify the customer","token":"ZfAyLUOVlK8znmu9irIHPAXlPft3bhFK","archived":null,"updatedOn":null,"createdOn":null}