Retrieve Promotion Types API
Retrieves all available promotion types and their applicable discount ranges and target channels for a property.
Endpoint
POST
https://connect.su-api.com/SUAPI/jservice/bdc/promotion/retrieveTypes Attributes
hotel_id string (Required)
Specifies the required node hotelid contains the IT provider's hotel id for which the provider wishes to retrieve promotion types.
channel_hotel_id string (Required)
Specifies the unique hotel ID used in the external distribution channel or PMS (Property Management System).
Sample Request
{
"hotel_id": "AWSTEST",
"channel_hotel_id": "13130616"
}Response
Success Response - Body Elements
Status string
Indicates the result of the API call.
Will be "Success" for successful operations.
Message string
A message receives within the response body. This will generally be an empty string if no additional information is needed.
Ruid string
Specifies the unique request ID.
Data object
An object containing data related to the successful promotion creation. This typically includes identifiers for the created promotions.
mobile_rate object
Defines promotions applicable to mobile users.
discount array[object]
List of discounts for mobile rates.
min integer
Minimum discount value allowed.
max integer
Maximum discount value allowed.
target_channel string
The applicable channel, if any.
basic object
Standard promotion type available across general distribution channels.
discount array[object]
List of discounts for basic promotions.
min integer
Minimum discount value allowed.
max integer
Maximum discount value allowed.
target_channel string
Channel this discount applies to (PUBLIC / SECRET).
target_channels array[object]
All possible target channels for the promotion type.
id string
Identifier of the target channel.
name string
Display name of the target channel.
campaign_getaway object
Represents limited-time promotional campaigns (e.g., seasonal or themed offers).
discount array[object]
Discount ranges for the campaign.
stay_date object
Valid stay date range.
start date (YYYY-MM-DD)
Start date of stay eligibility.
end date (YYYY-MM-DD)
End date of stay eligibility.
book_date object
Valid booking date range.
start date (YYYY-MM-DD)
Start date when promotion can be booked.
end date (YYYY-MM-DD)
End date when promotion can be booked.
early_booker object
Promotions intended for guests booking in advance.
discount array[object]
Discount ranges for early booking.
target_channels array[object]
Available channels.
geo_rate object
Location-based promotions targeted at users from specific countries or regions.
discount array[object]
Discount for geo location.
target_channels array[object]
Country-specific channels.
id string
Country POS identifier.
name string
Country name.
campaign_early_year object
Campaign-specific promotion typically applicable at the beginning of the year.
discount array[object]
Discount for early year campaign.
stay_date object
Valid stay date range.
book_date object
Valid booking date range.
last_minute object
Promotions designed for last-minute bookings.
discount array[object]
Discount ranges by channel.
min integer
Minimum discount percentage.
max integer
Maximum discount percentage.
target_channel string
Channel (PUBLIC or SECRET).
target_channels array[object]
Country-specific channels.
id string
Country POS identifier.
name string
Country name.
Errors Response - Body Elements
Errors Response - Body Elements
Status string
Indicates the result of the API call.
"Fail" – The request was not processed successfully due to validation errors or other issues.
Errors array[object]
A list of error objects providing detailed information about one or more issues encountered during request processing. This field may be empty if the error is conveyed through the Message field.
Code string
A unique error code representing the specific type of validation or processing error.
ShortText string
A brief, human-readable description of the error. Typically explains what went wrong and may include accepted values or constraints.
Message string
A descriptive error message summarizing the failure.
Ruid string
A unique request identifier generated for tracking and debugging purposes. This value should be provided when contacting support for issue investigation.
Last updated
Was this helpful?