Booking Create Booking

This endpoint allows you to create booking.



X-API-KEY string API key


booking/booking_notes string Extra facilities like Tea/Coffee maker, Shower etc.

booking/source string Booking source (like booking_dot_com OR expedia etc.)

booking/card/cvc number Customer's card cvc number

booking/card/name string Customer's card holder name

booking/card/exp_year integer Customer's card expiry year (yy)

booking/card/exp_month integer Customer's card expiry month (mm)

booking/card/number number Customer's card number

booking/rate_plan/currency/currency_code string Currency code (like USD)

booking/rate_plan/rates/base_rate integer charge rate for 1 day

booking/rate_plan/rates/date string End date of rate (check out date - 1 day)

booking/rate_plan/rates/date_end string End date of rate (check out date - 1 day)

booking/rate_plan/rates/date_start string start date of rate (check in date)

booking/rate_plan/pms_rate_plan_id integer PMS Rate plan ID

booking/rate_plan/description string description about booking

booking/rate_plan/number_of_adults_included_for_base_rate integer Number of adults

booking/staying_guest string staying guest with customer

booking/booking_customer/country string customer's country name

booking/booking_customer/postal_code string customer's zip/postal code

booking/booking_customer/city string customer's city name

booking/booking_customer/address string customer's address

booking/booking_customer/email string customer's email id

booking/booking_customer/phone number customer's phone number

booking/booking_customer/customer_name string customer's name

booking/booking_customer/company_id number PMS property ID

booking/children_count string Number of children

booking/adult_count integer Number of adults

booking/check_out_date string Booking check out date

booking/check_in_date string Booking check in date

booking/ota_type string Booking source

booking/pms_room_type_id integer PMS Room Type ID

booking/company_id integer PMS property ID

booking/booking_type string Type of booking new / modified / cancelled

booking/ota_booking_id integer Booking ID

company_id integer PMS property ID


200 Booking successfully created.
    "ota_booking_id": "76732432325",
    "pms_booking_id": "482",
    "booking_type": "new"
404 Could not find a booking matching this query.
    "status": false,
    "error": "Unknown method."

Request Body

      "ota_booking_id": "7673212325",
      "booking_type": "new",
      "company_id": "8490006340",
      "pms_room_type_id": "8490020098",
      "ota_type": "booking_dot_com",
      "source": "2",
      "check_in_date": "2020-07-25",
      "check_out_date": "2020-07-28",
      "adult_count": "3",
      "children_count": "2",
      "booking_notes": "created via Booking ID: 76732432325\nEarlyCheckIn, HighFloor",
      "booking_customer": {
         "company_id": "8490006340",
         "customer_name": "Pk Patidar",
         "phone": "+91 7878765456",
         "email": "",
         "address": "",
         "city": "",
         "postal_code": "",
         "country": ""
      "staying_guest": {
         "guest_name": ""
      "card": {
         "number": "4242424242424242",
         "exp_month": "08",
         "exp_year": "23",
         "name": "Pankaj Patidar",
         "cvc": "123"
      "rate_plan": {
         "rate_plan_name": "booking_dot_com #76732432325",
         "number_of_adults_included_for_base_rate": "3",
         "description": "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.",
         "pms_rate_plan_id": "131335",
         "rates": [
               "date_start": "2020-07-25",
               "date_end": "2020-07-27",
               "date": "2020-07-27",
               "base_rate": "50.00"
         "currency": {
            "currency_code": "USD"
} Get Booking detail (last 15 minute interval)

This endpoint allows you to get booking detail.



X-API-KEY string API key


company_id string Property ID


200 Booking successfully retrieved.
        "booking_id": "345",
        "arrival_date": "2022-07-28 00:00:00",
        "departure_date": "2022-07-30 00:00:00",
        "customer_name": "Eeshan Jain",
        "email": "",
        "booking_source": "Owner",
        "rate": "333",
        "booking_date": "2022-08-18 16:50:18",
        "room_type": "New Room Type",
        "rate_plan": "New Rate Plan #345",
        "customer_type": "VIP"
        "booking_id": "344",
        "arrival_date": "2022-07-29 00:00:00",
        "departure_date": "2022-08-01 00:00:00",
        "customer_name": null,
        "email": null,
        "booking_source": "Walk-in / Telephone",
        "rate": "0",
        "booking_date": "2022-08-18 16:50:14",
        "room_type": "Double Customer",
        "rate_plan": null,
        "customer_type": null
404 Could not find to matching this query.
    "status": false,
    "error": "Unknown method."

Request Body

   "company_id": "8490006340"

Last updated