Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 2.13 KB

channels.md

File metadata and controls

37 lines (27 loc) · 2.13 KB

Channels

The Channels use case describes how to retrieve the list of sales channels and how to add a new sales channel if it is not already listed.

Fetching the list of channels

For the list of supported sales channels or sources, including Online Travel Agents (OTAs), use the Mews: Get channels operation.

'How to' use case
API Operations
How to get the list of sales channels or sources Mews: Get channels

Adding a new channel

If you are connected to a sales channel which is not listed, and you are certified to use Sources, then you can add the new channel source through the API. Simply send the reservation using Mews: Process group and use the sources array, but when specifying the unlisted source, leave the code value as null. Take care to specify the correct name and type for the source. Mews will add the new channel to the database and auto-generate a new code for it. To verify the new channel has been added, and to fetch the new code, use Mews: Get channels. You can then use that code for future reservations as normal.

For example:

"sources": [
  {
    "code": null,
    "name": "my new source",
    "type" : 6,
    "isPrimary": true
  }
]

If you are connected to a sales channel which is not listed, but you are not certified to use Sources, then please contact Mews via [email protected] and we can update the list manually.

'How to' use case
API Operations
How to add a new sales channel or source (if certified) Mews: Process group
How to add a new sales channel or source (if not certified) Contact Mews via [email protected]
How to verify the new sales channel or source Mews: Get channels