Terrains
Get terrain by ID
Toegang
Lid van de organisatie met dit recht:
terrains:read
Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.
GET
Retrieves a specific terrain by its ID. Supports virtual fields: customer, occupation (same as list endpoint).
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringinclude?|array<>|stringOK
application/json- response
curl -X GET 'https://api.tillor.eu/orgs//terrains/string'Example Response
nullList available terrains GET
Lists terrains without occupation and without an active reservation that overlaps the stay. The stay is checkIn to checkOut (open-ended without checkOut); without checkIn it is tonight, today to tomorrow. Set includeOccupied=true to also return occupied terrains, includeReserved=true to ignore reservations, and bookable=true to limit to bookable terrains only.
Update terrain PATCH
Updates an existing terrain with partial data.