Params

Name Type Requireness Default value Description
property_uid string required none UID of property.
checkin_date string required none YYYY-MM-DD Check-in date.
checkout_date string required none YYYY-MM-DD Checkout date.
guest_name string required none Guest name.
guests int required none Number of guests.
price_total float required none Total payout.
currency string required none Currency code (3 symbols).
description string optional none Additional information.
reservation_code string optional none Reservation code to update existing booking

Description

Create or update (by reservation_code) existing booking (airgms platform only).

Returns reservation code and platform type (see the corresponding filters section) of the booking.

This endpoint requires one of the following scopes: direct-bookings

Response sample

{
    "data": {
        "reservation_code": "AIRGMS5BHJ1F75W2",
        "platform_type": "airgms"
    }
}