API Reference Overview
Authentication
Consumers
Connections
Accounting
- Folders
- Book years
- Clients
- Suppliers
- Invoices
- Ledger accounts
- Journals
- Journal entries
- Employees
- Analytic plans
- Analytic accounts
- Miscellaneous operations
- Outstandings
- VAT codes
- Attachments
Invoicing
- Contacts
- Invoices
- Products
- Taxes
- Opportunities
- Payments
- Payment methods
POS
- Orders
- Payment methods
- Payments
- Closure info
- Locations
- Products
- Categories
- Customers
- Objectives
eCommerce
- Orders
- Products & variants
- Categories
- Customers
- Payment methods
- Locations
- Countries
- Taxes
PMS
- Orders
- Invoices
- Payment methods
- Payments
- Closure info
- Locations
- Categories
- Customers
- Taxes
Payment
- Payments
- Balances
- Transactions
- Refunds
Banking
- Financial institutions
- Banking accounts
- Transactions
Advanced
- Webhooks
- Syncs
- Issues
- Datastores
Customers
Create one customer
Create a customer
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
This access token needs to be included in each of your request to the Chift API.
Path Parameters
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
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"
}
Assistant
Responses are generated using AI and may contain mistakes.