Cancel a reservation

Using this endpoint you can submit a reservation cancellation request. If the reservation can be cancelled, the endpoint will return 204 and an empty response body. If we cannot start the cancellation process, the endpoint will return an error message and error codes. Currently the following error codes can be returned: NON_CANCELLABLE, NOT_FOUND, INTERNAL_SERVER_ERROR, 'ALREADY_CANCELLED' Each error code will have an error message to explain the error code. NON_CANCELLABLE reservations are the ones that either have non a cancellable status (PENDING) or their check in date has already passed and the reservation cannot be cancelled any more. It's important to fetch the status of the reservation after submitting this request to confirm that the status changes to CANCELLED

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The id of the booking

string
required

The id of the reservation

Headers
string
required

Type 'Bearer' and then your API Token

Responses
204

No Content

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json