Skip to main content

Settings Object

Used by: search, quote, book, cancel
FieldTypeRequiredNotes
access.codenumberYesPartner connection code
access.userstringNoReserved
access.passwordstringNoReserved
access.apiKeystringNoReserved
access.urls.bookstringNoReserved
access.urls.searchstringNoReserved
access.urls.quotestringNoReserved
access.urls.genericstringNoReserved
access.parametersobjectNoReserved key-value map
businessRules.optionsQuotanumberNoSearch option cap (>=1)
businessRules.businessRuleTypestringNoCHEAPEST or DEFAULT
supplierstringNoReserved
platformstringNoReserved
clientstringNoReserved
timeoutstringNoUpstream timeout hint
includeProviderTransactionsbooleanNoReserved

Occupancy Object

Used by: search/quote/book
FieldTypeRequiredNotes
occupancyIdnumberNoOptional occupancy reference
paxes[]arrayYesGuest list
paxes[].agenumberYesGuest age
paxes[].nationalitystringNoNationality
paxes[].namestringNoBook API input only
paxes[].surNamestringNoBook API input only

Distribution Context Object

Top-level fields:
FieldTypeRequiredNotes
customer.deviceTypestringNo`DESKTOPMOBILETABLET`
customer.location.countryCodestringNoISO country code
customer.userGroupstringNo`SIGNED_INUNAUTHENTICATED`
customer.minCompletedStaysnumberNo>=0
customer.userAgentstringNoOptional
customer.ipAddressstringNoOptional
customer.sessionIDstringNoOptional
salesChannelstringNo`WEBAPPOFFLINE`
distributionModestringNo`CUSTOMERREDISTRIBUTION`
supportedVisibilityTypes[]string[]No`PUBLICPACKAGEOPAQUE_PROPERTY`

Rate Object (RateResponseDto)

Used in search/quote/book responses.
FieldTypeNotes
currencystringISO 4217
baseRatenumberBase amount
taxesAndFeesnumberTaxes/fees charged online
taxesAndFeesBreakDown[]array{ value, description }
chargeTotalnumberTotal charge amount
payAtPropertyFeenumberOptional pay-at-property amount
payAtPropertyBreakDown[]array{ value, description }

Cancellation Policy Object

FieldTypeNotes
refundableboolean/nullWhether refundable
cancelPenalties[]arrayOrdered penalty list
cancelPenalties[].penaltyTypestringUsually IMPORT after normalization
cancelPenalties[].currencystringPenalty currency
cancelPenalties[].deadlinestringISO datetime
cancelPenalties[].valuenumberPenalty amount

Enum Reference

Connection

  • apiType: public, b2b, cug, mobile
  • connectionType: direct, tgx, metasearch

User Role

  • admin
  • user

PaymentType (book/quote schema compatible)

  • LaterPay
  • MerchantPay
  • CardBookingPay
  • CardCheckInPay
  • PayX

Search Business Rule Type

  • CHEAPEST
  • DEFAULT