Booking
Decline website 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
Cancels a requested or unpaid stay and tells the guest, with an optional message.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringapplication/json- body
message?stringLength
length <= 1000OK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//booking/requests/string/decline' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
nullConfirm website booking POST
Accepts a requested stay: the terrain is checked again, the reservation is booked and the guest gets a confirmation.
Keep a website booking after a cancellation request POST
Declines the guest's cancellation request: the booking stays, the request is closed and the guest is told by e-mail (when confirmation e-mails are on), with an optional message.