Retrieving promotion channels
Booking.com has sunset Business booker rates since September 16, 2022 and is therefore no longer usable.
Use this endpoint to retrieve promotion channels by ID. The response includes a list of all available channels for that promotion.
If you have already activated a property's promotion channel or if the property is not eligible, the getpromotionchannels
endpoint returns an empty response.
URL
POST
https://supply-xml.booking.com/hotels/xml/getpromotionchannels
Sample request for Geo rate
<request>
<hotel_id>2773157</hotel_id>
<type>geo_rate</type>
</request>
Request body
Field | Description | Type | Occurrences | Notes |
---|---|---|---|---|
request | Root element. | object | 1..1 | - |
hotel_id | The ID of the property for which you want to retrieve available promotion channels. | integer | 1..1 | - |
type | Specifies a promotion type for which to filter the available channels. | string | 0..1 | - |
Sample response for Geo Rate
This example contains all possible fields that can be included in the response.
<promotionchannels>
<promotionchannel id="thailand_pos" name="Thailand"/>
<promotionchannel id="colombia_pos" name="Columbia"/>
<promotionchannel id="kuwait_pos" name="Kuwait"/>
<promotionchannel id="eu_pos" name="Europe"/>
<promotionchannel id="switzerland_pos" name="Switzerland"/>
</promotionchannels>
<!-- RUID: [...] -->
Response body
This table gives more details about some of the fields in the response.
Not all fields are relevant for all response types. A value of -1
indicates that the current field is not relevant for the current response type.
Element | Attribute | Description | Type | Notes |
---|---|---|---|---|
promotionchannels | Root element. | array of promotionchannel | ||
promotionchannel | Promotion channel details. | object | ||
id | Promotion channel ID. | string | ||
name | Name of the promotion channel. | string |
Errors
For a complete list of error codes and possible solutions, see Troubleshooting and list of error codes.