Skip to main content

Direct Legacy Channel Opening

To open a legacy direct channel (channel_type=cms) such as Booking.com, Agoda, Expedia, or Trip.com, configure the channel and map the property, room types, and rate plans.

Branching before mapping​

Check requires_cms_authorization in the channel metadata to see whether to look up the property on the channel or complete OAuth authorization first.

requires_cms_authorizationStep before mappingExample channels
falseLook up the property on the channel side — GET /gds/vendor/channels/{channel_id}/properties/{channel_property_id}Booking.com, Agoda, Expedia, Trip.com
trueOAuth authorization — GET /gds/vendor/channels/{channel_id}/authorization; see Airbnb Authorization for the implementationAirbnb

Step by step​

  1. Discover channels — GET /gds/vendor/channels
  2. Submit an ON request — POST .../channels/{channel_id} with { "request_type": "on" }
  3. Pre-mapping step — look up the channel-side property, or run OAuth authorization, per the branch table above
  4. Per-channel settings — PATCH .../channels/{channel_id}/settings (RFC 7396 Merge Patch)
  5. Mapping — PATCH .../mappings (property → room type → rate plan)
  6. Push rates and business days — POST .../ari (type: overnight)
  7. Push availability — POST .../ari/avails

Checklist​

  • Check requires_cms_authorization and complete the property lookup or OAuth authorization that the channel requires.
  • Find the channel_roomtype_id and channel_rateplan_id values you need in the property's channel data.
  • Complete property → room type → rate plan mapping
  • For Airbnb rate plan mappings, set channel_rateplan_id to 0.
  • After submitting the request, handle it according to processing_mode (auto_approve or external_review).
  • Push rates and business days with POST .../ari (type: overnight)
  • Push availability with POST .../ari/avails (consolidated per room type, up to 730 days)
  • Availability is room-only (per room type) — send package availability aligned to standalone
Airbnb rate plan mapping

Airbnb does not use rate plans. Set channel_rateplan_id to 0 in the rate plan mapping request.

Opening request body​

{
"request_type": "on",
"channel_property_id": "CP-001",
"note": "Opening request agreed with the channel manager."
}
FieldDescription
request_typeon to open, off to stop
channel_property_idChannel-side property ID (optional). Can be sent when requesting a processing_mode=external_review channel such as Booking.com. Allowed only with request_type: "on"; sending it with off returns 400. If another property already uses the ID on the same channel, it returns 409. When submitted, it is applied to the property mapping at request time.
noteRequester's note (optional, up to 16,000 characters). Allowed on both on and off; use it for information the operator should see.

Extra occupancy charges per channel​

Use the channel settings endpoint to update channel options. The endpoint follows RFC 7396 Merge Patch. Support for extra occupancy charges and the steps to set them vary by channel.

ChannelExtra occupancy chargeHow it is configured
ExpediaNot supported—
Booking.comNot supported—
Trip.comSupportedpricing_model in the property-level settings — OBP (occupancy based) or Standard (per room). With OBP, the property's settings.extra_adult_price is included in the rate.
AgodaSupportedRates are sent per occupancy (occupancy based). Amounts for occupancy above the standard are sent to the channel, including the property's settings.extra_adult_price.
AirbnbSupportedThe property's settings.extra_adult_price is applied automatically when configured per room.
warning

Room-level channel settings (.../roomtypes/{vendor_roomtype_id}/channels/{channel_id}/settings) are Airbnb only. Calling them for another channel returns an error.

Parent rate plans (channel_parent_rateplan_id)​

Find the parent rate plan ID in the rateplans object returned by GET /gds/vendor/channels/{channel_id}/properties/{channel_property_id}.

  • You can map this rate plan. ONDA does not forward rates you send for it to the channel.
  • The channel's rate follows the parent rate plan identified by channel_parent_rateplan_id.
  • Supported on Booking.com and Agoda

Opening conditions​

For legacy channels (Booking.com, Agoda, Expedia, Trip.com, and Airbnb), ONDA runs only the property checks marked as applicable in the table below. ONDA automatically rejects the request if any of those checks fails.

ScopeCheckApplied to legacy channels
PropertyDuplicate requestApplied
PropertySales statusApplied
PropertyDeletedApplied
PropertyProperty nameApplied
PropertyImages (at least 3)Not applied
PropertyAddressApplied
PropertyCategory (at least 1)Not applied
RoomSellable rooms · Room name · Room images · Bookable datesNot applied (all room checks)

For details on each check, see the Plus channel guide.

Endpoints​

All paths are prefixed with /gds/vendor.

Channel discovery and authorization

MethodPathDescription
GET/channelsChannel metadata
GET/properties/{vendor_property_id}/channelsChannels available for the property, with request status
GET/channels/{channel_id}/properties/{channel_property_id}Channel-side property info; the response includes channel_parent_rateplan_id
GET/channels/{channel_id}/authorizationOAuth authorization URL — only for channels with requires_cms_authorization=true (implementation guide)

Channel mapping

ScopeMethodPath
PropertyGET · PATCH/properties/{vendor_property_id}/channels/{channel_id}/mappings
Room typeGET · PATCH.../roomtypes/{vendor_roomtype_id}/channels/{channel_id}/mappings
Rate planGET · PATCH.../rateplans/{vendor_rateplan_id}/channels/{channel_id}/mappings

Opening requests

MethodPathDescription
POST/properties/{vendor_property_id}/channels/{channel_id}ON and OFF requests
GET/properties/{vendor_property_id}/channels/{channel_id}Request status and history