BookingCancellation
DELETE {{endpoint}}/hotel-api/1.0/bookings/{{bookingReference}}?cancellationFlag=CANCELLATION
The BookingCancellation operation cancels a booking or simulates a booking cancellation.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
cancellationFlag | string | Type of cancellation method to be used. Values: |
SIMULATION: To simulate a booking cancellation
CANCELLATION: To cancel the booking (default value if not specified) |
| language
| string | | Response language. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Api-key | string | API Key used in the request | |
X-Signature | string | SHA256 hash in Hex format from your API Key, your secret plus current timestamps in seconds | |
Accept | string | Defines response format, posible values: application/xml, application/json | |
Accept-Encoding | string | Defines type of encoding used on the data |