v1
latestOpenAPI 3.0.02026-07-26866217.8 KBCreate Reservation
Create a reservation (Direct Booking) in Hostex.
Request body
The id of the property for the reservation.
The id of the custom channel through which the reservation is booked. See Query Custom Channel for retrieving custom channels.
The check-in date for the reservation in YYYY-MM-DD format.
The check-out date for the reservation in YYYY-MM-DD format.
The total number of guests included in the reservation.
The name of the primary guest.
The email address of the primary guest.
The mobile phone number of the primary guest.
The currency code for the reservation amounts. See Supported Currencies for more information.
The total rate amount for the reservation.
The commission amount for the reservation.
The total amount received for the reservation.
The identifier for the income method used for the reservation payment. See Query Income methods for retrieving all income methods.
Any additional remarks related to the reservation.
Response
The request has been successfully submitted.
Unique identifier for the request.
Numeric error code representing the status of the response. A value of 200 indicates success. <br> See the Error Codes section for more information.
Message detailing the status of the response.
Example response
{
"error_msg": "Done."
}