Params

NameTypeRequirenessDefault valueDescription
property_uidstringrequirednoneUID of property.
checkin_datestringrequirednoneYYYY-MM-DD Check-in date.
checkout_datestringrequirednoneYYYY-MM-DD Checkout date.
guest_namestringrequirednoneGuest name.
guest_emailstringrequirednoneGuest email
guests_countintrequirednoneNumber of guests
price_totalintrequirednoneTotal payout.
currencystringrequirednoneCurrency code (3 symbols).
descriptionstringoptionalnoneAdditional information.
reservation_codestringoptionalnoneReservation code to update existing booking
create_invoiceintoptional1Is invoice creation needed (1) or not (0)
guestsarrayoptionalnoneAdditional guests information. Array of BookingGuest objects.

BookingGuest

KeyTypeRequirenessDefault valueDescription
guest_namestringoptionalnoneName
guest_ageintoptionalnoneAge
guest_phonestringoptionalnonePhone
guest_emailstringoptionalnoneEmail
guest_addressstringoptionalnoneAddress

Description

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

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

This endpoint requires the following scope: direct-bookings

Response sample

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