Hostfully 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.
- Code
- Child Theme.
- API Plugin.
1. Introduction
Hostfully API
Hostfully Property Management Platform is a cloud-based solution designed to help small to large vacation rental businesses manage reservations across multiple channels. Key features include payment processing, instant messaging, team collaboration, upselling, analytics, and reporting.
2. Portal
Add Listings
Add Calendar / Availability
Add Reservations
Cancel Reservations
API Key can be acquired by following these things:-
3. API Integration
Credentials Required
- API Key
- Agency Uid
API Key is required to GET response for all requests.
For live clients credentials working just need to change sandbox base URL from pluginwith this live one.
- Sandbox URL
https://sandbox-api.hostfully.com/v2 /
- Live URL
Endpoints
API Doc: https://dev.hostfully.com/v2.0/reference
- Get Agencies
https://sandbox-api.hostfully.com/v2/agencies
https://sandbox-api.hostfully.com/v2/agencies/uid
- GET Single Listing
https://sandbox-api.hostfully.com/v2/properties/uid
- GET Property Description
https://sandbox-api.hostfully.com/v2/propertydescriptions/:uid
- GET Photos
https://sandbox-api.hostfully.com/v2/photos/:uid
- GET Amenities
https://sandbox-api.hostfully.com/v2/amenities/uid
- GET Prices & Availability
https://sandbox-api.hostfully.com/v2/pricingperiods/uid
4. Booking Widget
For live booking changes need to change this sandbox URL with live doc URL
Missing data
- No create reservation endpoint
- No cancel reservation endpoint
Manual sync options
- All Data sync
- Single listing sync (Go single listing edit page)
Auto Sync Settings
- Plugin Setting page (Go to Listings > Settings)
- View existing auto schedules
- Can enable/Disable each auto sync by clicking checkbox under Action Column.
5. Website Settings
Plugin Settings
- Plugin Setting page (Go to Listings > Settings)
- Enter required API credentials
- Override options
- You can enable / disable override settings for API data.
- Can view and enable/disable Auto Syncs.
6. Customization
Auto Registration
Changes for auto registrations module are in following files.
- homey-child\template-parts\boostly-modal-register.php
- homey-child\template-parts\instance-booking\nightly.php
- plugin\hostfully\assets\js\hostfully.js
- plugin\hostfully\hostfully.php
7. Gateways
Stripe
Changes regarding stripe to Hostfully reservation are in the following files.
- theme\homey-child\template-parts\instance-booking\nightly.php
- plugin\hostfully\hostfully.php
- plugin\hostfully\assets\js\hostfully.js
- plugin\hostfully\classes\class-stripe.php
Homey theme settings to enable / disable Stripe gateway
8. Code
Child Theme
Path: theme\homey-child
API Plugin
Path: plugin\hostfully