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": [
    {
      "address_type": "home",
      "name": "Home",
      "street": "Main Street",
      "number": "123",
      "box": "A",
      "city": "Paris",
      "postal_code": "75000",
      "country": "FR"
    }
  ],
  "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

Response

200
application/json

Successful Response

The response is of type object.