Guesty API Documentation

    Instructions:

    • Document will have portal, plugin settings, each, and everything to setup
    • The basic setup instructions for each PMS, any settings to amend in the portal, what is pulled, what can be changed, any maintenance, etc.
    • In a word format and tom can then create it on site as a docs
    • We might need to use screenshots as well

    Index:

    • Introduction
    • Portal 
    • Add Listings 
    • Add Calendar / Availability
    • Add Reservations
    • Cancel Reservations
    • API Integration
    • Credentials Required 
    • Endpoints 
      • All listings 
      • Single listing 
      • Reservations (Create/Cancel) 
      • Prices (Extra guest fee, daily price, Taxes, Discounts)
      • Availability (Min stay, Available)
    • Missing Endpoints
    • Manual sync all or single listing
    • Auto Sync settings
    • Website Settings
    • Plugin Settings 
      • Overriding 
      • Cronjobs (Enable/Disable)
    • Customization 
    • Auto Registration 
      • Path of files for custom code.
    • Gateways
    • Stripe
    • Options on theme settings
    • Path of files for custom code.
    • PayPal
      • Options on theme settings
      • Path of files for custom code.
    • PayPal Sofort
      • Option is plugin settings
      • Path of files for custom code.
    • Code
    • Child Theme
    • API Plugin

 Introduction 

    Guesty API

    The Leading Property Management Platform. Guesty automates and streamlines every aspect of your growing & changing rental business.

    Portal 

    Add Listings

    Add Calendar / Availability

    Add Reservations

    Cancel Reservations


    Booking Engine:

    API Integration 

    Credentials Required

    1. Client ID 
    2. Client Secret 

    These two things are required to GET Token for all requests

    Endpoints

    API Doc: https://booking-api-docs.guesty.com/

    1. Get Token 

    https://booking.guesty.com/oauth2/token

    1. GET Listings https://booking.guesty.com/api/listings
    2. GET Single Listing 

    https://booking.guesty.com/api/listings/property_id

    1. GET Prices https://booking.guesty.com/api/reservations/money?listingId=611f5acf622ef0003184ae63&checkIn=2021-10-04&checkOut=2021-10-05&guestsCount=1&coupon=NEW
    2. GET Availability 

    https://booking.guesty.com/api/listings/5f5aecb45e1d26002d763d62/calendar?from=2021-10-26&to=2021-12-27

    1. Create Reservation 

    https://booking.guesty.com/api/reservations

    Missing data

    1. No Cancel Reservation endpoint
    2. No listing Description

    Manual sync options 

    1. All Data sync 

    1. Single listing sync (Go single listing edit page)

    Auto Sync Settings

    1. Plugin Setting page (Go to Listings > Settings)
    2. View existing auto schedules 
    3. Can enable/Disable each auto sync by clicking checkbox under Action Column. 

    Website Settings

    Plugin Settings

    1. Plugin Setting page (Go to Listings > Settings)
    2. Enter required API credentials 

    1. Override options
    2. You can enable / disable override settings for API data.

    1. Can view and enable/disable Auto Syncs. 


    Customization

    Auto Registration

    Changes for auto registrations module are in following files. 

    1. homey-child\template-parts\boostly-modal-register.php
    2. homey-child\template-parts\instance-booking\nightly.php
    3. plugin\guesty\assets\js\guesty.js
    4. plugin\guesty\guesty.php


    Gateways

    Stripe 

    Changes regarding stripe to Guesty reservation are in the following files.

    1. theme\homey-child\template-parts\instance-booking\nightly.php
    2. plugin\guesty\guesty.php
    3. plugin\guesty\assets\js\guesty.js
    4. plugin\guesty\classes\class-stripe.php

    Homey theme settings to enable / disable Stripe gateway


    PayPal

    Changes regarding PayPal to Guesty reservation are in the following files.

    1. theme\homey-child\template-parts\instance-booking\nightly.php
    2. plugin\guesty\guesty.php
    3. plugin\guesty\assets\js\guesty.js

    Homey theme settings to enable / disable PayPal gateway

    PayPal Sofort 

    Changes regarding stripe to Guesty reservation are in the following files.

    1. theme\homey-child\template-parts\instance-booking\nightly.php
    2. plugin\guesty\guesty.php
    3. plugin\guesty\assets\js\guesty.js
    4. plugin\guesty\classes\class-stripe.php

    Homey theme settings to enable / disable PayPal Sofort gateway

    1. Homey themes options enable PayPal gateway

    1. Go to Listings > Settings and click on stripe Sofort checkbox.


    Code

    Child Theme

    Path: theme\homey-child

    API Plugin

    Path: plugin\guesty

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us