Skip Navigation

Product Seasons

Product Seasons are date ranges for pricing that are created at the product level instead of the rate plan level.

Note: Derived rates are not supported.


Retrieve Product Seasons

Retrive Product Season for a specified hotel


Method/Endpoint

Method Endpoint
GET https://[environment]/v1/api/admin/hotel/{id}/product/season/


Parameter List

Parameter Description Type
id Unique number identifies a specific hotel in SynXis. Integer
channels SynXis CR code for a reservation channel String
isActive If true, indicates that the search should only return active seasons. Boolean
rateCode Rate code associated with the product String
roomCode Room code associated with the product String
startDate Start date for the season (format yyyy-mm-dd) String
endDate End date for the season (format yyyy-mm-dd) String
pageStart Starting record to be returned in the response. Integer
pageSize Number of records to be returned in the response. Integer
sort Specifies how the search results should be sorted.
Values: StartDate, -StartDate
String


Sample Request

GET /v1/api/admin/hotel/13098/product/season/?rateCode=50PCTDISC&roomCode=SUPT

Sample Response

{
    "Paging": {
        "Size": 1,
        "Start": 0,
        "Total": 1
    },
    "SeasonList": [
        {
            "Pricing": {
                "Offsets": {
                    "DowList": [
                        {
                            "Price": {
                                "Amount": 46.0,
                                "Factor": "Amount"
                            },
                            "DayOfWeek": "M"
                        }
                    ],
                    "MealPlanList": [
                        {
                            "DayOfWeek": "M",
                            "Code": "Breakfast"
                        }
                    ],
                    "LosList": [
                        {
                            "Price": {
                                "Amount": 40.0,
                                "Factor": "Amount"
                            },
                            "Start": 5,
                            "End": 10
                        }
                    ],
                    "OccupancyList": [
                        {
                            "Price": {
                                "Amount": 11.0,
                                "Factor": "Amount"
                            },
                            "AgeQualification": "Adult",
                            "DayOfWeek": "M",
                            "NumberOfOccupants": "1"
                        },
                        {
                            "Price": {
                                "Amount": 12.0,
                                "Factor": "Amount"
                            },
                            "AgeQualification": "Child",
                            "DayOfWeek": "M",
                            "NumberOfOccupants": "1"
                        }
                    ],
                    "ShoulderList": [
                        {
                            "Price": {
                                "Amount": 10.0,
                                "Factor": "Amount"
                            },
                            "Type": "PreStay",
                            "Days": 5
                        },
                        {
                            "Price": {
                                "Amount": 20.0,
                                "Factor": "Amount"
                            },
                            "Type": "PostStay",
                            "Days": 10
                        }
                    ]
                },
                "Base": {
                    "Amount": 450.0
                }
            },
            "Name": "ProductSeason4",
            "Criteria": {
                "RateCode": "50PCTDISC",
                "RoomCode": "SUPT",
                "StartDate": "2023-11-20T00:00:00",
                "EndDate": "2023-11-29T00:00:00"
            }
        }
    ]
}


Create or Update Product Seasons

Create or Update Product Seasons for a specified hotel


Method/Endpoint

Method Endpoint
POST https://[environment]/v1/api/admin/hotel/{id}/product/season/


Parameter List

