Reservations
Add a stay to a group booking
Toegang
Lid van de organisatie met dit recht:
reservations:write
Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.
POST
Creates another reservation (own terrain, dates and guests) in the group.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
reservationGroupId*stringapplication/json- body
customerId?stringcheckIn*stringFormat
date-timecheckOut*stringFormat
date-timepreferredTerrainId?stringnote?stringLength
length <= 2000licensePlates?array<>Default
[]numberOfAdults*integerRange
0 <= value <= 50numberOfChildren?integerRange
0 <= value <= 50Default
0numberOfToddlers?integerRange
0 <= value <= 50Default
0numberOfAnimals?integerRange
0 <= value <= 20Default
0OK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//reservation-groups/string/stays' \ -H 'Content-Type: application/json' \ -d '{ "checkIn": "2019-08-24T14:15:22Z", "checkOut": "2019-08-24T14:15:22Z", "numberOfAdults": 0}'Example Response
null