Customers
Create Customer
Acces
Membru al organizației cu această permisiune:
customers:write
O cheie API cu scopuri are nevoie și de permisiune printre scopurile sale.
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).