Parameter Description Type
id Unique number identifies a specific hotel in SynXis. Integer
criteria/rateCode Rate code associated with the product String
criteria/roomCode Room code associated with the product String
criteria/startDate Start date for the season (format yyyy-mm-dd) String
criteria/endDate End date for the season (format yyyy-mm-dd) String
name Name of the product season. String
cutoffDate Date that indicates the last day that the customer can book reservations through the Group Block. On the date entered in this field, the system releases all unreserved inventory back into general inventory. For example, if 10 rooms are allocated to the block, and only six of the rooms are booked, the remaining four rooms are placed back into general inventory at midnight on the Cutoff Date (format yyyy-mm-dd). String
cutoffDays Number of Days prior to each day in the season (Block date range) the unused committed inventory is to be returned to general inventory on a rolling daily basis. For example, if rooms are allocated for 2020-12-19 to 2020-12-31, and a cutoff day of 3 is entered, then the room inventory for 2020-12-19 is released on 2020-12-16, and the room inventory for 2020-12-20 is released on 2020-12-17, and so on. Integer
pricing/base/@amount Base price of the product season. Number
pricing/base/@taxesFeesIncluded If true, indicates that taxes are included in the price. Boolean
pricing/base/@points Base number of points required for the product season. Integer
pricing/offsets/dowList/@dayOfWeek Days of the week.
Values: M, Tu, W, Th, F, Sa, Su
String
pricing/offsets/dowList/price/@amount Amount of the price offset. Number
pricing/offsets/dowList/price/@points Number of points required. Integer
pricing/offsets/dowList/price/@factor Indicates if the amount is a percentage of amount.
Values: Amount, Percentage
String
pricing/offsets/occupancyList/@ageQualification Code that determines the type of guest.
Values: Adult, Child
String
pricing/offsets/occupancyList/@ageRange Child age range offset. String
pricing/offsets/occupancyList/@dayOfWeek Days of the week.
Values: M, Tu, W, Th, F, Sa, Su
String
pricing/offsets/occupancyList/@numberOfOccupants Number of occupants
Values: 1, 2, 3, 4, 5, Extra
String
pricing/offsets/occupancyList/price/@amount Amount of the price offset. Number
pricing/offsets/occupancyList/price/@points Number of points required. Integer
pricing/offsets/occupancyList/price/@factor Indicates if the amount is a percentage of amount.
Values: Amount, Percentage
String
pricing/offsets/losList/@start Start length of stay for the offset. Integer
pricing/offsets/losList/@end End length of stay for the offset. Integer
pricing/offsets/losList/price/@amount Amount of the price offset. Number
pricing/offsets/losList/price/@points Number of points required. Integer
pricing/offsets/losList/price/@factor Indicates if the amount is a percentage of amount.
Values: Amount, Percentage
String
pricing/offsets/mealPlanList/@dayOfWeek Days of the week.
Values: M, Tu, W, Th, F, Sa, Su
String
pricing/offsets/mealPlanList/@code Meal plan associated to the season. String
pricing/offsets/ShoulderList/@type Code that determines the type of guest.
Values: Adult, Child
String
pricing/offsets/ShoulderList/@days Offset days for the shoulder. Integer
pricing/offsets/ShoulderList/price/@amount Amount of the price offset. Number
pricing/offsets/ShoulderList/price/@points Number of points required. Integer
pricing/offsets/ShoulderList/price/@factor Indicates if the amount is a percentage of amount.
Values: Amount, Percentage
String


Sample Request

{
    "seasons": [
        {
            "criteria": {
                "rateCode": "50PCTDISC",
                "roomCode": "SUPT",
                "startDate": "2023-11-20",
                "endDate": "2023-11-29"
            },
            "name": "ProductSeason",
            "cutOffDays": 3,
            "pricing": {
                "base": {
                    "amount": 450
                },
                "offsets": {
                    "dowList": [
                        {
                            "dayOfWeek": "M",
                            "price": {
                                "amount": 46,
                                "factor": "Amount"
                            }
                        }
                    ],
                    "occupancyList": [
                        {
                            "ageQualification": "Adult",
                            "dayOfWeek": "M",
                            "numberOfOccupants": 1,
                            "price": {
                                "amount": 11,
                                "factor": "Amount"
                            }
                        },
                        {
                            "ageQualification": "Child",
                            "dayOfWeek": "M",
                            "numberOfOccupants": 1,
                            "price": {
                                "amount": 12,
                                "factor": "Amount"
                            }
                        }
                    ],
                    "losList": [
                        {
                            "start": 5,
                            "end": 10,
                            "price": {
                                "amount": 40,
                                "factor": "Amount"
                            }
                        }
                    ],
                    "mealPlanList": [
                        {
                            "dayOfWeek": "M",
                            "code": "Breakfast"
                        }
                    ],
                    "ShoulderList": [
                        {
                            "type": "PreStay",
                            "days": 5,
                            "price": {
                                "amount": 10,
                                "factor": "Amount"
                            }
                        },
                        {
                            "type": "PostStay",
                            "days": 10,
                            "price": {
                                "amount": 20,
                                "factor": "Amount"
                            }
                        }
                    ]
                }
            }
        }
    ]
}


Delete Product Seasons

Delete Product Seasons for a specified hotel


Method/Endpoint

Method Endpoint
DELETE https://[environment]/v1/api/admin/hotel/{id}/product/season/


Parameter List

Parameter Description Type
id Unique number identifies a specific hotel in SynXis. Integer
criteria/rateCode Rate code associated with the product String
criteria/roomCode Room code associated with the product String
criteria/startDate Start date for the season (format yyyy-mm-dd) String
criteria/endDate End date for the season (format yyyy-mm-dd) String


Sample Request

{
    "criteria": {
        "rateCode": "50PCTDISC",
        "roomCode": "SUPT",
        "startDate": "2023-03-24",
        "endDate": "2023-03-29"
    }
}