Skip to main content
POST
Create one customer

Path Parameters

consumer_id
string<uuid>
required

Body

application/json
first_name
string
required

First name of the customer

Minimum string length: 1
Example:

"John"

last_name
string
required

Last name of the customer

Minimum string length: 1
Example:

"Doe"

phone
string | null

Phone number (mobile, home, work, ...) of the customer

Example:

"+32475123456"

email
string | null

Email address of the customer

Example:

"john.doe@gmail.com"

address
PostAddressItem · object | null

Address of the customer

Response

Successful Response

id
string
required

Unique identifier of the customer

Example:

"371ca583-d218-8000-b236-397532cf0e52"

name
string
required

Name (first name + last name) of the customer

Example:

"John Doe"

first_name
string | null

First name of the customer

Example:

"John"

last_name
string | null

Last name of the customer

Example:

"Doe"

phone
string | null

Phone number (mobile, home, work, ...) of the customer

Example:

"+32475123456"

email
string | null

Email address of the customer

Example:

"john.doe@gmail.com"

created_on
string<date-time> | null

Date and time when the customer was created

Example:

"2025-01-01T00:00:00Z"

addresses
AddressItem · object[] | null

List of addresses of the customer

loyalty
integer | null

Loyalty points of the customer

Example:

100

birthdate
string<date> | null

Birthdate of the customer

Example:

"1990-01-01"