Booking
Create booking closure
Toegang
Lid van de organisatie met dit recht:
organization:settings:write
Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.
POST
Blocks online bookings for a period, for one accommodation type or the whole park.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
terrainTypeId?|nullname*stringLength
1 <= length <= 100startDate*stringMatch
^\d{4}-\d{2}-\d{2}$endDate*stringMatch
^\d{4}-\d{2}-\d{2}$OK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//booking/closures' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "startDate": "string", "endDate": "string"}'Example Response
null