v1

latestOpenAPI 3.0.02026-07-26866217.8 KB
Reservations

Decline Reservation

Decline a pending reservation request. The reservation must be in wait_accept status. This endpoint communicates with the channel to reject the booking.

post/reservations/{reservation_code}/decline

Path parameters

reservation_codestring required

The code of the reservation.

Response

The reservation has been successfully declined.

request_idstring required

Unique identifier for the request.

error_codeinteger required

Numeric error code representing the status of the response. A value of 200 indicates success. <br> See the Error Codes section for more information.

error_msgstring required

Message detailing the status of the response.

Example response

{
  "error_msg": "Done."
}