v2

latestOpenAPI 3.1.12026-08-06856719.6 KB

Create a customer

This endpoint allows you to create a customer. The customer will be created with the provided details and will be returned in the response.

post/v1/customers

Headers

X-BUSINESS-API-KEYstring required
Example:b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d

Request body

namestring

The name of the customer

emailstring email required

The email of the customer

phone_numberstring required

The phone number of the customer

phone_number_country_codestring

The country code of the phone number

remarkstring

The remark of the customer

birth_datestring date

The birth date of the customer

genderstring

The gender of the customer

Example request

{
  "name": "John Doe"
}

Response

201

idstring required
namestring required
birth_datestring required
emailstring required
phone_numberstring required
genderstring required
remarkstring required
phone_number_country_codestring required
created_atstring required
updated_atstring required