Reservations
Add or change a reservation extra
Toegang
Lid van de organisatie met dit recht:
reservations:write
Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.
POST
From the booking catalog or typed in; a period limits per-night extras to part of the stay.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
reservationId*stringapplication/json- body
id?stringbookingExtraId?stringname*stringLength
1 <= length <= 120unit?stringDefault
"PER_STAY"Value in
"PER_STAY""PER_NIGHT""PER_PERSON""PER_PERSON_PER_NIGHT"quantity?integerRange
1 <= value <= 500Default
1unitPrice*numberRange
0 <= value <= 100000taxPercentage?numberRange
0 <= value <= 100Default
21startsOn?|nullendsOn?|nullnote?stringLength
length <= 200OK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//reservations/string/extras' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "unitPrice": 0}'Example Response
null