Customers
Create Customer
Dostęp
Członek organizacji z tym uprawnieniem:
customers:write
Klucz API z zakresami potrzebuje też tego uprawnienia w swoich zakresach.
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).