Skip to main content

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​

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

To stop selling on a channel, send { "request_type": "off" } to POST .../channels/{channel_id}. Submit this request separately from any mapping deletion.