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-02-0-02-1-0
Exampleβ
Download the example Prices per Occupancy file (CSV)
Field definitionsβ
| Field | Type | Description |
|---|---|---|
hotelCode | String | Hotel identifier. |
rateCode | String | Rate plan. |
priceCurrency | String | Currency used. |
roomCode | String | Room type. |
startDate | Date | Start date of the price validity period. |
endDate | Date | End date of the price validity period. |
minLengthOfStay | Integer | Minimum LOS condition. |
maxLengthOfStay | Integer | Maximum LOS condition. |
durationDays | Integer | Duration of the rule. |
pricesByOccupancy | String | Occupancy-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.