Overview
Pricing Files belong to the Load phase: once the Hotels, Rates, and Rooms are created in Inventory, pricing files load the price logic into those Rates for a given date range and commercial logic.
This section includes the main pricing models supported by Travelgate's Rules File integration.
Standard Rate Loading vs LOS Pricingβ
When loading prices and conditions into a Rate, it is important to differentiate between two integration types:
- Standard Rate Loading: a rate will have different sets of conditions, but a rate can only have one type of pricing structure per day.
- LOS (Length of Stay) Pricing: some suppliers work with LOS Pricing. This means that for a single day, you can have multiple different prices depending on the
minLengthOfStay,maxLengthOfStay, ordurationDays.
LOS parameters are optional. If your business doesn't work with them, leave them blank.
For a full breakdown of the supported pricing types in the Inventory Push GraphQL API, check:
Included file typesβ
Only use the pricing model that matches your business model β each of the four pricing files is an alternative, not a mandatory set. The Restrictions file applies regardless of the pricing model you choose.
How these files workβ
Each pricing file is attached to a hotel, rate, and room definition and adds a specific commercial calculation model. Depending on the Seller's business logic, Travelgate can use:
- a fixed room price
- a standard-occupancy price
- exact occupancy pricing
- age-based pricing
Restrictions File
The Restrictions file is used to set Stop Sales, booking limits, and stay restrictions. It defines when a room or rate can or cannot be sold, controlling the operational conditions applied during a date range.
Prices per Room File
The Prices per Room file assigns a base amount for the room, and adds supplements dynamically for each extra passenger based on their position (e.g., the 1st extra adult pays X, the 2nd extra adult pays Y).
Prices per Standard Occupancy File
This file assigns a base amount matching the standardOccupancy value of the Room Master, and adds supplements for any extra passenger exceeding that standard capacity.
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.
Prices by Age Range File
In the Prices by Age Range file, each guest is priced according to the age bracket they fall into, using the format AgeFrom-AgeTo,Amount,Type. This is especially useful for family or child-inclusive rate structures.