Booking
Create booking extra
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
Adds an optional add-on guests can pick while booking.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
name*stringLength
1 <= length <= 100description?|nullprice*numberRange
0 <= valueunit?stringDefault
"PER_STAY"Value in
"PER_STAY""PER_NIGHT""PER_PERSON""PER_PERSON_PER_NIGHT"taxPercentage?numberRange
0 <= value <= 100Default
21maxQuantity?integerRange
1 <= value <= 50Default
1enabled?booleanDefault
truesortOrder?integerRange
0 <= value <= 1000Default
0choiceGroup?|nullterrainTypeIds?array<>Items
items <= 100Default
[]OK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//booking/extras' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "price": 0}'Example Response
null