Skip to main content

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.

Direct channels only

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

ScopeReadUpdate and delete
PropertyGET .../channels/{channel_id}/mappingsPATCH
Room typeGET .../roomtypes/{vendor_roomtype_id}/channels/{channel_id}/mappingsPATCH
Rate planGET .../rateplans/{vendor_rateplan_id}/channels/{channel_id}/mappingsPATCH

Checklist

  • Call mapping PATCH only on direct channels — verify Plus channels are excluded
  • Handle property, room type, and rate plan mapping updates
  • Send null as the mapping value when stopping sales
  • Confirm the result after changing a mapping
To stop the channel itself

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" }.