Skip to main content

Complete Integration Guide

This comprehensive guide explains how to build a complete integration with Distribution Hub (DH) API to synchronize vacation rental properties, availability, pricing, and reservations.

Prerequisites

Read these pages first; this guide does not repeat them:

This guide is the implementation sequence. Method contracts live in the API reference.

Overview​

An effective integration consists of two complementary approaches working together:

  1. Full Data Sync - Periodic comprehensive synchronization
  2. Delta Sync - Real-time event-driven updates

Both are required for certification. Full sync keeps listings consistent if a notification is missed; LNM keeps content, availability, and pricing current between those jobs.

Architecture Principle

Isolate Distribution Hub integration from other system operations using dedicated workers/services. This ensures VR listings remain up-to-date with 100% pricing consistency.


Integration Architecture​

┌─────────────────────────────────────────────────────────────┐
│ Sales Channel Platform │
├─────────────────────────────────────────────────────────────┤
│ │
│ ┌───────────────┐ ┌──────────────┐ ┌─────────────────┐ │
│ │ Periodic │ │ Event │ │ Booking │ │
│ │ Sync Jobs │ │ Listener │ │ Handler │ │
│ │ (Full Sync) │ │ (Delta Sync) │ │ (Synchronous) │ │
│ └───────┬───────┘ └──────┬───────┘ └────────┬────────┘ │
│ │ │ │ │
│ └──────────────────┼────────────────────┘ │
│ │ │
│ ┌────────▼────────┐ │
│ │ Local Cache │ │
│ │ (Database) │ │
│ └─────────────────┘ │
│ │
└───────────────────────────┬─────────────────────────────────┘
│
│ HTTPS/XML
│
┌───────▼───────┐
│ DH API │
└───────────────┘

Part 1: Full Data Sync (Periodic Jobs)​

Full synchronization should be performed:

  • Initially — when first connecting to DH
  • Periodically — at least every 24 hours for owners, properties, calendars, and prices (see each method in the API overview)
  • On-demand — emergency sync or upon DH request

1.1 Dictionary Synchronization​

Purpose: Store reference data so you can interpret property content, statuses, and reservations.

Frequency: Cache long-term and refresh on a schedule (for example every 3 months) or when DH asks you to.

Consume every dictionary marked M in the API overview. Use the operation names and schemas on those pages; do not invent ID mappings.

Mapping Coverage

The more dictionary values you map, the more complete and accurate your listings will be.


1.2 Property Synchronization​

Purpose: Discover and sync all properties connected to your Sales Channel.

Frequency: After a new connection, then at least every 24 hours.

Step 1: Discover Properties​

The DH-required discovery path is owner iteration:

  1. Pull_ListAllOwners_RQ
  2. Pull_ListOwnerProp_RQ for each owner
  3. Pull_ListSpecProp_RQ for each property ID

Pull_ListProp_RQ can filter by location, but it is not the primary DH discovery method.

Recommended Approach

Iterate by owner ID so you can process properties in batches and resume after a failure.

<Pull_ListAllOwners_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
</Pull_ListAllOwners_RQ>

Then request the properties for each owner:

<Pull_ListOwnerProp_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
<OwnerID>G-sfg53vgg</OwnerID>
</Pull_ListOwnerProp_RQ>

Step 2: Get Property Details​

Retrieve each property with Pull_ListSpecProp_RQ:

Property and owner ID formats

Rentals United IDs are numeric (for example 2209989). Guesty IDs use a G- prefix (for example G-5f8a3c2b1e9d4a07). The same rule applies to owner IDs. Pass each ID as returned — DH routes by the prefix. Matching is case-sensitive.

<Pull_ListSpecProp_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
<PropertyID>2209989</PropertyID>
</Pull_ListSpecProp_RQ>

Store the returned static details, evaluate IsActive, IsArchived, and LastMod@NLA, then synchronize the property's calendar, prices, and discounts. If the property is no longer available for sale, deactivate it in your channel.

If an optional PaymentWorkflow is present, store or replace payment terms for the property; if it is missing, clear any terms you stored.

Step 3: Property Availability Rules​

ConditionAction
IsActive = true AND IsArchived = false✅ Available for sales
IsActive = false❌ Remove from sales channel
IsArchived = true❌ Remove from sales channel
LastMod@NLA = true❌ Treat as no longer available
Property missing from the owner/property list❌ Remove from sales channel

