Arrivals API setBooking


Instructions

Post JSON data here to modify the booking info items in a booking.

To get started contact us for a merchantKey to access this endpoint.

The JSON data is similar to that returned by Arrivals API getBookings.

The bookId must be specified.

Booking Info Items

Booking info items will be added if the code does not exist in the booking or modified if it does already exist.

Room Items

A note can be set for the room the booking is in, this is visible in the control panel calendar

The room status can be set for the room containing the booking, the text value will be ignored if it does not exist at Settings > Account > Preferences > Unit Status Values

Example Data

Add or modify Booking Info Item

{
    "authentication": {
        "apiKey": "merchantKey",
        "propKey": "property accessKey"
    },
    "bookId": "12345678",
    "infoItems": [
        {
            "code": "LOCKCODE",
            "text": "123456"
        }
    ],
    "room": {
        "note": "this is a note stored in the booked unit",
        "unitStatusText": "dirty"
    }
}