Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Confirm the property is still available for the requested dates.

  • Ensure that the price you show to the customer is precisely mirroring Bookiply’s Price, including adjustments for additional guests, taxes, children costs, and amenity costs.

  • Reduce the probability of booking rejections.

Sample request

Code Block
{
  "listingId": "0a06a7b4-ad8f-4454-ba6f-c05c998504a2",
  "unitTypeId": "be49ebc5-37d1-49f8-bb6e-d5fe26c5b7bc",
  "arrivalDate": "2022-10-20",
  "departureDate": "2022-10-29",
  "guestDetails": {
    "adultsCount": 1,
    "childrenCount": 1,
    "babiesCount": 1,
    "petsCount": 0,
    "childrenAges": [
      10,
      1
    ]
  }
}

Note: The guest details require the count of adults, children, babies and pets. For every child and baby, there should be a corresponding age in childrenAges array.

Age rules:

  • Babies: less than 2 years old (ages considered as baby are 0 and 1).

  • Children: Greater than or equal to 2 years and less than or equal to 18 years (ages considered as children are 2 - 18).

  • Adults: Greater than 18 years of age.

Booking Creation

After the customer successfully completes the booking on your page, you need to create the booking in Bookiply’s system.

...