1.3 Calendar Synchronization​

Purpose: Sync availability, minimum stay, and changeover days.

Frequency:

  • At least every 24 hours
  • After an availability, min-stay, or changeover LNM notification

Use Pull_ListPropertyAvailabilityCalendar_RQ and request a manageable date range (typically 1–12 months):

<Pull_ListPropertyAvailabilityCalendar_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
<PropertyID>G-5f8a3c2b1e9d4a07</PropertyID>
<DateFrom>2026-09-01</DateFrom>
<DateTo>2027-03-01</DateTo>
</Pull_ListPropertyAvailabilityCalendar_RQ>

Process each returned PropertyCalendar/CalDay using its Date, Units, IsBlocked, MinStay, MaxStay, and Changeover values.

Critical

Always pull calendar data before showing availability to guests and before accepting bookings.


1.4 Pricing Synchronization​

Purpose: Sync base rates and discounts. Fees and taxes are not in the price list — they come from property content and from the pre-booking quote.

Frequency:

  • At least every 24 hours
  • After a price LNM notification
Study Pricing Logic

Pull_ListPropertyPrices_RQ returns base rates only (seasonal, extra guest, LOS, occupancy, or Full Stay Pricing, depending on source and PricingModelMode). Guesty properties return seasonal Price and Extra only.

Pull_ListPropertyDiscounts_RQ returns length-of-stay and last-minute discounts. It does not accept a date range on the request.

Before any booking, get the final total from Pull_GetPropertyAvbPrice_RQ.

Retrieve base prices for a date range:

<Pull_ListPropertyPrices_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
<PropertyID>2209989</PropertyID>
<DateFrom>2026-09-01</DateFrom>
<DateTo>2027-03-01</DateTo>
<PricingModelMode>2</PricingModelMode>
</Pull_ListPropertyPrices_RQ>

Retrieve discounts separately:

<Pull_ListPropertyDiscounts_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
<PropertyID>G-5f8a3c2b1e9d4a07</PropertyID>
</Pull_ListPropertyDiscounts_RQ>

1.5 Update External Listing Status​

Purpose: Inform property managers about listing status on your platform.

Frequency:

  • After processing each property
  • When status changes
Mandatory

Required for certification. Property managers must know their listing status.

Use Push_PutPropertyExternalListing_RQ with a numeric status from Pull_ListPropExtStatuses_RQ:

<Push_PutPropertyExternalListing_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
<Properties>
<Property ID="G-5f8a3c2b1e9d4a07">
<Url>https://yoursaleschannel.com/properties/G-5f8a3c2b1e9d4a07</Url>
<Status>1</Status>
<Description>Property successfully published</Description>
</Property>
</Properties>
</Push_PutPropertyExternalListing_RQ>

Status Examples:

  • ✅ "Published - Live at [URL]"
  • ❌ "Missing required amenities"
  • ❌ "Insufficient photos (minimum 5)"
  • ❌ "Description too short"
  • ❌ "No availability configured"

Part 2: Delta Sync (Event-Driven Updates)​

Delta sync uses the Live Notification Mechanism (LNM) to tell your channel that property content, availability, or pricing changed. Certification requires you to subscribe to and handle the property, availability, and price notifications. Subscribe to every change type returned by List Change Types so min-stay and changeover updates are covered as well.

2.1 Configure subscriptions​

  1. Retrieve valid values with List Change Types.
  2. Register your URL, owners, and change types with Register or Update Subscriptions.
  3. Verify the saved configuration with List Subscriptions.

Updating subscriptions replaces the previous set; send the complete desired set each time.

2.2 Receive property notifications​

Property LNM notifications are HTTP GET requests to your configured UrlBase. The query string identifies the changed property, change type, and—where applicable—the affected date range. It does not contain the changed values.

Use the notification to call the relevant pull method:

Change typeFollow-up
PropertyStaticDetailsPull_ListSpecProp_RQ
PropertyAvailabilityPull_ListPropertyAvailabilityCalendar_RQ
PropertyPricePull_ListPropertyPrices_RQ and Pull_ListPropertyDiscounts_RQ
PropertyMinStay or PropertyChangeoverPull_ListPropertyAvailabilityCalendar_RQ
Delivery is not a synchronization guarantee

Do not rely on LNM alone. Keep the scheduled full sync described above — webhook delivery is not monitored or logged.

2.3 Process callbacks​

