POST
/
consumers
/
{consumer_id}
/
pos
/
customers
curl --request POST \
  --url https://api.chift.eu/consumers/{consumer_id}/pos/customers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "first_name": "John",
  "last_name": "Doe",
  "phone": "+32475123456",
  "email": "john.doe@gmail.com",
  "address": {
    "name": "home",
    "street": "Avenue de la République",
    "number": "123",
    "box": "A",
    "city": "Paris",
    "postal_code": "75000",
    "country": "FR"
  }
}'
{
  "id": "371ca583-d218-8000-b236-397532cf0e52",
  "first_name": "John",
  "last_name": "Doe",
  "name": "John Doe",
  "phone": "+32475123456",
  "email": "john.doe@gmail.com",
  "created_on": "2025-01-01T00:00:00Z",
  "addresses": [],
  "loyalty": 100,
  "birthdate": "1990-01-01"
}

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

consumer_id
string
required

Body

application/json
first_name
string
required

First name of the customer

Minimum length: 1
Example:

"John"

last_name
string
required

Last name of the customer

Minimum length: 1
Example:

"Doe"

phone
string

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

Example:

"+32475123456"

email
string

Email address of the customer

Example:

"john.doe@gmail.com"

address
object

Address of the customer

Response

200
application/json
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

First name of the customer

Example:

"John"

last_name
string

Last name of the customer

Example:

"Doe"

phone
string

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

Example:

"+32475123456"

email
string

Email address of the customer

Example:

"john.doe@gmail.com"

created_on
string

Date and time when the customer was created

Example:

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

addresses
object[]

List of addresses of the customer

loyalty
integer

Loyalty points of the customer

Example:

100

birthdate
string

Birthdate of the customer

Example:

"1990-01-01"