NexSDK
    Preparing search index...

    Interface ConnectOTARequest

    Create a channel at one OTA with a mapping a human confirmed.

    mappings is required and non-empty on purpose: an unmapped channel cannot be activated and publishes nothing while appearing connected.

    interface ConnectOTARequest {
        currency?: ConnectOTARequestCurrency;
        mappings: ChannelMappingInput[];
        ota: string;
        settings: ConnectOTARequestSettings;
        title?: ConnectOTARequestTitle;
    }
    Index

    Properties

    currency?: ConnectOTARequestCurrency

    ISO 4217 the channel should trade in. Optional, and a preference rather than a setting: an OTA that reports its own currency — Booking.com always does — overrides it. Rate plans in another currency still map.

    1

    ota: string
    settings: ConnectOTARequestSettings

    OTA connection parameters — Booking.com takes {'hotel_id': …}

    title?: ConnectOTARequestTitle