Validate the query parameters, deduplicate notifications by ChangeId, queue the follow-up pull, and return promptly. No XML body or acknowledgement API call is required for property LNM callbacks.


Part 3: Booking Management (Synchronous)​

All booking operations must be performed synchronously with proper validation.

3.1 Pre-Booking Price Quote (REQUIRED)​

Before accepting any booking, always:

  1. Verify availability
  2. Get accurate price quote
  3. Validate stay is possible

Use Pull_GetPropertyAvbPrice_RQ. NOP is the total number of guests (optional; if omitted, the response can include a price per occupancy):

<Pull_GetPropertyAvbPrice_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
<PropertyID>G-5f8a3c2b1e9d4a07</PropertyID>
<DateFrom>2026-10-10</DateFrom>
<DateTo>2026-10-13</DateTo>
<NOP>3</NOP>
</Pull_GetPropertyAvbPrice_RQ>

Check Status@ID (0 is success) and the returned PropertyPrices. An empty price list means the stay is not bookable. Minimum-stay and changeover restrictions come from the property availability calendar, not this quote response.

Critical

NEVER accept a booking without getting a fresh price quote. Prices and availability change frequently.


3.2 Create Confirmed Reservation​

After successful payment and price validation:

Use Push_PutConfirmedReservationMulti_RQ and store the returned ReservationID:

<Push_PutConfirmedReservationMulti_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
<Reservation>
<StayInfos>
<StayInfo>
<PropertyID>G-5f8a3c2b1e9d4a07</PropertyID>
<DateFrom>2026-10-10</DateFrom>
<DateTo>2026-10-13</DateTo>
<NumberOfGuests>3</NumberOfGuests>
<Costs>
<RUPrice>360.00</RUPrice>
<ClientPrice>390.00</ClientPrice>
<AlreadyPaid>390.00</AlreadyPaid>
</Costs>
</StayInfo>
</StayInfos>
<CustomerInfo>
<Name>Alex</Name>
<SurName>Smith</SurName>
<Email>alex.smith@example.com</Email>
</CustomerInfo>
</Reservation>
</Push_PutConfirmedReservationMulti_RQ>

3.3 Modify Reservation​

Use Push_ModifyStay_RQ. Quote the new stay first, then send the currently booked stay in Current and the requested changes in Modify:

<Push_ModifyStay_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
<ReservationID>123456</ReservationID>
<Current>
<PropertyID>2209989</PropertyID>
<DateFrom>2026-10-10</DateFrom>
<DateTo>2026-10-13</DateTo>
</Current>
<Modify>
<DateFrom>2026-10-11</DateFrom>
<DateTo>2026-10-14</DateTo>
<NumberOfGuests>3</NumberOfGuests>
</Modify>
</Push_ModifyStay_RQ>

3.4 Cancel Reservation​

Use Push_CancelReservation_RQ. CancelTypeID identifies whether the cancellation comes from the property provider (1) or guest (2):

<Push_CancelReservation_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
<ReservationID>123456</ReservationID>
<CancelTypeID>2</CancelTypeID>
</Push_CancelReservation_RQ>

3.5 Create Unconfirmed Reservation (Request/Lead)​

Optional request-to-book flow. For booking requests that need owner approval, use Push_PutUnconfirmedReservation_RQ. This operation does not validate price, availability, or minimum stay before creating the request. Store the returned ReservationID.

Rentals United requests only

This operation is routed to Rentals United. It is not available for Guesty reservations.

<Push_PutUnconfirmedReservation_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
<Reservation>
<StayInfos>
<StayInfo>
<PropertyID>2209989</PropertyID>
<DateFrom>2026-10-10</DateFrom>
<DateTo>2026-10-13</DateTo>
<NumberOfGuests>3</NumberOfGuests>
<Costs>
<RUPrice>360.00</RUPrice>
<ClientPrice>390.00</ClientPrice>
<AlreadyPaid>0.00</AlreadyPaid>
</Costs>
</StayInfo>
</StayInfos>
<CustomerInfo>
<Name>Alex</Name>
<SurName>Smith</SurName>
<Email>alex.smith@example.com</Email>
</CustomerInfo>
</Reservation>
</Push_PutUnconfirmedReservation_RQ>

3.6 Confirm Booking Request​

