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_authorization | Step before mapping | Example channels |
|---|---|---|
false | Look up the property on the channel side — GET /gds/vendor/channels/{channel_id}/properties/{channel_property_id} | Booking.com, Agoda, Expedia, Trip.com |
true | OAuth authorization — GET /gds/vendor/channels/{channel_id}/authorization; see Airbnb Authorization for the implementation | Airbnb |
Step by step
- Discover channels —
GET /gds/vendor/channels - Submit an ON request —
POST .../channels/{channel_id}with{ "request_type": "on" } - Pre-mapping step — look up the channel-side property, or run OAuth authorization, per the branch table above
- Per-channel settings —
PATCH .../channels/{channel_id}/settings(RFC 7396 Merge Patch) - Mapping —
PATCH .../mappings(property → room type → rate plan) - Push rates and business days —
POST .../ari(type: overnight) - Push availability —
POST .../ari/avails
Checklist
- Check
requires_cms_authorizationand complete the property lookup or OAuth authorization that the channel requires. - Find the
channel_roomtype_idandchannel_rateplan_idvalues you need in the property's channel data. - Complete property → room type → rate plan mapping
- For Airbnb rate plan mappings, set
channel_rateplan_idto0. - After submitting the request, handle it according to
processing_mode(auto_approveorexternal_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
packageavailability aligned tostandalone
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."
}
| Field | Description |
|---|---|
request_type | on to open, off to stop |
channel_property_id | Channel-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. |
note | Requester'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.
| Channel | Extra occupancy charge | How it is configured |
|---|---|---|
| Expedia | Not supported | — |
| Booking.com | Not supported | — |
| Trip.com | Supported | pricing_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. |
| Agoda | Supported | Rates 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. |
| Airbnb | Supported | The property's settings.extra_adult_price is applied automatically when configured per room. |
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.
| Scope | Check | Applied to legacy channels |
|---|---|---|
| Property | Duplicate request | Applied |
| Property | Sales status | Applied |
| Property | Deleted | Applied |
| Property | Property name | Applied |
| Property | Images (at least 3) | Not applied |
| Property | Address | Applied |
| Property | Category (at least 1) | Not applied |
| Room | Sellable rooms · Room name · Room images · Bookable dates | Not 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
| Method | Path | Description |
|---|---|---|
GET | /channels | Channel metadata |
GET | /properties/{vendor_property_id}/channels | Channels 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}/authorization | OAuth authorization URL — only for channels with requires_cms_authorization=true (implementation guide) |
Channel mapping
| Scope | Method | Path |
|---|---|---|
| Property | GET · PATCH | /properties/{vendor_property_id}/channels/{channel_id}/mappings |
| Room type | GET · PATCH | .../roomtypes/{vendor_roomtype_id}/channels/{channel_id}/mappings |
| Rate plan | GET · PATCH | .../rateplans/{vendor_rateplan_id}/channels/{channel_id}/mappings |
Opening requests
| Method | Path | Description |
|---|---|---|
POST | /properties/{vendor_property_id}/channels/{channel_id} | ON and OFF requests |
GET | /properties/{vendor_property_id}/channels/{channel_id} | Request status and history |