Listing OTA Links
Links from a listing to its pages on other booking platforms (Airbnb, Vrbo, Booking.com) and to its direct booking website.
A link can come from more than one source: the listing's PMS (pms), a user in Wheelhouse or through this API (user), or a bulk upload (bulk). GET /listings/{listing_id}/ota_links returns each page once, with every source that links the listing to it in sources. Each source has its own link_id, which DELETE /listings/{listing_id}/ota_links/{link_id} takes. Links from the PMS change only in the PMS.
Another account linking the same page is never shown, and does not stop this listing from linking it.
List a listing's links to other booking platforms.
Returns the listing's pages on other booking platforms and its direct booking website, each once with every source that links it, plus the listing's own page on the channel it is connected through when that has a URL.
Add a link to another booking platform.
Links the listing to its page on another booking platform, or sets its direct booking website. The link is recorded as added by the API key's user, with source `user`.
Remove a link to another booking platform.
Removes one source's link, named by the `link_id` in the link's `sources`. Only links with `removable: true` can be removed: links from the PMS change only in the PMS, so the page stays listed for as long as the PMS sends it. Only the named source's link ends: the page stays listed for as long as another source still links it, e.g. a `direct` website that was also added by a bulk upload.