v1

latestOpenAPI 3.0.02026-07-26866217.8 KB
Reservations

Allocate to Property

Allocate a reservation to a specific property. This action is used to assign or reassign a reservation to a particular property. If there is already a stay for the target property, it will be marked as a conflicting stay and move to the reservation box.

post/reservations/{stay_code}/allocate

Path parameters

stay_codestring required

The code of the stay to allocate.

Request body

property_idinteger required

The ID of the property to allocate the reservation to.

Response

The reservation has been successfully allocated to the property.

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