Reservations
Add or change a guest segment
Toegang
Lid van de organisatie met dit recht:
reservations:write
Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.
POST
Sets who is there for part of the stay; the segment must lie inside the stay and not overlap another.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
reservationId*stringapplication/json- body
id?stringstartsOn*stringFormat
date-timeendsOn*stringFormat
date-timenote?stringLength
length <= 200numberOfAdults*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//reservations/string/guest-segments' \ -H 'Content-Type: application/json' \ -d '{ "startsOn": "2019-08-24T14:15:22Z", "endsOn": "2019-08-24T14:15:22Z", "numberOfAdults": 0}'Example Response
null