Skip to main content

Offers

The Offers file is designed to facilitate the setup of offers within the Inventory platform. It's necessary for managing offer-specific data and relate to the rates created previously.

File Name Format​

The file name format for the Offer Setup is as follows: clientCode-providerCode-HotelCode#ContextCode-offers.csv.

If you have any questions about how to add the requested information to create the file name, you can consult the following link:
Importance of the file name for Travelgate's FTP uploads

Offer​

ElementMandatoryDescription
Rate Code1Unique identifier that associate this offer to a unique rate code.
Offer Code1Unique identifier for this offer.
Offer Description1Name for this offer.
Is Active1Indicate if the offer is active or not. Example: (0 - False (offer not active)) or (1 - True (offer active)).
Offer Type1Indicate the type of the offer. Accepted values: First, Last, Cheapest (you can also use the numeric equivalents: 0, 1, 2).
Mon0Indicate if the offer is applied on Mondays. Example: (0 - False (not apply on Mondays)) or (1 - True (apply on Mondays)). If left empty, defaults to True.
Tue0Indicate if the offer is applied on Tuesdays. Example: (0 - False (not apply on Tuesdays)) or (1 - True (apply on Tuesdays)). If left empty, defaults to True.
Wed0Indicate if the offer is applied on Wednesdays. Example: (0 - False (not apply on Wednesdays)) or (1 - True (apply on Wednesdays)). If left empty, defaults to True.
Thu0Indicate if the offer is applied on Thursdays. Example: (0 - False (not apply on Thursdays)) or (1 - True (apply on Thursdays)). If left empty, defaults to True.
Fri0Indicate if the offer is applied on Fridays. Example: (0 - False (not apply on Fridays)) or (1 - True (apply on Fridays)). If left empty, defaults to True.
Sat0Indicate if the offer is applied on Saturdays. Example: (0 - False (not apply on Saturdays)) or (1 - True (apply on Saturdays)). If left empty, defaults to True.
Sun0Indicate if the offer is applied on Sundays. Example: (0 - False (not apply on Sundays)) or (1 - True (apply on Sundays)). If left empty, defaults to True.
Apply From1Indicate the starting date to apply for this offer. Format date: dd/MM/yyyy.
Apply To1Indicate the ending date to apply for this offer. Format date: dd/MM/yyyy.
MinLOS1Indicate the minimum number of days of stay to apply this offer. (Number)
MaxLOS1Indicate the maximum number of days of stay to apply this offer. (Number)
Number Of Nights1Indicate how many nights the offer applies. (Number)
Room Codes1List of Room Codes where the offer applies and separated by pipes (
caution

Each row in the offers CSV file must contain exactly 18 columns separated by semicolons. Missing columns will result in a parsing error.

Apply the offer every day of the week

If you want the offer to apply on every day of the week, you can leave all seven day columns (Mon through Sun) empty. Empty day columns are interpreted as True (the offer applies that day).

CSV Format Example for Channel Managers​

Rate Code;Offer Code;Offer Description;Is Active;Offer Type;Mon;Tue;Wed;Thu;Fri;Sat;Sun;Apply From;Apply To;MinLOS;MaxLOS;Number Of Nights;Room Codes
"123RATE_TEST";"Test_offer";"free test";"1";"First";"1";"1";"1";"1";"1";"1";"1";"20/05/2024";"25/05/2024";"2";"6";"5";"DBLSTD"

This file provides an overview of the CSV setup files that are used to set up offers in the inventory. Users should familiarize themselves with these files to effectively manage these data.