Create Customer
Toegang
Lid van de organisatie met dit recht:
customers:write
Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.
Creates a new customer with the provided data. Optional displayId keeps a customer number from another system: it must be unused and not above the highest number in use (409 when taken, 400 when too high); without it the next number is assigned. Optional identityDocumentScanId links an unassigned (pending) identity document scan to the new customer in the same atomic transaction.
ApiKeyAuthx-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
displayId?integer-9007199254740991 <= value <= 9007199254740991firstName*string1 <= lengthlastName?string|nullemail?|unknownphone?stringaddress?stringcity?stringstate?stringzipCode?stringcountry?stringstatus?string"DEFAULT""PREFERRED""WARNING""BLACKLISTED""VIP"locale?string1 <= lengthvatNumber?stringnotes?stringbirthday?stringdate-timebirthplace?stringprofession?stringpersonalNumber?stringcustomerType?string"STANDARD""WORKER_RENTAL_CARAVAN""WORKER_TOWING_CARAVAN"consentToCommunications?booleanconsentToMarketing?booleanidentityDocumentScanId?stringcustomFields?OK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//customers' \ -H 'Content-Type: application/json' \ -d '{ "firstName": "string"}'nullList Customers GET
Lists customers with pagination, filtering, sorting, and includes. Supports virtual fields (terrains, meters, consumption), filtering by id, status, customerType, displayId, and text search.
Get Customer GET
Retrieves a customer by their ID. Supports virtual fields: terrains, meters, consumption (same as list endpoint).