Mapping & Stop Sale
How to update property, room type, and rate plan mappings on direct channels, and how to remove mappings for a channel you no longer sell on. Everything goes through PATCH; to delete, send the mapping value as null.
Mapping PATCH calls work only on direct channels (channel_type=cms). ONDA manages mappings for Plus channels (channel_type=hub), so they cannot be read, updated, or deleted this way.
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
Deleting mappings is separate from stopping the channel. To stop selling on a channel, submit an OFF request to POST .../channels/{channel_id} with { "request_type": "off" }.