Customers
Create Customer
Accès
Membre de l’organisation avec cette autorisation :
customers:write
Une clé API avec des scopes doit aussi avoir l’autorisation dans ses scopes.
POST
Creates a new customer with the provided data. Optional identityDocumentScanId links an unassigned (pending) identity document scan to the new customer in the same atomic transaction.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
firstName*stringLength
1 <= lengthlastName?string|nullemail?|unknownphone?stringvatNumber?stringidentityDocumentScanId?stringcustomFields?OK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//customers' \ -H 'Content-Type: application/json' \ -d '{ "firstName": "string"}'Example Response
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).