Mapping & Stop Sale
Use PATCH to update property, room type, or rate plan mappings on direct channels. To remove a mapping, set its value to null in the same request.
Direct channels only
Use the mapping endpoints to read, update, or delete mappings for direct channels (channel_type=cms). ONDA manages mappings for Plus channels (channel_type=hub).
Updating a mapping
Stopping sales — deleting a mapping
Sending null as the mapping value to the same PATCH endpoint deletes the mapping. There is no separate DELETE method.
Remove mappings in order: property, then room type, then rate plan.
Endpoints
| Scope | Read | Update and delete |
|---|---|---|
| Property | GET .../channels/{channel_id}/mappings | PATCH |
| Room type | GET .../roomtypes/{vendor_roomtype_id}/channels/{channel_id}/mappings | PATCH |
| Rate plan | GET .../rateplans/{vendor_rateplan_id}/channels/{channel_id}/mappings | PATCH |
Checklist
- Call mapping
PATCHonly on direct channels — verify Plus channels are excluded - Handle property, room type, and rate plan mapping updates
- Send
nullas the mapping value when stopping sales - Confirm the result after changing a mapping
To stop the channel itself
To stop selling on a channel, send { "request_type": "off" } to POST .../channels/{channel_id}. Submit this request separately from any mapping deletion.