v1

latestOpenAPI 3.0.02026-07-26866217.8 KB
Reservations

Approve Reservation

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

post/reservations/{reservation_code}/approve

Path parameters

reservation_codestring required

The code of the reservation.

Response

The reservation has been successfully approved.

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."
}