v1

latestOpenAPI 3.0.02026-07-26866217.8 KB
Reservations

Update Reservation Basic Info

Update basic information of a stay including guest details, dates, pricing, and other attributes.

patch/reservations/{stay_code}

Path parameters

stay_codestring required

The code of the stay.

Request body

remarksstring

Remarks for the reservation.

creatorstring

The account of the creator.

custom_channel_idinteger

The id of the custom channel.

check_in_datestring date

The check-in date for the reservation in YYYY-MM-DD format.

check_out_datestring date

The check-out date for the reservation in YYYY-MM-DD format.

number_of_guestsinteger

The total number of guests.

guest_namestring

The name of the primary guest.

mobilestring

The mobile phone number of the guest.

emailstring email

The email address of the guest.

currencystring

The currency code for the reservation amounts. See Supported Currencies for more information.

rate_amountnumber

The total rate amount for the reservation.

commission_amountnumber

The commission amount for the reservation.

Response

The request has been successfully submitted.

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