Skip to main content

Prices per Occupancy File

The Prices per Occupancy file assigns an exact amount depending on the specific combination of Adults-Children-Infants. This is a highly granular pricing model where each occupancy combination has its own price.

Purpose​

This file is useful when the Seller prices the stay depending on combinations such as:

  • 1-0-0
  • 2-0-0
  • 2-1-0

Example​

Download the example Prices per Occupancy file (CSV)

Field definitions​

FieldTypeDescription
hotelCodeStringHotel identifier.
rateCodeStringRate plan.
priceCurrencyStringCurrency used.
roomCodeStringRoom type.
startDateDateStart date of the price validity period.
endDateDateEnd date of the price validity period.
minLengthOfStayIntegerMinimum LOS condition.
maxLengthOfStayIntegerMaximum LOS condition.
durationDaysIntegerDuration of the rule.
pricesByOccupancyStringOccupancy-price pairs in the format Occupancy,Amount separated by `

Understanding complex fields​

Because CSVs are flat, we use specific delimiters (, and |) to send lists inside a single cell.

pricesByOccupancy​

List of objects β€” separate different occupancy combinations with a pipe |.

  • Format: Adults-Children-Infants,Amount | Adults-Children-Infants,Amount...
  • Example: 1-0-0,100.00|2-0-0,150.00|2-1-0,180.00
  • Meaning: one adult = 100.00, two adults = 150.00, two adults and one child = 180.00.

Notes​

This is one of the most precise pricing methods because it calculates the total price according to the exact occupancy combination.