When the property manager approves a request, confirm it with Push_PutConfirmedReservationMulti_RQ and include the existing unconfirmed ReservationID plus the complete, current reservation details. Agree any non-default QuoteModeId with DH API Support before using it.

Rentals United requests only

This operation is routed to Rentals United. It is not available for Guesty reservations.

<Push_PutConfirmedReservationMulti_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
<Reservation>
<ReservationID>123456</ReservationID>
<StayInfos>
<StayInfo>
<PropertyID>2209989</PropertyID>
<DateFrom>2026-10-10</DateFrom>
<DateTo>2026-10-13</DateTo>
<NumberOfGuests>3</NumberOfGuests>
<Costs>
<RUPrice>360.00</RUPrice>
<ClientPrice>390.00</ClientPrice>
<AlreadyPaid>0.00</AlreadyPaid>
</Costs>
</StayInfo>
</StayInfos>
<CustomerInfo>
<Name>Alex</Name>
<SurName>Smith</SurName>
<Email>alex.smith@example.com</Email>
</CustomerInfo>
</Reservation>
</Push_PutConfirmedReservationMulti_RQ>

3.7 Expire a Booking Request​

If the property manager does not act within your request-to-book response window, use Push_MarkRequestAsExpired_RQ to close the unconfirmed request.

Rentals United requests only

This operation is routed to Rentals United. It is not available for Guesty reservations.

<Push_MarkRequestAsExpired_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
<ReservationID>123456</ReservationID>
</Push_MarkRequestAsExpired_RQ>

Logging, errors, and rate limits​

Do not duplicate those topics here:


Implementation Checklist​

Phase 1: Foundation​

Phase 2: Dictionary Sync​

  • Implement every dictionary marked M in the API overview
  • Map dictionary values to your platform
  • Schedule a long-lived refresh job

Phase 3: Property Sync​

  • Owner iteration (Pull_ListAllOwners → Pull_ListOwnerProp)
  • Property details, calendar, prices, and discounts
  • External listing status updates
  • Daily (24-hour) sync job

Phase 4: Live Notifications​

  • Notification endpoint and queue
  • Subscribe to all change types from List Change Types
  • Handlers for static details, availability, price, min stay, and changeover
  • Monitoring for callback processing delay

Phase 5: Booking Integration​

  • Fresh price quote before create and modify
  • Confirmed create, modify, and cancel
  • Request-to-book flow if you support it (create, confirm, expire — Rentals United only)

Phase 6: Testing & Certification​

Work through the Certification checklist with DH API Support, including a test property, source-side content/price changes, and a test reservation.


Performance Considerations​

Batch Processing​

Process properties in bounded batches:

  • Limit concurrency so you stay inside the rate limits (general cap: 20 concurrent requests).
  • Store progress so a failed job can resume from the last completed owner or property.
  • After status -5 or -6, reduce concurrency and retry as described in Rate Limiting.

Caching Strategy​

LNM updates cached data; it does not replace the 24-hour full sync.

Data TypeKeep untilAlso refresh
DictionariesScheduled refresh (for example 90 days)DH request
Property detailsPropertyStaticDetails LNMEvery 24 hours
Availability and restrictionsAvailability / min-stay / changeover LNMEvery 24 hours
Base prices and discountsPropertyPrice LNMEvery 24 hours
Pre-booking quotesDo not reuse for createCall Pull_GetPropertyAvbPrice immediately before booking

Monitoring​

Watch these operational signals (alert thresholds are yours to set):

  • API calls per minute and response-time percentiles
  • HTTP errors and non-zero XML Status@ID rates
  • Failed synchronization jobs
  • LNM processing delay
  • Booking and price-quote failures

Support & Resources​

When contacting API Support (apisupport@rentalsunited.com), include:

  1. Request and response XML
  2. Timestamp
  3. Property ID or Reservation ID
  4. Environment (sandbox or production)

Common Issues​

IssueCauseSolution
401 UnauthorizedInvalid API keySee Authentication
Property not foundProperty disconnectedRemove from the sales channel
Price mismatchQuote expiredGet a fresh Pull_GetPropertyAvbPrice quote
Booking rejectedNot availableRe-check calendar and quote before booking
LNM not receivedSubscription issueRe-register with Put Subscriptions and keep full sync

Next Steps​

  1. Authentication
  2. API reference
  3. Build Phases 1–5 above
  4. Schedule certification
Questions?

Contact Distribution Hub Partnership Team for integration support and certification scheduling.