Customers
Create Customer
Acesso
Membro da organização com esta permissão:
customers:write
Uma chave de API com scopes também precisa da permissão nos seus 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).