repull 0.2.56 → 0.2.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/lib/repull/api/airbnb_api.rb +539 -2
  3. data/lib/repull/api/connect_api.rb +139 -8
  4. data/lib/repull/api/listings_api.rb +70 -0
  5. data/lib/repull/api/vrbo_api.rb +706 -0
  6. data/lib/repull/models/app_connection_health.rb +301 -0
  7. data/lib/repull/models/app_connection_health_recent_errors_inner.rb +184 -0
  8. data/lib/repull/models/app_connection_health_writes_per_day_inner.rb +156 -0
  9. data/lib/repull/models/connect_provider.rb +2 -2
  10. data/lib/repull/models/connect_status.rb +1 -1
  11. data/lib/repull/models/connection.rb +81 -5
  12. data/lib/repull/models/create_connection_request.rb +10 -1
  13. data/lib/repull/models/create_connection_request_workspace.rb +203 -0
  14. data/lib/repull/models/create_price_labs_key201_response.rb +399 -0
  15. data/lib/repull/models/create_price_labs_key201_response_all_of_instructions.rb +159 -0
  16. data/lib/repull/models/create_price_labs_key_request.rb +207 -0
  17. data/lib/repull/models/create_vrbo_offer201_response.rb +104 -0
  18. data/lib/repull/models/create_vrbo_offer201_response_one_of.rb +175 -0
  19. data/lib/repull/models/create_vrbo_offer_request.rb +320 -0
  20. data/lib/repull/models/create_vrbo_offer_request_fees_inner.rb +199 -0
  21. data/lib/repull/models/create_vrbo_offer_request_guest_details.rb +278 -0
  22. data/lib/repull/models/get_airbnb_house_rules200_response.rb +190 -0
  23. data/lib/repull/models/get_airbnb_house_rules200_response_data.rb +247 -0
  24. data/lib/repull/models/get_airbnb_house_rules200_response_data_children.rb +148 -0
  25. data/lib/repull/models/get_airbnb_house_rules200_response_data_house_rules_inner.rb +168 -0
  26. data/lib/repull/models/get_airbnb_listing_cancellation200_response.rb +190 -0
  27. data/lib/repull/models/get_airbnb_listing_cancellation200_response_data.rb +203 -0
  28. data/lib/repull/models/get_airbnb_listing_cancellation200_response_data_non_refundable.rb +192 -0
  29. data/lib/repull/models/get_airbnb_listing_fees200_response.rb +192 -0
  30. data/lib/repull/models/get_airbnb_listing_fees200_response_data_inner.rb +251 -0
  31. data/lib/repull/models/get_airbnb_listing_taxes200_response.rb +192 -0
  32. data/lib/repull/models/get_airbnb_listing_taxes200_response_data_inner.rb +181 -0
  33. data/lib/repull/models/get_airbnb_location200_response.rb +190 -0
  34. data/lib/repull/models/get_airbnb_location200_response_data.rb +197 -0
  35. data/lib/repull/models/get_airbnb_location200_response_data_address.rb +198 -0
  36. data/lib/repull/models/get_price_labs_session_status200_response.rb +192 -0
  37. data/lib/repull/models/get_vrbo_listing200_response_data_inner.rb +1 -1
  38. data/lib/repull/models/get_vrbo_listing_settings200_response.rb +217 -0
  39. data/lib/repull/models/get_vrbo_listing_settings200_response_data.rb +106 -0
  40. data/lib/repull/models/get_vrbo_listing_settings200_response_data_one_of.rb +149 -0
  41. data/lib/repull/models/get_vrbo_offer200_response.rb +290 -0
  42. data/lib/repull/models/get_vrbo_offer200_response_fees_inner.rb +166 -0
  43. data/lib/repull/models/get_vrbo_thread200_response.rb +159 -0
  44. data/lib/repull/models/list_vrbo_thread_messages200_response.rb +170 -0
  45. data/lib/repull/models/list_vrbo_thread_messages200_response_data_inner.rb +240 -0
  46. data/lib/repull/models/list_vrbo_threads200_response.rb +172 -0
  47. data/lib/repull/models/list_vrbo_threads200_response_data_inner.rb +219 -0
  48. data/lib/repull/models/map_vrbo_listing_request.rb +1 -1
  49. data/lib/repull/models/pull_listing_from_vrbo200_response.rb +273 -0
  50. data/lib/repull/models/pull_listing_from_vrbo_request.rb +149 -0
  51. data/lib/repull/models/send_vrbo_message_request.rb +186 -0
  52. data/lib/repull/models/submit_vrbo_guest_review200_response.rb +176 -0
  53. data/lib/repull/models/submit_vrbo_guest_review_request.rb +195 -0
  54. data/lib/repull/models/submit_vrbo_guest_review_request_category_ratings_inner.rb +218 -0
  55. data/lib/repull/models/update_airbnb_house_rules200_response.rb +187 -0
  56. data/lib/repull/models/update_airbnb_house_rules_request.rb +191 -0
  57. data/lib/repull/models/update_airbnb_listing_cancellation200_response.rb +147 -0
  58. data/lib/repull/models/update_airbnb_listing_cancellation200_response_data.rb +158 -0
  59. data/lib/repull/models/update_airbnb_listing_cancellation_request.rb +201 -0
  60. data/lib/repull/models/update_airbnb_listing_cancellation_request_non_refundable.rb +182 -0
  61. data/lib/repull/models/update_airbnb_listing_fees200_response.rb +150 -0
  62. data/lib/repull/models/update_airbnb_listing_fees_request.rb +175 -0
  63. data/lib/repull/models/vrbo_login200_response.rb +2 -2
  64. data/lib/repull/models/vrbo_login_request.rb +13 -3
  65. data/lib/repull/models/withdraw_vrbo_offer200_response.rb +165 -0
  66. data/lib/repull/version.rb +1 -1
  67. data/lib/repull.rb +52 -0
  68. data/openapi/v1.json +3348 -201
  69. metadata +54 -2
data/openapi/v1.json CHANGED
@@ -1883,9 +1883,144 @@
1883
1883
  ],
1884
1884
  "nullable": true,
1885
1885
  "description": "The account's latest import \u2014 `status: running` while the first sync (or a later one) is going, then `completed` or `failed`. `null` when no import has been recorded. The same run is announced by the `account.import.*` webhooks; the history is on `GET /v1/connections/{id}/imports`."
1886
+ },
1887
+ "scope": {
1888
+ "type": "string",
1889
+ "description": "Apps (`pricelabs`) only. `workspace`: every listing of the workspace, including listings added later. `listings`: only `listingIds`."
1890
+ },
1891
+ "listingIds": {
1892
+ "type": "array",
1893
+ "items": {
1894
+ "type": "string"
1895
+ },
1896
+ "nullable": true,
1897
+ "description": "Apps only: the listings a `listings`-scoped connection covers; `null` for `workspace`."
1898
+ },
1899
+ "listingCount": {
1900
+ "type": "integer",
1901
+ "description": "Apps only: listings the connection covers now.",
1902
+ "example": 12
1903
+ },
1904
+ "keyMasked": {
1905
+ "type": "string",
1906
+ "description": "Apps only: the key the app uses, masked. The key itself is shown once, when created.",
1907
+ "example": "sk_live_4eB3...XYZw"
1908
+ },
1909
+ "label": {
1910
+ "type": "string",
1911
+ "nullable": true,
1912
+ "description": "Apps only: the name given to the key."
1913
+ },
1914
+ "disconnectedAt": {
1915
+ "type": "string",
1916
+ "format": "date-time",
1917
+ "nullable": true,
1918
+ "description": "Apps only: when the connection was revoked."
1919
+ },
1920
+ "health": {
1921
+ "nullable": true,
1922
+ "allOf": [
1923
+ {
1924
+ "$ref": "#/components/schemas/AppConnectionHealth"
1925
+ }
1926
+ ],
1927
+ "description": "Apps only: how the app is doing on this connection. `null` once disconnected."
1886
1928
  }
1887
1929
  }
1888
1930
  },
1931
+ "AppConnectionHealth": {
1932
+ "type": "object",
1933
+ "description": "How an app (PriceLabs) is doing on one connection, from its calls with the key.",
1934
+ "properties": {
1935
+ "status": {
1936
+ "type": "string",
1937
+ "description": "`active`: a successful price or minimum-stay push in the last 24 hours. `idle`: the app connected before but has not pushed in the last 24 hours. `failing`: more than 25% of the last 24 hours' requests failed (at least 5 requests); read `recentErrors`. `never_connected`: the app has not used the key yet."
1938
+ },
1939
+ "lastRequestAt": {
1940
+ "type": "string",
1941
+ "format": "date-time",
1942
+ "nullable": true,
1943
+ "description": "The app's last request with the key, of any kind."
1944
+ },
1945
+ "lastSuccessfulWriteAt": {
1946
+ "type": "string",
1947
+ "format": "date-time",
1948
+ "nullable": true,
1949
+ "description": "The app's last successful price or minimum-stay push."
1950
+ },
1951
+ "writesPerDay": {
1952
+ "type": "array",
1953
+ "description": "Successful price and minimum-stay pushes per UTC day, the last 7 days, oldest first.",
1954
+ "items": {
1955
+ "type": "object",
1956
+ "properties": {
1957
+ "date": {
1958
+ "type": "string",
1959
+ "format": "date"
1960
+ },
1961
+ "writes": {
1962
+ "type": "integer"
1963
+ }
1964
+ }
1965
+ }
1966
+ },
1967
+ "requests24h": {
1968
+ "type": "integer"
1969
+ },
1970
+ "errors24h": {
1971
+ "type": "integer"
1972
+ },
1973
+ "errorRate24h": {
1974
+ "type": "number",
1975
+ "description": "`errors24h / requests24h`; 0 when there were no requests.",
1976
+ "example": 0.02
1977
+ },
1978
+ "requests7d": {
1979
+ "type": "integer"
1980
+ },
1981
+ "errors7d": {
1982
+ "type": "integer"
1983
+ },
1984
+ "errorRate7d": {
1985
+ "type": "number",
1986
+ "example": 0.01
1987
+ },
1988
+ "recentErrors": {
1989
+ "type": "array",
1990
+ "description": "The 10 most recent failed requests, newest first.",
1991
+ "items": {
1992
+ "type": "object",
1993
+ "properties": {
1994
+ "at": {
1995
+ "type": "string",
1996
+ "format": "date-time"
1997
+ },
1998
+ "method": {
1999
+ "type": "string",
2000
+ "example": "PUT"
2001
+ },
2002
+ "endpoint": {
2003
+ "type": "string",
2004
+ "example": "/calendar/batch/4118"
2005
+ },
2006
+ "statusCode": {
2007
+ "type": "integer",
2008
+ "example": 404
2009
+ },
2010
+ "message": {
2011
+ "type": "string",
2012
+ "nullable": true
2013
+ }
2014
+ }
2015
+ }
2016
+ }
2017
+ },
2018
+ "required": [
2019
+ "status",
2020
+ "writesPerDay",
2021
+ "recentErrors"
2022
+ ]
2023
+ },
1889
2024
  "ConnectionAccessType": {
1890
2025
  "type": "string",
1891
2026
  "enum": [
@@ -1971,11 +2106,11 @@
1971
2106
  },
1972
2107
  "category": {
1973
2108
  "type": "string",
1974
- "description": "Channel category \u2014 OTAs are listing marketplaces; PMSes are property management systems."
2109
+ "description": "Category \u2014 OTAs are listing marketplaces; PMSes are property management systems; apps are tools that work on the workspace's data (PriceLabs)."
1975
2110
  },
1976
2111
  "connectPattern": {
1977
2112
  "type": "string",
1978
- "description": "How the host is connected. `oauth`: provider-side consent screen. `credentials`: hosted form collects API keys. `activation`: push-only handshake. `claim`: connectivity-provider designation in the channel's Extranet (Booking.com). `extranet`: the host signs in with their Booking.com Extranet user."
2113
+ "description": "How the host is connected. `oauth`: provider-side consent screen. `credentials`: hosted form collects API keys. `activation`: push-only handshake. `claim`: connectivity-provider designation in the channel's Extranet (Booking.com). `extranet`: the host signs in with their Booking.com Extranet user. `key`: an app \u2014 the hosted page shows a key the host pastes into the app, and the session completes on the app's first call."
1979
2114
  },
1980
2115
  "status": {
1981
2116
  "type": "string",
@@ -2553,7 +2688,7 @@
2553
2688
  },
2554
2689
  "accounts": {
2555
2690
  "type": "array",
2556
- "description": "One entry per connected account, for every provider: Airbnb, every host account connected (including ones since disconnected), each with its own `accessType`; Booking.com, every hotel (`externalAccountId` is the hotel id); Vrbo, every sign-in; Booking.com Extranet, every hotel login; a PMS, its one account. Pass `externalAccountId` as `accountId` to `DELETE /v1/connect/{provider}` to disconnect one. The top-level fields describe one record and stay for existing integrations; show `accounts[]` to list what is connected. Vrbo sign-ins also carry `accessType` and `import` (a `VrboImportStatus`), with a top-level `dataFreshness` on `GET /v1/connect/vrbo-login`.",
2691
+ "description": "One entry per connected account, for every provider: Airbnb, every host account connected (including ones since disconnected), each with its own `accessType`; Booking.com, every hotel (`externalAccountId` is the hotel id); Vrbo, every sign-in; Booking.com Extranet, every hotel login; a PMS, its one account; PriceLabs (an app), every key, each a connection with its `health` (see `Connection`). Pass `externalAccountId` as `accountId` to `DELETE /v1/connect/{provider}` to disconnect one. The top-level fields describe one record and stay for existing integrations; show `accounts[]` to list what is connected. Vrbo sign-ins also carry `accessType` and `import` (a `VrboImportStatus`), with a top-level `dataFreshness` on `GET /v1/connect/vrbo-login`.",
2557
2692
  "items": {
2558
2693
  "type": "object",
2559
2694
  "properties": {
@@ -21589,7 +21724,7 @@
21589
21724
  "get": {
21590
21725
  "operationId": "get_connect_status",
21591
21726
  "summary": "Get connection status",
21592
- "description": "Returns the current connection status for a provider, including host metadata (display name + avatar) for Airbnb so clients can render an account-level confirmation UI.\n\n**Access level.** `accessType` says what the connection may do: `read_only`, `messaging` or `full_access` (`null` when unknown). Airbnb reports it per host on `accounts[]` (the tier each host's token was granted with) and at the top level for the host in `externalAccountId`; Vrbo (`vrbo-login`) per account; Booking.com is always `full_access`, the Booking.com Extranet always `messaging`; a PMS is `read_only` when every `writePolicy` switch is off, else `full_access`. See the `ConnectionAccessType` schema for the meaning per provider.",
21727
+ "description": "Returns the current connection status for a provider, including host metadata (display name + avatar) for Airbnb so clients can render an account-level confirmation UI.\n\n**Access level.** `accessType` says what the connection may do: `read_only`, `messaging` or `full_access` (`null` when unknown). Airbnb reports it per host on `accounts[]` (the tier each host's token was granted with) and at the top level for the host in `externalAccountId`; Vrbo (`vrbo-login`) per account; Booking.com is always `full_access`, the Booking.com Extranet always `messaging`; a PMS is `read_only` when every `writePolicy` switch is off, else `full_access`. See the `ConnectionAccessType` schema for the meaning per provider.\n\n**PriceLabs (an app).** `accounts[]` lists every PriceLabs connection of the workspace (each one key), with `scope`, `listingCount`, `keyMasked` and `health`: `status` (`active`, `idle`, `failing`, `never_connected`), last request, last successful price push, pushes per day for 7 days, error rates and the latest errors. Revoked ones stay listed as `disconnected` with `health: null`. `externalAccountId` is `null` (PriceLabs has no account id to give us); `id` is the connection.",
21593
21728
  "tags": [
21594
21729
  "Connect"
21595
21730
  ],
@@ -21614,7 +21749,7 @@
21614
21749
  "post": {
21615
21750
  "operationId": "create_connection",
21616
21751
  "summary": "Connect to PMS/OTA provider",
21617
- "description": "Establish a connection to a PMS or OTA platform. Credentials vary by provider \u2014 see docs for each provider.\n\nAirbnb-specific: pass `redirectUrl` (where to send the user after consent) and optionally `accessType`. Three tiers: `read_only` grants read-only scopes; `messaging` (shown to hosts as \"Messaging & reviews\") grants read scopes plus message read/send and review writes (reply to guest reviews, submit host reviews \u2014 Airbnb's `reviews_write`) but NOT property management, so it can coexist with another app (e.g. an existing PMS) that already holds property management on the same Airbnb account; `full_access` \u2014 the default \u2014 grants full host scopes including the exclusive property management (only one app per Airbnb account can hold it). The response returns a hosted `url` to redirect the user to.\n\nBooking.com: pass `redirectUrl` (no `accessType`). The response returns a hosted `url` \u2014 send the user there to select our connectivity provider in their Booking.com Extranet and paste their Hotel ID. Same response shape as Airbnb (`url`, `sessionId`, `expiresAt`).\n\nPMS providers are not connected by this call: send their credentials to `POST /v1/connect/{provider}/credentials`, or start a hosted session with `POST /v1/connect`.",
21752
+ "description": "Establish a connection to a PMS or OTA platform. Credentials vary by provider \u2014 see docs for each provider.\n\nAirbnb-specific: pass `redirectUrl` (where to send the user after consent) and optionally `accessType`. Three tiers: `read_only` grants read-only scopes; `messaging` (shown to hosts as \"Messaging & reviews\") grants read scopes plus message read/send and review writes (reply to guest reviews, submit host reviews \u2014 Airbnb's `reviews_write`) but NOT property management, so it can coexist with another app (e.g. an existing PMS) that already holds property management on the same Airbnb account; `full_access` \u2014 the default \u2014 grants full host scopes including the exclusive property management (only one app per Airbnb account can hold it). The response returns a hosted `url` to redirect the user to.\n\nBooking.com: pass `redirectUrl` (no `accessType`). The response returns a hosted `url` \u2014 send the user there to select our connectivity provider in their Booking.com Extranet and paste their Hotel ID. Same response shape as Airbnb (`url`, `sessionId`, `expiresAt`).\n\nPMS providers are not connected by this call: send their credentials to `POST /v1/connect/{provider}/credentials`, or start a hosted session with `POST /v1/connect`.\n\n**PriceLabs (an app).** Pass `redirectUrl` (and optionally `state`, `locale`, `workspace`). The response returns a hosted `url` for the session's workspace: yours, the one `X-Workspace-Id` names, or a new sub-workspace when you send `workspace.name` (its id comes back as `workspaceId`). The page shows the host a key for **every listing of that workspace, including listings added later**, with the steps to paste it into PriceLabs, then waits for PriceLabs' first call and completes like every provider: redirect to `redirectUrl` (`status=connected&connectionId=\u2026`) or the `repull:connect:completed` popup message, and `connect.session.completed`. When PriceLabs first uses the key, `account.created` is sent. To keep PriceLabs away from the rest of an account, put the listings it should price in a sub-workspace and connect PriceLabs there. To issue the key yourself (no hosted page, or only some listings) use `POST /v1/connect/pricelabs/key`.",
21618
21753
  "tags": [
21619
21754
  "Connect"
21620
21755
  ],
@@ -21656,6 +21791,24 @@
21656
21791
  "type": "string",
21657
21792
  "description": "Airbnb + Booking.com \u2014 your own correlation token, e.g. your user id (at most 500 characters). Echoed on the redirect back (`&state=`) and in the `connect.session.completed` webhook."
21658
21793
  },
21794
+ "workspace": {
21795
+ "type": "object",
21796
+ "description": "PriceLabs only: open a new sub-workspace for this host and connect PriceLabs there (its id is returned as `workspaceId`). Don't send it together with `X-Workspace-Id`.",
21797
+ "properties": {
21798
+ "name": {
21799
+ "type": "string",
21800
+ "maxLength": 120
21801
+ },
21802
+ "externalRef": {
21803
+ "type": "string",
21804
+ "maxLength": 120,
21805
+ "description": "Your own id for this host."
21806
+ }
21807
+ },
21808
+ "required": [
21809
+ "name"
21810
+ ]
21811
+ },
21659
21812
  "locale": {
21660
21813
  "type": "string",
21661
21814
  "nullable": true,
@@ -21683,7 +21836,7 @@
21683
21836
  "delete": {
21684
21837
  "operationId": "delete_connection",
21685
21838
  "summary": "Disconnect provider",
21686
- "description": "Disconnect ONE connected account of a provider from this workspace. Supported for `airbnb`, `booking`, `vrbo-login` and every PMS (`guesty`, `hostaway`, `hospitable`, \u2026).\n\n**Which account.** Pass `accountId` \u2014 for Airbnb the host id (`accounts[].externalAccountId` from `GET /v1/connect/airbnb`), for Booking.com the hotel id, for `vrbo-login` the sign-in's Vrbo account id (`accounts[].externalAccountId` from `GET /v1/connect/vrbo-login`; the old sign-in id still works until 2027-02-12). It is optional only when the workspace has exactly one account for the provider. With several and no `accountId`, the call returns `422` with the account ids in `valid_values` instead of guessing. An `accountId` that is not connected to this workspace returns `404`. Disconnecting one account leaves the others connected.\n\n**What happens.** The account's stored authorization is removed and it stops syncing. Its listings are **deactivated**, not deleted: they stop counting toward your plan's listing limit, their data is kept, and they are returned in `listingsDeactivated`. A listing that is still connected through another account or channel stays active. Reconnect the account, then activate the listings with `POST /v1/listings/status`.\n\nThe change is all or nothing. For Airbnb, the host can also revoke access on Airbnb's side (Account \u2192 Privacy & sharing \u2192 Connected apps); that alone does not update this workspace, so call this endpoint as well.\n\n**PMS.** A workspace has one connection per PMS, so no `accountId` is needed. Disconnecting stops syncing, clears the stored credentials and deactivates the connection's listings; nothing is deleted, and reservations and messages stay. The response also carries `connectionId`. The PMS's own webhook subscription is left in place, because the same PMS account can be connected to another workspace (such as a Repull Migrate workspace). Reconnect with a new Connect session.\n\nOther providers return `501 not_implemented` with instructions for disconnecting on the provider's side. That answer depends only on the provider, not on your workspace: an unsupported provider returns `501` whether or not you have a connection to it. `404 not_found` on a supported provider means this workspace has no connection to it (or, with `accountId`, that the account is not connected here).",
21839
+ "description": "Disconnect ONE connected account of a provider from this workspace. Supported for `airbnb`, `booking`, `vrbo-login` and every PMS (`guesty`, `hostaway`, `hospitable`, \u2026).\n\n**Which account.** Pass `accountId` \u2014 for Airbnb the host id (`accounts[].externalAccountId` from `GET /v1/connect/airbnb`), for Booking.com the hotel id, for `vrbo-login` the sign-in's Vrbo account id (`accounts[].externalAccountId` from `GET /v1/connect/vrbo-login`; the old sign-in id still works until 2027-02-12). It is optional only when the workspace has exactly one account for the provider. With several and no `accountId`, the call returns `422` with the account ids in `valid_values` instead of guessing. An `accountId` that is not connected to this workspace returns `404`. Disconnecting one account leaves the others connected.\n\n**What happens.** The account's stored authorization is removed and it stops syncing. Its listings are **deactivated**, not deleted: they stop counting toward your plan's listing limit, their data is kept, and they are returned in `listingsDeactivated`. A listing that is still connected through another account or channel stays active. Reconnect the account, then activate the listings with `POST /v1/listings/status`.\n\nThe change is all or nothing. For Airbnb, the host can also revoke access on Airbnb's side (Account \u2192 Privacy & sharing \u2192 Connected apps); that alone does not update this workspace, so call this endpoint as well.\n\n**PMS.** A workspace has one connection per PMS, so no `accountId` is needed. Disconnecting stops syncing, clears the stored credentials and deactivates the connection's listings; nothing is deleted, and reservations and messages stay. The response also carries `connectionId`. The PMS's own webhook subscription is left in place, because the same PMS account can be connected to another workspace (such as a Repull Migrate workspace). Reconnect with a new Connect session.\n\nOther providers return `501 not_implemented` with instructions for disconnecting on the provider's side. That answer depends only on the provider, not on your workspace: an unsupported provider returns `501` whether or not you have a connection to it. `404 not_found` on a supported provider means this workspace has no connection to it (or, with `accountId`, that the account is not connected here).\n\n**PriceLabs (an app).** Revokes one PriceLabs connection (its key): PriceLabs loses access at once; nothing it already pushed changes and no listing is deactivated. Pass `id` (an `accounts[].id` from `GET /v1/connect/pricelabs`); it is optional only when the workspace has one connected. Sends `account.disconnected` with reason `manual_disconnect`.",
21687
21840
  "tags": [
21688
21841
  "Connect"
21689
21842
  ],
@@ -21700,6 +21853,16 @@
21700
21853
  "example": "143778955"
21701
21854
  },
21702
21855
  "description": "The account to disconnect: the Airbnb host id (`accounts[].externalAccountId` on `GET /v1/connect/airbnb`) or the Booking.com hotel id. Required when the workspace has more than one connected account for the provider. Not the same as the `X-Account-Id` header."
21856
+ },
21857
+ {
21858
+ "name": "id",
21859
+ "in": "query",
21860
+ "required": false,
21861
+ "schema": {
21862
+ "type": "string",
21863
+ "example": "812"
21864
+ },
21865
+ "description": "PriceLabs only: the connection to revoke (`accounts[].id` on `GET /v1/connect/pricelabs`). Required when the workspace has more than one."
21703
21866
  }
21704
21867
  ],
21705
21868
  "responses": {
@@ -24405,7 +24568,7 @@
24405
24568
  "get": {
24406
24569
  "operationId": "list_airbnb_threads",
24407
24570
  "summary": "List Airbnb message threads",
24408
- "description": "List Airbnb message threads (one per guest conversation). Cursor-paginated. Each thread includes a preview of the latest message.\n\nThreads on inactive listings are left out; they keep syncing and reappear once the listing is activated. Filtering by an inactive listing (`listing_id`) returns `403 listing_inactive`.\n\n**Several Airbnb accounts?** A workspace can connect more than one. By default this returns every connected account's rows; pass `?account_id=<airbnb host id>` to scope to one. Every row carries `accountId` + `accountName` either way, and `dataFreshness.accounts[]` reports each account's freshness separately, so one disconnected host no longer marks the whole response stale.",
24571
+ "description": "List Airbnb message threads (one per guest conversation), newest activity first (up to 200). Only Airbnb threads: conversations from other channels are on their own channel routes (`GET /v1/channels/vrbo/messaging`) or `GET /v1/conversations`.\n\nThreads on inactive listings are left out; they keep syncing and reappear once the listing is activated. Filtering by an inactive listing (`listing_id`) returns `403 listing_inactive`.\n\n**Several Airbnb accounts?** A workspace can connect more than one. By default this returns every connected account's rows; pass `?account_id=<airbnb host id>` to scope to one. Every row carries `accountId` + `accountName` either way, and `dataFreshness.accounts[]` reports each account's freshness separately, so one disconnected host no longer marks the whole response stale.",
24409
24572
  "tags": [
24410
24573
  "Airbnb"
24411
24574
  ],
@@ -39763,7 +39926,7 @@
39763
39926
  "post": {
39764
39927
  "operationId": "vrboLogin",
39765
39928
  "summary": "Sign in with a Vrbo host account",
39766
- "description": "`action: login` checks the email and password and answers in seconds: `connected`, `otp_required` (Vrbo sent a code to `destination`) or `failed` with a `reason` (`bad_credentials`, `blocked`, \u2026). `action: otp` submits the code; a refused code comes back as `otp_required` with `reason: bad_code`. `action: resend` (with `accountId`) signs in again with the details already given, so Vrbo sends a new code.\n\nSigning in imports nothing. `accessType` (`full_access` or `messaging`, when the session did not lock it) is the host's choice of whether mapped listings push the calendar. The import starts when the mapping is confirmed.\n\nCalled by the hosted Connect page. No API key \u2014 the session ID is the capability token.",
39929
+ "description": "`action: login` checks the email and password and answers in seconds: `connected`, `otp_required` (Vrbo sent a code to `destination`) or `failed` with a `reason` (`bad_credentials`, `blocked`, \u2026). `action: otp` submits the code; a refused code comes back as `otp_required` with `reason: bad_code`. `action: resend` (with `accountId`) signs in again with the details already given, so Vrbo sends a new code. `phone_required` means Vrbo accepted the login and its \"complete your profile\" step wants a contact phone: `action: phone` (with `accountId` and `phone`, international format with the country code, any country) fills it in, then answers like the others (`otp_required` when Vrbo texts a code to that number; `phone_required` with `reason: bad_phone` when Vrbo refuses it).\n\nSigning in imports nothing. `accessType` (`full_access` or `messaging`, when the session did not lock it) is the host's choice of whether mapped listings push the calendar. The import starts when the mapping is confirmed.\n\nCalled by the hosted Connect page. No API key \u2014 the session ID is the capability token.",
39767
39930
  "tags": [
39768
39931
  "Connect"
39769
39932
  ],
@@ -39787,7 +39950,8 @@
39787
39950
  "enum": [
39788
39951
  "login",
39789
39952
  "otp",
39790
- "resend"
39953
+ "resend",
39954
+ "phone"
39791
39955
  ]
39792
39956
  },
39793
39957
  "email": {
@@ -39802,6 +39966,10 @@
39802
39966
  "code": {
39803
39967
  "type": "string"
39804
39968
  },
39969
+ "phone": {
39970
+ "type": "string",
39971
+ "description": "`action: phone` \u2014 the contact phone with its country code, e.g. `+373 69 123 456`."
39972
+ },
39805
39973
  "accessType": {
39806
39974
  "type": "string",
39807
39975
  "enum": [
@@ -39830,6 +39998,7 @@
39830
39998
  "enum": [
39831
39999
  "connected",
39832
40000
  "otp_required",
40001
+ "phone_required",
39833
40002
  "pending",
39834
40003
  "failed"
39835
40004
  ]
@@ -45103,14 +45272,14 @@
45103
45272
  "value": {
45104
45273
  "error": {
45105
45274
  "code": "ambiguous_vrbo_unit",
45106
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
45275
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
45107
45276
  "fix": "Name one with `?vrboListingNumber=`.",
45108
45277
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
45109
45278
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
45110
45279
  "field": "vrboListingNumber",
45111
45280
  "valid_values": [
45112
- "5506023",
45113
- "5506024"
45281
+ "4512345",
45282
+ "4512346"
45114
45283
  ]
45115
45284
  }
45116
45285
  }
@@ -45411,7 +45580,7 @@
45411
45580
  "value": {
45412
45581
  "error": {
45413
45582
  "code": "listing_inactive",
45414
- "message": "Listing 4019 is inactive.",
45583
+ "message": "Listing 98765 is inactive.",
45415
45584
  "fix": "Activate the listing, then send the request again.",
45416
45585
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
45417
45586
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -45438,14 +45607,14 @@
45438
45607
  "value": {
45439
45608
  "error": {
45440
45609
  "code": "ambiguous_vrbo_unit",
45441
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
45610
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
45442
45611
  "fix": "Name one with `?vrboListingNumber=`.",
45443
45612
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
45444
45613
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
45445
45614
  "field": "vrboListingNumber",
45446
45615
  "valid_values": [
45447
- "5506023",
45448
- "5506024"
45616
+ "4512345",
45617
+ "4512346"
45449
45618
  ]
45450
45619
  }
45451
45620
  }
@@ -45846,14 +46015,14 @@
45846
46015
  "value": {
45847
46016
  "error": {
45848
46017
  "code": "ambiguous_vrbo_unit",
45849
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
46018
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
45850
46019
  "fix": "Name one with `?vrboListingNumber=`.",
45851
46020
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
45852
46021
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
45853
46022
  "field": "vrboListingNumber",
45854
46023
  "valid_values": [
45855
- "5506023",
45856
- "5506024"
46024
+ "4512345",
46025
+ "4512346"
45857
46026
  ]
45858
46027
  }
45859
46028
  }
@@ -46763,7 +46932,7 @@
46763
46932
  "value": {
46764
46933
  "error": {
46765
46934
  "code": "listing_inactive",
46766
- "message": "Listing 4019 is inactive.",
46935
+ "message": "Listing 98765 is inactive.",
46767
46936
  "fix": "Activate the listing, then send the request again.",
46768
46937
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
46769
46938
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -46790,14 +46959,14 @@
46790
46959
  "value": {
46791
46960
  "error": {
46792
46961
  "code": "ambiguous_vrbo_unit",
46793
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
46962
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
46794
46963
  "fix": "Name one with `?vrboListingNumber=`.",
46795
46964
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
46796
46965
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
46797
46966
  "field": "vrboListingNumber",
46798
46967
  "valid_values": [
46799
- "5506023",
46800
- "5506024"
46968
+ "4512345",
46969
+ "4512346"
46801
46970
  ]
46802
46971
  }
46803
46972
  }
@@ -47169,14 +47338,14 @@
47169
47338
  "value": {
47170
47339
  "error": {
47171
47340
  "code": "ambiguous_vrbo_unit",
47172
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
47341
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
47173
47342
  "fix": "Name one with `?vrboListingNumber=`.",
47174
47343
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
47175
47344
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
47176
47345
  "field": "vrboListingNumber",
47177
47346
  "valid_values": [
47178
- "5506023",
47179
- "5506024"
47347
+ "4512345",
47348
+ "4512346"
47180
47349
  ]
47181
47350
  }
47182
47351
  }
@@ -47567,7 +47736,7 @@
47567
47736
  "value": {
47568
47737
  "error": {
47569
47738
  "code": "listing_inactive",
47570
- "message": "Listing 4019 is inactive.",
47739
+ "message": "Listing 98765 is inactive.",
47571
47740
  "fix": "Activate the listing, then send the request again.",
47572
47741
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
47573
47742
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -47594,14 +47763,14 @@
47594
47763
  "value": {
47595
47764
  "error": {
47596
47765
  "code": "ambiguous_vrbo_unit",
47597
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
47766
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
47598
47767
  "fix": "Name one with `?vrboListingNumber=`.",
47599
47768
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
47600
47769
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
47601
47770
  "field": "vrboListingNumber",
47602
47771
  "valid_values": [
47603
- "5506023",
47604
- "5506024"
47772
+ "4512345",
47773
+ "4512346"
47605
47774
  ]
47606
47775
  }
47607
47776
  }
@@ -47942,14 +48111,14 @@
47942
48111
  "value": {
47943
48112
  "error": {
47944
48113
  "code": "ambiguous_vrbo_unit",
47945
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
48114
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
47946
48115
  "fix": "Name one with `?vrboListingNumber=`.",
47947
48116
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
47948
48117
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
47949
48118
  "field": "vrboListingNumber",
47950
48119
  "valid_values": [
47951
- "5506023",
47952
- "5506024"
48120
+ "4512345",
48121
+ "4512346"
47953
48122
  ]
47954
48123
  }
47955
48124
  }
@@ -48314,7 +48483,7 @@
48314
48483
  "value": {
48315
48484
  "error": {
48316
48485
  "code": "listing_inactive",
48317
- "message": "Listing 4019 is inactive.",
48486
+ "message": "Listing 98765 is inactive.",
48318
48487
  "fix": "Activate the listing, then send the request again.",
48319
48488
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
48320
48489
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -48341,14 +48510,14 @@
48341
48510
  "value": {
48342
48511
  "error": {
48343
48512
  "code": "ambiguous_vrbo_unit",
48344
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
48513
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
48345
48514
  "fix": "Name one with `?vrboListingNumber=`.",
48346
48515
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
48347
48516
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
48348
48517
  "field": "vrboListingNumber",
48349
48518
  "valid_values": [
48350
- "5506023",
48351
- "5506024"
48519
+ "4512345",
48520
+ "4512346"
48352
48521
  ]
48353
48522
  }
48354
48523
  }
@@ -49910,14 +50079,14 @@
49910
50079
  "value": {
49911
50080
  "error": {
49912
50081
  "code": "ambiguous_vrbo_unit",
49913
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
50082
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
49914
50083
  "fix": "Name one with `?vrboListingNumber=`.",
49915
50084
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
49916
50085
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
49917
50086
  "field": "vrboListingNumber",
49918
50087
  "valid_values": [
49919
- "5506023",
49920
- "5506024"
50088
+ "4512345",
50089
+ "4512346"
49921
50090
  ]
49922
50091
  }
49923
50092
  }
@@ -50290,14 +50459,14 @@
50290
50459
  "value": {
50291
50460
  "error": {
50292
50461
  "code": "ambiguous_vrbo_unit",
50293
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
50462
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
50294
50463
  "fix": "Name one with `?vrboListingNumber=`.",
50295
50464
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
50296
50465
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
50297
50466
  "field": "vrboListingNumber",
50298
50467
  "valid_values": [
50299
- "5506023",
50300
- "5506024"
50468
+ "4512345",
50469
+ "4512346"
50301
50470
  ]
50302
50471
  }
50303
50472
  }
@@ -50796,7 +50965,7 @@
50796
50965
  "value": {
50797
50966
  "error": {
50798
50967
  "code": "listing_inactive",
50799
- "message": "Listing 4019 is inactive.",
50968
+ "message": "Listing 98765 is inactive.",
50800
50969
  "fix": "Activate the listing, then send the request again.",
50801
50970
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
50802
50971
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -50823,14 +50992,14 @@
50823
50992
  "value": {
50824
50993
  "error": {
50825
50994
  "code": "ambiguous_vrbo_unit",
50826
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
50995
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
50827
50996
  "fix": "Name one with `?vrboListingNumber=`.",
50828
50997
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
50829
50998
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
50830
50999
  "field": "vrboListingNumber",
50831
51000
  "valid_values": [
50832
- "5506023",
50833
- "5506024"
51001
+ "4512345",
51002
+ "4512346"
50834
51003
  ]
50835
51004
  }
50836
51005
  }
@@ -51257,14 +51426,14 @@
51257
51426
  "value": {
51258
51427
  "error": {
51259
51428
  "code": "ambiguous_vrbo_unit",
51260
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
51429
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
51261
51430
  "fix": "Name one with `?vrboListingNumber=`.",
51262
51431
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
51263
51432
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
51264
51433
  "field": "vrboListingNumber",
51265
51434
  "valid_values": [
51266
- "5506023",
51267
- "5506024"
51435
+ "4512345",
51436
+ "4512346"
51268
51437
  ]
51269
51438
  }
51270
51439
  }
@@ -51828,7 +51997,7 @@
51828
51997
  "value": {
51829
51998
  "error": {
51830
51999
  "code": "listing_inactive",
51831
- "message": "Listing 4019 is inactive.",
52000
+ "message": "Listing 98765 is inactive.",
51832
52001
  "fix": "Activate the listing, then send the request again.",
51833
52002
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
51834
52003
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -51855,14 +52024,14 @@
51855
52024
  "value": {
51856
52025
  "error": {
51857
52026
  "code": "ambiguous_vrbo_unit",
51858
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
52027
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
51859
52028
  "fix": "Name one with `?vrboListingNumber=`.",
51860
52029
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
51861
52030
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
51862
52031
  "field": "vrboListingNumber",
51863
52032
  "valid_values": [
51864
- "5506023",
51865
- "5506024"
52033
+ "4512345",
52034
+ "4512346"
51866
52035
  ]
51867
52036
  }
51868
52037
  }
@@ -52165,14 +52334,14 @@
52165
52334
  "value": {
52166
52335
  "error": {
52167
52336
  "code": "ambiguous_vrbo_unit",
52168
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
52337
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
52169
52338
  "fix": "Name one with `?vrboListingNumber=`.",
52170
52339
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
52171
52340
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
52172
52341
  "field": "vrboListingNumber",
52173
52342
  "valid_values": [
52174
- "5506023",
52175
- "5506024"
52343
+ "4512345",
52344
+ "4512346"
52176
52345
  ]
52177
52346
  }
52178
52347
  }
@@ -52465,7 +52634,7 @@
52465
52634
  "value": {
52466
52635
  "error": {
52467
52636
  "code": "listing_inactive",
52468
- "message": "Listing 4019 is inactive.",
52637
+ "message": "Listing 98765 is inactive.",
52469
52638
  "fix": "Activate the listing, then send the request again.",
52470
52639
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
52471
52640
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -52492,14 +52661,14 @@
52492
52661
  "value": {
52493
52662
  "error": {
52494
52663
  "code": "ambiguous_vrbo_unit",
52495
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
52664
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
52496
52665
  "fix": "Name one with `?vrboListingNumber=`.",
52497
52666
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
52498
52667
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
52499
52668
  "field": "vrboListingNumber",
52500
52669
  "valid_values": [
52501
- "5506023",
52502
- "5506024"
52670
+ "4512345",
52671
+ "4512346"
52503
52672
  ]
52504
52673
  }
52505
52674
  }
@@ -52809,14 +52978,14 @@
52809
52978
  "value": {
52810
52979
  "error": {
52811
52980
  "code": "ambiguous_vrbo_unit",
52812
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
52981
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
52813
52982
  "fix": "Name one with `?vrboListingNumber=`.",
52814
52983
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
52815
52984
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
52816
52985
  "field": "vrboListingNumber",
52817
52986
  "valid_values": [
52818
- "5506023",
52819
- "5506024"
52987
+ "4512345",
52988
+ "4512346"
52820
52989
  ]
52821
52990
  }
52822
52991
  }
@@ -53144,7 +53313,7 @@
53144
53313
  "value": {
53145
53314
  "error": {
53146
53315
  "code": "listing_inactive",
53147
- "message": "Listing 4019 is inactive.",
53316
+ "message": "Listing 98765 is inactive.",
53148
53317
  "fix": "Activate the listing, then send the request again.",
53149
53318
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
53150
53319
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -53171,14 +53340,14 @@
53171
53340
  "value": {
53172
53341
  "error": {
53173
53342
  "code": "ambiguous_vrbo_unit",
53174
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
53343
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
53175
53344
  "fix": "Name one with `?vrboListingNumber=`.",
53176
53345
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
53177
53346
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
53178
53347
  "field": "vrboListingNumber",
53179
53348
  "valid_values": [
53180
- "5506023",
53181
- "5506024"
53349
+ "4512345",
53350
+ "4512346"
53182
53351
  ]
53183
53352
  }
53184
53353
  }
@@ -53528,14 +53697,14 @@
53528
53697
  "value": {
53529
53698
  "error": {
53530
53699
  "code": "ambiguous_vrbo_unit",
53531
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
53700
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
53532
53701
  "fix": "Name one with `?vrboListingNumber=`.",
53533
53702
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
53534
53703
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
53535
53704
  "field": "vrboListingNumber",
53536
53705
  "valid_values": [
53537
- "5506023",
53538
- "5506024"
53706
+ "4512345",
53707
+ "4512346"
53539
53708
  ]
53540
53709
  }
53541
53710
  }
@@ -53902,7 +54071,7 @@
53902
54071
  "value": {
53903
54072
  "error": {
53904
54073
  "code": "listing_inactive",
53905
- "message": "Listing 4019 is inactive.",
54074
+ "message": "Listing 98765 is inactive.",
53906
54075
  "fix": "Activate the listing, then send the request again.",
53907
54076
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
53908
54077
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -53929,14 +54098,14 @@
53929
54098
  "value": {
53930
54099
  "error": {
53931
54100
  "code": "ambiguous_vrbo_unit",
53932
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
54101
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
53933
54102
  "fix": "Name one with `?vrboListingNumber=`.",
53934
54103
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
53935
54104
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
53936
54105
  "field": "vrboListingNumber",
53937
54106
  "valid_values": [
53938
- "5506023",
53939
- "5506024"
54107
+ "4512345",
54108
+ "4512346"
53940
54109
  ]
53941
54110
  }
53942
54111
  }
@@ -54315,7 +54484,7 @@
54315
54484
  "value": {
54316
54485
  "error": {
54317
54486
  "code": "listing_inactive",
54318
- "message": "Listing 4019 is inactive.",
54487
+ "message": "Listing 98765 is inactive.",
54319
54488
  "fix": "Activate the listing, then send the request again.",
54320
54489
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
54321
54490
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -54342,14 +54511,14 @@
54342
54511
  "value": {
54343
54512
  "error": {
54344
54513
  "code": "ambiguous_vrbo_unit",
54345
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
54514
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
54346
54515
  "fix": "Name one with `?vrboListingNumber=`.",
54347
54516
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
54348
54517
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
54349
54518
  "field": "vrboListingNumber",
54350
54519
  "valid_values": [
54351
- "5506023",
54352
- "5506024"
54520
+ "4512345",
54521
+ "4512346"
54353
54522
  ]
54354
54523
  }
54355
54524
  }
@@ -54706,7 +54875,7 @@
54706
54875
  "value": {
54707
54876
  "error": {
54708
54877
  "code": "listing_inactive",
54709
- "message": "Listing 4019 is inactive.",
54878
+ "message": "Listing 98765 is inactive.",
54710
54879
  "fix": "Activate the listing, then send the request again.",
54711
54880
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
54712
54881
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -54733,14 +54902,14 @@
54733
54902
  "value": {
54734
54903
  "error": {
54735
54904
  "code": "ambiguous_vrbo_unit",
54736
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
54905
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
54737
54906
  "fix": "Name one with `?vrboListingNumber=`.",
54738
54907
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
54739
54908
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
54740
54909
  "field": "vrboListingNumber",
54741
54910
  "valid_values": [
54742
- "5506023",
54743
- "5506024"
54911
+ "4512345",
54912
+ "4512346"
54744
54913
  ]
54745
54914
  }
54746
54915
  }
@@ -55057,14 +55226,14 @@
55057
55226
  "value": {
55058
55227
  "error": {
55059
55228
  "code": "ambiguous_vrbo_unit",
55060
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
55229
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
55061
55230
  "fix": "Name one with `?vrboListingNumber=`.",
55062
55231
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
55063
55232
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
55064
55233
  "field": "vrboListingNumber",
55065
55234
  "valid_values": [
55066
- "5506023",
55067
- "5506024"
55235
+ "4512345",
55236
+ "4512346"
55068
55237
  ]
55069
55238
  }
55070
55239
  }
@@ -55373,7 +55542,7 @@
55373
55542
  "value": {
55374
55543
  "error": {
55375
55544
  "code": "listing_inactive",
55376
- "message": "Listing 4019 is inactive.",
55545
+ "message": "Listing 98765 is inactive.",
55377
55546
  "fix": "Activate the listing, then send the request again.",
55378
55547
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
55379
55548
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -55413,14 +55582,14 @@
55413
55582
  "value": {
55414
55583
  "error": {
55415
55584
  "code": "ambiguous_vrbo_unit",
55416
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
55585
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
55417
55586
  "fix": "Name one with `?vrboListingNumber=`.",
55418
55587
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
55419
55588
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
55420
55589
  "field": "vrboListingNumber",
55421
55590
  "valid_values": [
55422
- "5506023",
55423
- "5506024"
55591
+ "4512345",
55592
+ "4512346"
55424
55593
  ]
55425
55594
  }
55426
55595
  }
@@ -55748,14 +55917,14 @@
55748
55917
  "value": {
55749
55918
  "error": {
55750
55919
  "code": "ambiguous_vrbo_unit",
55751
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
55920
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
55752
55921
  "fix": "Name one with `?vrboListingNumber=`.",
55753
55922
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
55754
55923
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
55755
55924
  "field": "vrboListingNumber",
55756
55925
  "valid_values": [
55757
- "5506023",
55758
- "5506024"
55926
+ "4512345",
55927
+ "4512346"
55759
55928
  ]
55760
55929
  }
55761
55930
  }
@@ -56093,7 +56262,7 @@
56093
56262
  "value": {
56094
56263
  "error": {
56095
56264
  "code": "listing_inactive",
56096
- "message": "Listing 4019 is inactive.",
56265
+ "message": "Listing 98765 is inactive.",
56097
56266
  "fix": "Activate the listing, then send the request again.",
56098
56267
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
56099
56268
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -56120,14 +56289,14 @@
56120
56289
  "value": {
56121
56290
  "error": {
56122
56291
  "code": "ambiguous_vrbo_unit",
56123
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
56292
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
56124
56293
  "fix": "Name one with `?vrboListingNumber=`.",
56125
56294
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
56126
56295
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
56127
56296
  "field": "vrboListingNumber",
56128
56297
  "valid_values": [
56129
- "5506023",
56130
- "5506024"
56298
+ "4512345",
56299
+ "4512346"
56131
56300
  ]
56132
56301
  }
56133
56302
  }
@@ -56553,14 +56722,14 @@
56553
56722
  "value": {
56554
56723
  "error": {
56555
56724
  "code": "ambiguous_vrbo_unit",
56556
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
56725
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
56557
56726
  "fix": "Name one with `?vrboListingNumber=`.",
56558
56727
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
56559
56728
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
56560
56729
  "field": "vrboListingNumber",
56561
56730
  "valid_values": [
56562
- "5506023",
56563
- "5506024"
56731
+ "4512345",
56732
+ "4512346"
56564
56733
  ]
56565
56734
  }
56566
56735
  }
@@ -57060,7 +57229,7 @@
57060
57229
  "value": {
57061
57230
  "error": {
57062
57231
  "code": "listing_inactive",
57063
- "message": "Listing 4019 is inactive.",
57232
+ "message": "Listing 98765 is inactive.",
57064
57233
  "fix": "Activate the listing, then send the request again.",
57065
57234
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
57066
57235
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -57087,14 +57256,14 @@
57087
57256
  "value": {
57088
57257
  "error": {
57089
57258
  "code": "ambiguous_vrbo_unit",
57090
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
57259
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
57091
57260
  "fix": "Name one with `?vrboListingNumber=`.",
57092
57261
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
57093
57262
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
57094
57263
  "field": "vrboListingNumber",
57095
57264
  "valid_values": [
57096
- "5506023",
57097
- "5506024"
57265
+ "4512345",
57266
+ "4512346"
57098
57267
  ]
57099
57268
  }
57100
57269
  }
@@ -57619,7 +57788,7 @@
57619
57788
  "value": {
57620
57789
  "error": {
57621
57790
  "code": "listing_inactive",
57622
- "message": "Listing 4019 is inactive.",
57791
+ "message": "Listing 98765 is inactive.",
57623
57792
  "fix": "Activate the listing, then send the request again.",
57624
57793
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
57625
57794
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -57646,14 +57815,14 @@
57646
57815
  "value": {
57647
57816
  "error": {
57648
57817
  "code": "ambiguous_vrbo_unit",
57649
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
57818
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
57650
57819
  "fix": "Name one with `?vrboListingNumber=`.",
57651
57820
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
57652
57821
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
57653
57822
  "field": "vrboListingNumber",
57654
57823
  "valid_values": [
57655
- "5506023",
57656
- "5506024"
57824
+ "4512345",
57825
+ "4512346"
57657
57826
  ]
57658
57827
  }
57659
57828
  }
@@ -58086,7 +58255,7 @@
58086
58255
  "value": {
58087
58256
  "error": {
58088
58257
  "code": "listing_inactive",
58089
- "message": "Listing 4019 is inactive.",
58258
+ "message": "Listing 98765 is inactive.",
58090
58259
  "fix": "Activate the listing, then send the request again.",
58091
58260
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
58092
58261
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -58113,14 +58282,14 @@
58113
58282
  "value": {
58114
58283
  "error": {
58115
58284
  "code": "ambiguous_vrbo_unit",
58116
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
58285
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
58117
58286
  "fix": "Name one with `?vrboListingNumber=`.",
58118
58287
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
58119
58288
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
58120
58289
  "field": "vrboListingNumber",
58121
58290
  "valid_values": [
58122
- "5506023",
58123
- "5506024"
58291
+ "4512345",
58292
+ "4512346"
58124
58293
  ]
58125
58294
  }
58126
58295
  }
@@ -58428,14 +58597,14 @@
58428
58597
  "value": {
58429
58598
  "error": {
58430
58599
  "code": "ambiguous_vrbo_unit",
58431
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
58600
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
58432
58601
  "fix": "Name one with `?vrboListingNumber=`.",
58433
58602
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
58434
58603
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
58435
58604
  "field": "vrboListingNumber",
58436
58605
  "valid_values": [
58437
- "5506023",
58438
- "5506024"
58606
+ "4512345",
58607
+ "4512346"
58439
58608
  ]
58440
58609
  }
58441
58610
  }
@@ -58736,7 +58905,7 @@
58736
58905
  "value": {
58737
58906
  "error": {
58738
58907
  "code": "listing_inactive",
58739
- "message": "Listing 4019 is inactive.",
58908
+ "message": "Listing 98765 is inactive.",
58740
58909
  "fix": "Activate the listing, then send the request again.",
58741
58910
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
58742
58911
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -58763,14 +58932,14 @@
58763
58932
  "value": {
58764
58933
  "error": {
58765
58934
  "code": "ambiguous_vrbo_unit",
58766
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
58935
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
58767
58936
  "fix": "Name one with `?vrboListingNumber=`.",
58768
58937
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
58769
58938
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
58770
58939
  "field": "vrboListingNumber",
58771
58940
  "valid_values": [
58772
- "5506023",
58773
- "5506024"
58941
+ "4512345",
58942
+ "4512346"
58774
58943
  ]
58775
58944
  }
58776
58945
  }
@@ -59100,14 +59269,14 @@
59100
59269
  "value": {
59101
59270
  "error": {
59102
59271
  "code": "ambiguous_vrbo_unit",
59103
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
59272
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
59104
59273
  "fix": "Name one with `?vrboListingNumber=`.",
59105
59274
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
59106
59275
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
59107
59276
  "field": "vrboListingNumber",
59108
59277
  "valid_values": [
59109
- "5506023",
59110
- "5506024"
59278
+ "4512345",
59279
+ "4512346"
59111
59280
  ]
59112
59281
  }
59113
59282
  }
@@ -59458,7 +59627,7 @@
59458
59627
  "value": {
59459
59628
  "error": {
59460
59629
  "code": "listing_inactive",
59461
- "message": "Listing 4019 is inactive.",
59630
+ "message": "Listing 98765 is inactive.",
59462
59631
  "fix": "Activate the listing, then send the request again.",
59463
59632
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
59464
59633
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -59485,14 +59654,14 @@
59485
59654
  "value": {
59486
59655
  "error": {
59487
59656
  "code": "ambiguous_vrbo_unit",
59488
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
59657
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
59489
59658
  "fix": "Name one with `?vrboListingNumber=`.",
59490
59659
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
59491
59660
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
59492
59661
  "field": "vrboListingNumber",
59493
59662
  "valid_values": [
59494
- "5506023",
59495
- "5506024"
59663
+ "4512345",
59664
+ "4512346"
59496
59665
  ]
59497
59666
  }
59498
59667
  }
@@ -59820,14 +59989,14 @@
59820
59989
  "value": {
59821
59990
  "error": {
59822
59991
  "code": "ambiguous_vrbo_unit",
59823
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
59992
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
59824
59993
  "fix": "Name one with `?vrboListingNumber=`.",
59825
59994
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
59826
59995
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
59827
59996
  "field": "vrboListingNumber",
59828
59997
  "valid_values": [
59829
- "5506023",
59830
- "5506024"
59998
+ "4512345",
59999
+ "4512346"
59831
60000
  ]
59832
60001
  }
59833
60002
  }
@@ -60148,7 +60317,7 @@
60148
60317
  "value": {
60149
60318
  "error": {
60150
60319
  "code": "listing_inactive",
60151
- "message": "Listing 4019 is inactive.",
60320
+ "message": "Listing 98765 is inactive.",
60152
60321
  "fix": "Activate the listing, then send the request again.",
60153
60322
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
60154
60323
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -60175,14 +60344,14 @@
60175
60344
  "value": {
60176
60345
  "error": {
60177
60346
  "code": "ambiguous_vrbo_unit",
60178
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
60347
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
60179
60348
  "fix": "Name one with `?vrboListingNumber=`.",
60180
60349
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
60181
60350
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
60182
60351
  "field": "vrboListingNumber",
60183
60352
  "valid_values": [
60184
- "5506023",
60185
- "5506024"
60353
+ "4512345",
60354
+ "4512346"
60186
60355
  ]
60187
60356
  }
60188
60357
  }
@@ -60517,7 +60686,7 @@
60517
60686
  "value": {
60518
60687
  "error": {
60519
60688
  "code": "listing_inactive",
60520
- "message": "Listing 4019 is inactive.",
60689
+ "message": "Listing 98765 is inactive.",
60521
60690
  "fix": "Activate the listing, then send the request again.",
60522
60691
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
60523
60692
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -60544,14 +60713,14 @@
60544
60713
  "value": {
60545
60714
  "error": {
60546
60715
  "code": "ambiguous_vrbo_unit",
60547
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
60716
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
60548
60717
  "fix": "Name one with `?vrboListingNumber=`.",
60549
60718
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
60550
60719
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
60551
60720
  "field": "vrboListingNumber",
60552
60721
  "valid_values": [
60553
- "5506023",
60554
- "5506024"
60722
+ "4512345",
60723
+ "4512346"
60555
60724
  ]
60556
60725
  }
60557
60726
  }
@@ -60891,14 +61060,14 @@
60891
61060
  "value": {
60892
61061
  "error": {
60893
61062
  "code": "ambiguous_vrbo_unit",
60894
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
61063
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
60895
61064
  "fix": "Name one with `?vrboListingNumber=`.",
60896
61065
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
60897
61066
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
60898
61067
  "field": "vrboListingNumber",
60899
61068
  "valid_values": [
60900
- "5506023",
60901
- "5506024"
61069
+ "4512345",
61070
+ "4512346"
60902
61071
  ]
60903
61072
  }
60904
61073
  }
@@ -61292,7 +61461,7 @@
61292
61461
  "value": {
61293
61462
  "error": {
61294
61463
  "code": "listing_inactive",
61295
- "message": "Listing 4019 is inactive.",
61464
+ "message": "Listing 98765 is inactive.",
61296
61465
  "fix": "Activate the listing, then send the request again.",
61297
61466
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
61298
61467
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -61332,14 +61501,14 @@
61332
61501
  "value": {
61333
61502
  "error": {
61334
61503
  "code": "ambiguous_vrbo_unit",
61335
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
61504
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
61336
61505
  "fix": "Name one with `?vrboListingNumber=`.",
61337
61506
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
61338
61507
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
61339
61508
  "field": "vrboListingNumber",
61340
61509
  "valid_values": [
61341
- "5506023",
61342
- "5506024"
61510
+ "4512345",
61511
+ "4512346"
61343
61512
  ]
61344
61513
  }
61345
61514
  }
@@ -61795,14 +61964,14 @@
61795
61964
  "value": {
61796
61965
  "error": {
61797
61966
  "code": "ambiguous_vrbo_unit",
61798
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
61967
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
61799
61968
  "fix": "Name one with `?vrboListingNumber=`.",
61800
61969
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
61801
61970
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
61802
61971
  "field": "vrboListingNumber",
61803
61972
  "valid_values": [
61804
- "5506023",
61805
- "5506024"
61973
+ "4512345",
61974
+ "4512346"
61806
61975
  ]
61807
61976
  }
61808
61977
  }
@@ -62344,7 +62513,7 @@
62344
62513
  "value": {
62345
62514
  "error": {
62346
62515
  "code": "listing_inactive",
62347
- "message": "Listing 4019 is inactive.",
62516
+ "message": "Listing 98765 is inactive.",
62348
62517
  "fix": "Activate the listing, then send the request again.",
62349
62518
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
62350
62519
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -62371,14 +62540,14 @@
62371
62540
  "value": {
62372
62541
  "error": {
62373
62542
  "code": "ambiguous_vrbo_unit",
62374
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
62543
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
62375
62544
  "fix": "Name one with `?vrboListingNumber=`.",
62376
62545
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
62377
62546
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
62378
62547
  "field": "vrboListingNumber",
62379
62548
  "valid_values": [
62380
- "5506023",
62381
- "5506024"
62549
+ "4512345",
62550
+ "4512346"
62382
62551
  ]
62383
62552
  }
62384
62553
  }
@@ -62685,14 +62854,14 @@
62685
62854
  "value": {
62686
62855
  "error": {
62687
62856
  "code": "ambiguous_vrbo_unit",
62688
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
62857
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
62689
62858
  "fix": "Name one with `?vrboListingNumber=`.",
62690
62859
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
62691
62860
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
62692
62861
  "field": "vrboListingNumber",
62693
62862
  "valid_values": [
62694
- "5506023",
62695
- "5506024"
62863
+ "4512345",
62864
+ "4512346"
62696
62865
  ]
62697
62866
  }
62698
62867
  }
@@ -63036,14 +63205,14 @@
63036
63205
  "value": {
63037
63206
  "error": {
63038
63207
  "code": "ambiguous_vrbo_unit",
63039
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
63208
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
63040
63209
  "fix": "Name one with `?vrboListingNumber=`.",
63041
63210
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
63042
63211
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
63043
63212
  "field": "vrboListingNumber",
63044
63213
  "valid_values": [
63045
- "5506023",
63046
- "5506024"
63214
+ "4512345",
63215
+ "4512346"
63047
63216
  ]
63048
63217
  }
63049
63218
  }
@@ -63389,7 +63558,7 @@
63389
63558
  "value": {
63390
63559
  "error": {
63391
63560
  "code": "listing_inactive",
63392
- "message": "Listing 4019 is inactive.",
63561
+ "message": "Listing 98765 is inactive.",
63393
63562
  "fix": "Activate the listing, then send the request again.",
63394
63563
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
63395
63564
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -63416,14 +63585,14 @@
63416
63585
  "value": {
63417
63586
  "error": {
63418
63587
  "code": "ambiguous_vrbo_unit",
63419
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
63588
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
63420
63589
  "fix": "Name one with `?vrboListingNumber=`.",
63421
63590
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
63422
63591
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
63423
63592
  "field": "vrboListingNumber",
63424
63593
  "valid_values": [
63425
- "5506023",
63426
- "5506024"
63594
+ "4512345",
63595
+ "4512346"
63427
63596
  ]
63428
63597
  }
63429
63598
  }
@@ -63777,7 +63946,7 @@
63777
63946
  "value": {
63778
63947
  "error": {
63779
63948
  "code": "listing_inactive",
63780
- "message": "Listing 4019 is inactive.",
63949
+ "message": "Listing 98765 is inactive.",
63781
63950
  "fix": "Activate the listing, then send the request again.",
63782
63951
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
63783
63952
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -63804,14 +63973,14 @@
63804
63973
  "value": {
63805
63974
  "error": {
63806
63975
  "code": "ambiguous_vrbo_unit",
63807
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
63976
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
63808
63977
  "fix": "Name one with `?vrboListingNumber=`.",
63809
63978
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
63810
63979
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
63811
63980
  "field": "vrboListingNumber",
63812
63981
  "valid_values": [
63813
- "5506023",
63814
- "5506024"
63982
+ "4512345",
63983
+ "4512346"
63815
63984
  ]
63816
63985
  }
63817
63986
  }
@@ -64152,14 +64321,14 @@
64152
64321
  "value": {
64153
64322
  "error": {
64154
64323
  "code": "ambiguous_vrbo_unit",
64155
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
64324
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
64156
64325
  "fix": "Name one with `?vrboListingNumber=`.",
64157
64326
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
64158
64327
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
64159
64328
  "field": "vrboListingNumber",
64160
64329
  "valid_values": [
64161
- "5506023",
64162
- "5506024"
64330
+ "4512345",
64331
+ "4512346"
64163
64332
  ]
64164
64333
  }
64165
64334
  }
@@ -64523,7 +64692,7 @@
64523
64692
  "value": {
64524
64693
  "error": {
64525
64694
  "code": "listing_inactive",
64526
- "message": "Listing 4019 is inactive.",
64695
+ "message": "Listing 98765 is inactive.",
64527
64696
  "fix": "Activate the listing, then send the request again.",
64528
64697
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
64529
64698
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -64550,14 +64719,14 @@
64550
64719
  "value": {
64551
64720
  "error": {
64552
64721
  "code": "ambiguous_vrbo_unit",
64553
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
64722
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
64554
64723
  "fix": "Name one with `?vrboListingNumber=`.",
64555
64724
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
64556
64725
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
64557
64726
  "field": "vrboListingNumber",
64558
64727
  "valid_values": [
64559
- "5506023",
64560
- "5506024"
64728
+ "4512345",
64729
+ "4512346"
64561
64730
  ]
64562
64731
  }
64563
64732
  }
@@ -64886,14 +65055,14 @@
64886
65055
  "value": {
64887
65056
  "error": {
64888
65057
  "code": "ambiguous_vrbo_unit",
64889
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
65058
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
64890
65059
  "fix": "Name one with `?vrboListingNumber=`.",
64891
65060
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
64892
65061
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
64893
65062
  "field": "vrboListingNumber",
64894
65063
  "valid_values": [
64895
- "5506023",
64896
- "5506024"
65064
+ "4512345",
65065
+ "4512346"
64897
65066
  ]
64898
65067
  }
64899
65068
  }
@@ -65245,7 +65414,7 @@
65245
65414
  "value": {
65246
65415
  "error": {
65247
65416
  "code": "listing_inactive",
65248
- "message": "Listing 4019 is inactive.",
65417
+ "message": "Listing 98765 is inactive.",
65249
65418
  "fix": "Activate the listing, then send the request again.",
65250
65419
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
65251
65420
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -65272,14 +65441,14 @@
65272
65441
  "value": {
65273
65442
  "error": {
65274
65443
  "code": "ambiguous_vrbo_unit",
65275
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
65444
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
65276
65445
  "fix": "Name one with `?vrboListingNumber=`.",
65277
65446
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
65278
65447
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
65279
65448
  "field": "vrboListingNumber",
65280
65449
  "valid_values": [
65281
- "5506023",
65282
- "5506024"
65450
+ "4512345",
65451
+ "4512346"
65283
65452
  ]
65284
65453
  }
65285
65454
  }
@@ -65650,7 +65819,7 @@
65650
65819
  "value": {
65651
65820
  "error": {
65652
65821
  "code": "listing_inactive",
65653
- "message": "Listing 4019 is inactive.",
65822
+ "message": "Listing 98765 is inactive.",
65654
65823
  "fix": "Activate the listing, then send the request again.",
65655
65824
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
65656
65825
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -65677,14 +65846,14 @@
65677
65846
  "value": {
65678
65847
  "error": {
65679
65848
  "code": "ambiguous_vrbo_unit",
65680
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
65849
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
65681
65850
  "fix": "Name one with `?vrboListingNumber=`.",
65682
65851
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
65683
65852
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
65684
65853
  "field": "vrboListingNumber",
65685
65854
  "valid_values": [
65686
- "5506023",
65687
- "5506024"
65855
+ "4512345",
65856
+ "4512346"
65688
65857
  ]
65689
65858
  }
65690
65859
  }
@@ -66064,7 +66233,7 @@
66064
66233
  "value": {
66065
66234
  "error": {
66066
66235
  "code": "listing_inactive",
66067
- "message": "Listing 4019 is inactive.",
66236
+ "message": "Listing 98765 is inactive.",
66068
66237
  "fix": "Activate the listing, then send the request again.",
66069
66238
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
66070
66239
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -66091,14 +66260,14 @@
66091
66260
  "value": {
66092
66261
  "error": {
66093
66262
  "code": "ambiguous_vrbo_unit",
66094
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
66263
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
66095
66264
  "fix": "Name one with `?vrboListingNumber=`.",
66096
66265
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
66097
66266
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
66098
66267
  "field": "vrboListingNumber",
66099
66268
  "valid_values": [
66100
- "5506023",
66101
- "5506024"
66269
+ "4512345",
66270
+ "4512346"
66102
66271
  ]
66103
66272
  }
66104
66273
  }
@@ -66489,14 +66658,14 @@
66489
66658
  "value": {
66490
66659
  "error": {
66491
66660
  "code": "ambiguous_vrbo_unit",
66492
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
66661
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
66493
66662
  "fix": "Name one with `?vrboListingNumber=`.",
66494
66663
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
66495
66664
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
66496
66665
  "field": "vrboListingNumber",
66497
66666
  "valid_values": [
66498
- "5506023",
66499
- "5506024"
66667
+ "4512345",
66668
+ "4512346"
66500
66669
  ]
66501
66670
  }
66502
66671
  }
@@ -66929,7 +67098,7 @@
66929
67098
  "value": {
66930
67099
  "error": {
66931
67100
  "code": "listing_inactive",
66932
- "message": "Listing 4019 is inactive.",
67101
+ "message": "Listing 98765 is inactive.",
66933
67102
  "fix": "Activate the listing, then send the request again.",
66934
67103
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
66935
67104
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
@@ -66956,14 +67125,14 @@
66956
67125
  "value": {
66957
67126
  "error": {
66958
67127
  "code": "ambiguous_vrbo_unit",
66959
- "message": "Listing 4019 is linked to 2 Vrbo listings.",
67128
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
66960
67129
  "fix": "Name one with `?vrboListingNumber=`.",
66961
67130
  "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
66962
67131
  "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
66963
67132
  "field": "vrboListingNumber",
66964
67133
  "valid_values": [
66965
- "5506023",
66966
- "5506024"
67134
+ "4512345",
67135
+ "4512346"
66967
67136
  ]
66968
67137
  }
66969
67138
  }
@@ -67148,8 +67317,8 @@
67148
67317
  },
67149
67318
  "vrboListingNumber": {
67150
67319
  "type": "string",
67151
- "example": "5506023",
67152
- "description": "The number in the Vrbo URL (vrbo.com/5506023)."
67320
+ "example": "4512345",
67321
+ "description": "The number in the Vrbo URL (vrbo.com/4512345)."
67153
67322
  },
67154
67323
  "unitId": {
67155
67324
  "type": "string",
@@ -67737,12 +67906,12 @@
67737
67906
  "properties": {
67738
67907
  "vrboListingNumber": {
67739
67908
  "type": "string",
67740
- "example": "5506023",
67741
- "description": "The number in the Vrbo URL (vrbo.com/5506023)."
67909
+ "example": "4512345",
67910
+ "description": "The number in the Vrbo URL (vrbo.com/4512345)."
67742
67911
  },
67743
67912
  "listingId": {
67744
67913
  "type": "integer",
67745
- "example": 6199,
67914
+ "example": 98765,
67746
67915
  "description": "The Repull listing to link it to. Or `create: true`."
67747
67916
  },
67748
67917
  "create": {
@@ -67761,8 +67930,8 @@
67761
67930
  }
67762
67931
  },
67763
67932
  "example": {
67764
- "vrboListingNumber": "5506023",
67765
- "listingId": 6199
67933
+ "vrboListingNumber": "4512345",
67934
+ "listingId": 98765
67766
67935
  }
67767
67936
  }
67768
67937
  }
@@ -69862,6 +70031,2984 @@
69862
70031
  }
69863
70032
  }
69864
70033
  }
70034
+ },
70035
+ "/v1/channels/airbnb/listings/{id}/cancellation": {
70036
+ "get": {
70037
+ "operationId": "get_airbnb_listing_cancellation",
70038
+ "summary": "Get the Airbnb cancellation policy",
70039
+ "description": "The short-stay and long-stay cancellation policies and the non-refundable option \u2014 the same section as `GET /v1/channels/vrbo/listings/{id}/cancellation`, and the `cancellation` of `GET \u2026/booking-settings`. **Repull's stored copy**, like every Airbnb read: check `dataFreshness` before treating a value as current. `POST /v1/listings/{id}/pull/airbnb` refreshes it from Airbnb.\n\nReturns `404` when the listing has no Airbnb connection in this workspace, and `403 listing_inactive` when the listing is inactive.",
70040
+ "tags": [
70041
+ "Airbnb"
70042
+ ],
70043
+ "parameters": [
70044
+ {
70045
+ "name": "id",
70046
+ "in": "path",
70047
+ "required": true,
70048
+ "schema": {
70049
+ "type": "string"
70050
+ },
70051
+ "description": "Repull listing id (numeric string), not the Airbnb listing id."
70052
+ }
70053
+ ],
70054
+ "responses": {
70055
+ "200": {
70056
+ "description": "Cancellation policy",
70057
+ "content": {
70058
+ "application/json": {
70059
+ "schema": {
70060
+ "type": "object",
70061
+ "properties": {
70062
+ "data": {
70063
+ "type": "object",
70064
+ "properties": {
70065
+ "shortStayPolicy": {
70066
+ "type": "string",
70067
+ "nullable": true,
70068
+ "enum": [
70069
+ "flexible",
70070
+ "moderate",
70071
+ "firm",
70072
+ "strict",
70073
+ "super_strict"
70074
+ ],
70075
+ "description": "Policy for stays under 28 nights."
70076
+ },
70077
+ "longStayPolicy": {
70078
+ "type": "string",
70079
+ "nullable": true,
70080
+ "description": "Airbnb's long-term-stay policy id (28+ nights)."
70081
+ },
70082
+ "nonRefundable": {
70083
+ "type": "object",
70084
+ "properties": {
70085
+ "enabled": {
70086
+ "type": "boolean",
70087
+ "nullable": true
70088
+ },
70089
+ "discountPercent": {
70090
+ "type": "integer",
70091
+ "nullable": true,
70092
+ "minimum": 0,
70093
+ "maximum": 30
70094
+ },
70095
+ "priceFactor": {
70096
+ "type": "number",
70097
+ "nullable": true
70098
+ }
70099
+ }
70100
+ }
70101
+ }
70102
+ },
70103
+ "dataFreshness": {
70104
+ "$ref": "#/components/schemas/AirbnbDataFreshness"
70105
+ }
70106
+ },
70107
+ "required": [
70108
+ "data",
70109
+ "dataFreshness"
70110
+ ]
70111
+ }
70112
+ }
70113
+ }
70114
+ },
70115
+ "401": {
70116
+ "$ref": "#/components/responses/Unauthorized"
70117
+ },
70118
+ "403": {
70119
+ "$ref": "#/components/responses/ListingInactive"
70120
+ },
70121
+ "404": {
70122
+ "$ref": "#/components/responses/NotFound"
70123
+ },
70124
+ "500": {
70125
+ "$ref": "#/components/responses/InternalError"
70126
+ }
70127
+ }
70128
+ },
70129
+ "put": {
70130
+ "operationId": "update_airbnb_listing_cancellation",
70131
+ "summary": "Update the Airbnb cancellation policy",
70132
+ "description": "Set any of `shortStayPolicy`, `longStayPolicy`, `nonRefundable` (`{ enabled, discountPercent }`, 0\u201330%). The same write as `PUT \u2026/booking-settings` `{ \"cancellation\": \u2026 }`; the answer is the policy Airbnb holds after it.\n\nReturns `404` when the listing has no Airbnb connection in this workspace, and `403 listing_inactive` when the listing is inactive.",
70133
+ "tags": [
70134
+ "Airbnb"
70135
+ ],
70136
+ "parameters": [
70137
+ {
70138
+ "name": "id",
70139
+ "in": "path",
70140
+ "required": true,
70141
+ "schema": {
70142
+ "type": "string"
70143
+ },
70144
+ "description": "Repull listing id (numeric string), not the Airbnb listing id."
70145
+ }
70146
+ ],
70147
+ "requestBody": {
70148
+ "required": true,
70149
+ "content": {
70150
+ "application/json": {
70151
+ "schema": {
70152
+ "type": "object",
70153
+ "properties": {
70154
+ "shortStayPolicy": {
70155
+ "type": "string",
70156
+ "nullable": true,
70157
+ "enum": [
70158
+ "flexible",
70159
+ "moderate",
70160
+ "firm",
70161
+ "strict",
70162
+ "super_strict"
70163
+ ]
70164
+ },
70165
+ "longStayPolicy": {
70166
+ "type": "string",
70167
+ "nullable": true
70168
+ },
70169
+ "nonRefundable": {
70170
+ "type": "object",
70171
+ "properties": {
70172
+ "enabled": {
70173
+ "type": "boolean",
70174
+ "nullable": true
70175
+ },
70176
+ "discountPercent": {
70177
+ "type": "integer",
70178
+ "nullable": true,
70179
+ "minimum": 0,
70180
+ "maximum": 30
70181
+ }
70182
+ },
70183
+ "additionalProperties": false
70184
+ }
70185
+ },
70186
+ "additionalProperties": false
70187
+ },
70188
+ "example": {
70189
+ "shortStayPolicy": "moderate",
70190
+ "nonRefundable": {
70191
+ "enabled": true,
70192
+ "discountPercent": 10
70193
+ }
70194
+ }
70195
+ }
70196
+ }
70197
+ },
70198
+ "responses": {
70199
+ "200": {
70200
+ "description": "Saved on Airbnb",
70201
+ "content": {
70202
+ "application/json": {
70203
+ "schema": {
70204
+ "type": "object",
70205
+ "properties": {
70206
+ "data": {
70207
+ "type": "object",
70208
+ "properties": {
70209
+ "applied": {
70210
+ "type": "array",
70211
+ "items": {
70212
+ "type": "string"
70213
+ }
70214
+ },
70215
+ "cancellation": {
70216
+ "type": "object",
70217
+ "properties": {
70218
+ "shortStayPolicy": {
70219
+ "type": "string",
70220
+ "nullable": true,
70221
+ "enum": [
70222
+ "flexible",
70223
+ "moderate",
70224
+ "firm",
70225
+ "strict",
70226
+ "super_strict"
70227
+ ],
70228
+ "description": "Policy for stays under 28 nights."
70229
+ },
70230
+ "longStayPolicy": {
70231
+ "type": "string",
70232
+ "nullable": true,
70233
+ "description": "Airbnb's long-term-stay policy id (28+ nights)."
70234
+ },
70235
+ "nonRefundable": {
70236
+ "type": "object",
70237
+ "properties": {
70238
+ "enabled": {
70239
+ "type": "boolean",
70240
+ "nullable": true
70241
+ },
70242
+ "discountPercent": {
70243
+ "type": "integer",
70244
+ "nullable": true,
70245
+ "minimum": 0,
70246
+ "maximum": 30
70247
+ },
70248
+ "priceFactor": {
70249
+ "type": "number",
70250
+ "nullable": true
70251
+ }
70252
+ }
70253
+ }
70254
+ }
70255
+ }
70256
+ }
70257
+ }
70258
+ },
70259
+ "additionalProperties": true
70260
+ }
70261
+ }
70262
+ }
70263
+ },
70264
+ "401": {
70265
+ "$ref": "#/components/responses/Unauthorized"
70266
+ },
70267
+ "403": {
70268
+ "$ref": "#/components/responses/AirbnbWriteForbidden"
70269
+ },
70270
+ "404": {
70271
+ "$ref": "#/components/responses/NotFound"
70272
+ },
70273
+ "422": {
70274
+ "$ref": "#/components/responses/AirbnbWriteRejected"
70275
+ },
70276
+ "429": {
70277
+ "$ref": "#/components/responses/AirbnbRateLimited"
70278
+ },
70279
+ "502": {
70280
+ "$ref": "#/components/responses/AirbnbUpstreamError"
70281
+ }
70282
+ }
70283
+ }
70284
+ },
70285
+ "/v1/channels/airbnb/listings/{id}/fees": {
70286
+ "get": {
70287
+ "operationId": "get_airbnb_listing_fees",
70288
+ "summary": "Get Airbnb fees",
70289
+ "description": "The listing's Airbnb fees (cleaning, pets, extra guests, management, linens, \u2026) \u2014 the same section as `GET /v1/channels/vrbo/listings/{id}/fees`, and the `fees` of `GET \u2026/pricing`. **Repull's stored copy**, like every Airbnb read: check `dataFreshness` before treating a value as current. `POST /v1/listings/{id}/pull/airbnb` refreshes it from Airbnb.\n\nReturns `404` when the listing has no Airbnb connection in this workspace, and `403 listing_inactive` when the listing is inactive.",
70290
+ "tags": [
70291
+ "Airbnb"
70292
+ ],
70293
+ "parameters": [
70294
+ {
70295
+ "name": "id",
70296
+ "in": "path",
70297
+ "required": true,
70298
+ "schema": {
70299
+ "type": "string"
70300
+ },
70301
+ "description": "Repull listing id (numeric string), not the Airbnb listing id."
70302
+ }
70303
+ ],
70304
+ "responses": {
70305
+ "200": {
70306
+ "description": "Fees",
70307
+ "content": {
70308
+ "application/json": {
70309
+ "schema": {
70310
+ "type": "object",
70311
+ "properties": {
70312
+ "data": {
70313
+ "type": "array",
70314
+ "items": {
70315
+ "type": "object",
70316
+ "properties": {
70317
+ "fee_type": {
70318
+ "type": "string",
70319
+ "example": "PASS_THROUGH_CLEANING_FEE"
70320
+ },
70321
+ "amount": {
70322
+ "type": "number",
70323
+ "nullable": true
70324
+ },
70325
+ "amount_type": {
70326
+ "type": "string",
70327
+ "enum": [
70328
+ "flat",
70329
+ "percent"
70330
+ ]
70331
+ },
70332
+ "charge_type": {
70333
+ "type": "string",
70334
+ "enum": [
70335
+ "PER_GROUP",
70336
+ "PER_PERSON",
70337
+ "PER_PET"
70338
+ ]
70339
+ },
70340
+ "charge_period": {
70341
+ "type": "string",
70342
+ "enum": [
70343
+ "PER_BOOKING",
70344
+ "PER_NIGHT"
70345
+ ]
70346
+ },
70347
+ "offline": {
70348
+ "type": "boolean"
70349
+ }
70350
+ },
70351
+ "additionalProperties": true
70352
+ }
70353
+ },
70354
+ "dataFreshness": {
70355
+ "$ref": "#/components/schemas/AirbnbDataFreshness"
70356
+ }
70357
+ },
70358
+ "required": [
70359
+ "data",
70360
+ "dataFreshness"
70361
+ ]
70362
+ }
70363
+ }
70364
+ }
70365
+ },
70366
+ "401": {
70367
+ "$ref": "#/components/responses/Unauthorized"
70368
+ },
70369
+ "403": {
70370
+ "$ref": "#/components/responses/ListingInactive"
70371
+ },
70372
+ "404": {
70373
+ "$ref": "#/components/responses/NotFound"
70374
+ },
70375
+ "500": {
70376
+ "$ref": "#/components/responses/InternalError"
70377
+ }
70378
+ }
70379
+ },
70380
+ "put": {
70381
+ "operationId": "update_airbnb_listing_fees",
70382
+ "summary": "Update Airbnb fees",
70383
+ "description": "Set Airbnb fees by type: each fee you send replaces that type, the others are kept. The same write as `PUT \u2026/pricing` `{ \"type\": \"fees\", \"fees\": [\u2026] }`; `amount: null` removes a fee. `fee_type` is Airbnb's (`PASS_THROUGH_CLEANING_FEE`, `PASS_THROUGH_PET_FEE`, `PASS_THROUGH_SHORT_TERM_CLEANING_FEE`, \u2026).\n\nReturns `404` when the listing has no Airbnb connection in this workspace, and `403 listing_inactive` when the listing is inactive.",
70384
+ "tags": [
70385
+ "Airbnb"
70386
+ ],
70387
+ "parameters": [
70388
+ {
70389
+ "name": "id",
70390
+ "in": "path",
70391
+ "required": true,
70392
+ "schema": {
70393
+ "type": "string"
70394
+ },
70395
+ "description": "Repull listing id (numeric string), not the Airbnb listing id."
70396
+ }
70397
+ ],
70398
+ "requestBody": {
70399
+ "required": true,
70400
+ "content": {
70401
+ "application/json": {
70402
+ "schema": {
70403
+ "type": "object",
70404
+ "properties": {
70405
+ "fees": {
70406
+ "type": "array",
70407
+ "items": {
70408
+ "type": "object",
70409
+ "properties": {
70410
+ "fee_type": {
70411
+ "type": "string",
70412
+ "example": "PASS_THROUGH_CLEANING_FEE"
70413
+ },
70414
+ "amount": {
70415
+ "type": "number",
70416
+ "nullable": true
70417
+ },
70418
+ "amount_type": {
70419
+ "type": "string",
70420
+ "enum": [
70421
+ "flat",
70422
+ "percent"
70423
+ ]
70424
+ },
70425
+ "charge_type": {
70426
+ "type": "string",
70427
+ "enum": [
70428
+ "PER_GROUP",
70429
+ "PER_PERSON",
70430
+ "PER_PET"
70431
+ ]
70432
+ },
70433
+ "charge_period": {
70434
+ "type": "string",
70435
+ "enum": [
70436
+ "PER_BOOKING",
70437
+ "PER_NIGHT"
70438
+ ]
70439
+ },
70440
+ "offline": {
70441
+ "type": "boolean"
70442
+ }
70443
+ },
70444
+ "additionalProperties": true
70445
+ },
70446
+ "minItems": 1
70447
+ }
70448
+ },
70449
+ "required": [
70450
+ "fees"
70451
+ ],
70452
+ "additionalProperties": false
70453
+ },
70454
+ "example": {
70455
+ "fees": [
70456
+ {
70457
+ "fee_type": "PASS_THROUGH_CLEANING_FEE",
70458
+ "amount": 90,
70459
+ "amount_type": "flat"
70460
+ }
70461
+ ]
70462
+ }
70463
+ }
70464
+ }
70465
+ },
70466
+ "responses": {
70467
+ "200": {
70468
+ "description": "Saved on Airbnb",
70469
+ "content": {
70470
+ "application/json": {
70471
+ "schema": {
70472
+ "type": "object",
70473
+ "properties": {
70474
+ "data": {
70475
+ "type": "object",
70476
+ "additionalProperties": true,
70477
+ "description": "Airbnb's pricing settings after the write."
70478
+ }
70479
+ },
70480
+ "additionalProperties": true
70481
+ }
70482
+ }
70483
+ }
70484
+ },
70485
+ "401": {
70486
+ "$ref": "#/components/responses/Unauthorized"
70487
+ },
70488
+ "403": {
70489
+ "$ref": "#/components/responses/AirbnbWriteForbidden"
70490
+ },
70491
+ "404": {
70492
+ "$ref": "#/components/responses/NotFound"
70493
+ },
70494
+ "422": {
70495
+ "$ref": "#/components/responses/AirbnbWriteRejected"
70496
+ },
70497
+ "429": {
70498
+ "$ref": "#/components/responses/AirbnbRateLimited"
70499
+ },
70500
+ "502": {
70501
+ "$ref": "#/components/responses/AirbnbUpstreamError"
70502
+ }
70503
+ }
70504
+ }
70505
+ },
70506
+ "/v1/channels/airbnb/listings/{id}/house-rules": {
70507
+ "get": {
70508
+ "operationId": "get_airbnb_house_rules",
70509
+ "summary": "Get Airbnb house rules",
70510
+ "description": "The listing's house rules under the names Vrbo's `GET /v1/channels/vrbo/listings/{id}/house-rules` uses: check-in and check-out times, guest capacity, whether children, infants, pets, smoking and events are allowed, Airbnb's \"things to know\" (`expectations`), and the written rules per language. **Repull's stored copy**, like every Airbnb read: check `dataFreshness` before treating a value as current. `POST /v1/listings/{id}/pull/airbnb` refreshes it from Airbnb.\n\nReturns `404` when the listing has no Airbnb connection in this workspace, and `403 listing_inactive` when the listing is inactive.",
70511
+ "tags": [
70512
+ "Airbnb"
70513
+ ],
70514
+ "parameters": [
70515
+ {
70516
+ "name": "id",
70517
+ "in": "path",
70518
+ "required": true,
70519
+ "schema": {
70520
+ "type": "string"
70521
+ },
70522
+ "description": "Repull listing id (numeric string), not the Airbnb listing id."
70523
+ }
70524
+ ],
70525
+ "responses": {
70526
+ "200": {
70527
+ "description": "House rules",
70528
+ "content": {
70529
+ "application/json": {
70530
+ "schema": {
70531
+ "type": "object",
70532
+ "properties": {
70533
+ "data": {
70534
+ "type": "object",
70535
+ "properties": {
70536
+ "checkInTime": {
70537
+ "type": "string",
70538
+ "nullable": true,
70539
+ "example": "16:00",
70540
+ "description": "Earliest check-in, `HH:00` or `FLEXIBLE`."
70541
+ },
70542
+ "checkInTimeEnd": {
70543
+ "type": "string",
70544
+ "nullable": true,
70545
+ "example": "22:00",
70546
+ "description": "Latest check-in (Airbnb only)."
70547
+ },
70548
+ "checkOutTime": {
70549
+ "type": "string",
70550
+ "nullable": true,
70551
+ "example": "11:00"
70552
+ },
70553
+ "maxGuests": {
70554
+ "type": "integer",
70555
+ "nullable": true
70556
+ },
70557
+ "children": {
70558
+ "type": "object",
70559
+ "properties": {
70560
+ "allowed": {
70561
+ "type": "boolean",
70562
+ "nullable": true
70563
+ }
70564
+ }
70565
+ },
70566
+ "infants": {
70567
+ "type": "object",
70568
+ "properties": {
70569
+ "allowed": {
70570
+ "type": "boolean",
70571
+ "nullable": true
70572
+ }
70573
+ }
70574
+ },
70575
+ "pets": {
70576
+ "type": "object",
70577
+ "properties": {
70578
+ "allowed": {
70579
+ "type": "boolean",
70580
+ "nullable": true
70581
+ }
70582
+ }
70583
+ },
70584
+ "smoking": {
70585
+ "type": "object",
70586
+ "properties": {
70587
+ "allowed": {
70588
+ "type": "boolean",
70589
+ "nullable": true
70590
+ }
70591
+ }
70592
+ },
70593
+ "events": {
70594
+ "type": "object",
70595
+ "properties": {
70596
+ "allowed": {
70597
+ "type": "boolean",
70598
+ "nullable": true
70599
+ }
70600
+ }
70601
+ },
70602
+ "expectations": {
70603
+ "type": "array",
70604
+ "items": {
70605
+ "type": "object",
70606
+ "additionalProperties": true
70607
+ }
70608
+ },
70609
+ "houseRules": {
70610
+ "type": "array",
70611
+ "items": {
70612
+ "type": "object",
70613
+ "properties": {
70614
+ "locale": {
70615
+ "type": "string",
70616
+ "nullable": true
70617
+ },
70618
+ "text": {
70619
+ "type": "string",
70620
+ "nullable": true
70621
+ },
70622
+ "additionalRules": {
70623
+ "nullable": true
70624
+ }
70625
+ }
70626
+ }
70627
+ }
70628
+ }
70629
+ },
70630
+ "dataFreshness": {
70631
+ "$ref": "#/components/schemas/AirbnbDataFreshness"
70632
+ }
70633
+ },
70634
+ "required": [
70635
+ "data",
70636
+ "dataFreshness"
70637
+ ]
70638
+ }
70639
+ }
70640
+ }
70641
+ },
70642
+ "401": {
70643
+ "$ref": "#/components/responses/Unauthorized"
70644
+ },
70645
+ "403": {
70646
+ "$ref": "#/components/responses/ListingInactive"
70647
+ },
70648
+ "404": {
70649
+ "$ref": "#/components/responses/NotFound"
70650
+ },
70651
+ "500": {
70652
+ "$ref": "#/components/responses/InternalError"
70653
+ }
70654
+ }
70655
+ },
70656
+ "put": {
70657
+ "operationId": "update_airbnb_house_rules",
70658
+ "summary": "Update Airbnb house rules",
70659
+ "description": "Write the house rules text for one language \u2014 the same write as `PUT \u2026/descriptions` `{ locale, description: { house_rules } }`, with the same answer (`written`, `blockedFields`). On Airbnb the check-in and check-out times are booking settings: set them with `PUT \u2026/booking-settings`. Whether pets, smoking, events or children are allowed is set in the Airbnb app.\n\nReturns `404` when the listing has no Airbnb connection in this workspace, and `403 listing_inactive` when the listing is inactive.",
70660
+ "tags": [
70661
+ "Airbnb"
70662
+ ],
70663
+ "parameters": [
70664
+ {
70665
+ "name": "id",
70666
+ "in": "path",
70667
+ "required": true,
70668
+ "schema": {
70669
+ "type": "string"
70670
+ },
70671
+ "description": "Repull listing id (numeric string), not the Airbnb listing id."
70672
+ }
70673
+ ],
70674
+ "requestBody": {
70675
+ "required": true,
70676
+ "content": {
70677
+ "application/json": {
70678
+ "schema": {
70679
+ "type": "object",
70680
+ "properties": {
70681
+ "locale": {
70682
+ "type": "string",
70683
+ "example": "en"
70684
+ },
70685
+ "houseRules": {
70686
+ "type": "string",
70687
+ "nullable": true,
70688
+ "maxLength": 5000
70689
+ }
70690
+ },
70691
+ "required": [
70692
+ "locale",
70693
+ "houseRules"
70694
+ ],
70695
+ "additionalProperties": false
70696
+ },
70697
+ "example": {
70698
+ "locale": "en",
70699
+ "houseRules": "No parties. Quiet hours 22:00\u201308:00."
70700
+ }
70701
+ }
70702
+ }
70703
+ },
70704
+ "responses": {
70705
+ "200": {
70706
+ "description": "Saved on Airbnb",
70707
+ "content": {
70708
+ "application/json": {
70709
+ "schema": {
70710
+ "type": "object",
70711
+ "properties": {
70712
+ "listingId": {
70713
+ "type": "string"
70714
+ },
70715
+ "airbnbListingId": {
70716
+ "type": "string"
70717
+ },
70718
+ "locale": {
70719
+ "type": "string"
70720
+ },
70721
+ "written": {
70722
+ "type": "array",
70723
+ "items": {
70724
+ "type": "string"
70725
+ }
70726
+ },
70727
+ "blockedFields": {
70728
+ "type": "array",
70729
+ "items": {
70730
+ "type": "string"
70731
+ }
70732
+ }
70733
+ },
70734
+ "additionalProperties": true
70735
+ }
70736
+ }
70737
+ }
70738
+ },
70739
+ "401": {
70740
+ "$ref": "#/components/responses/Unauthorized"
70741
+ },
70742
+ "403": {
70743
+ "$ref": "#/components/responses/AirbnbWriteForbidden"
70744
+ },
70745
+ "404": {
70746
+ "$ref": "#/components/responses/NotFound"
70747
+ },
70748
+ "422": {
70749
+ "$ref": "#/components/responses/AirbnbWriteRejected"
70750
+ },
70751
+ "429": {
70752
+ "$ref": "#/components/responses/AirbnbRateLimited"
70753
+ },
70754
+ "502": {
70755
+ "$ref": "#/components/responses/AirbnbUpstreamError"
70756
+ }
70757
+ }
70758
+ }
70759
+ },
70760
+ "/v1/channels/airbnb/listings/{id}/location": {
70761
+ "get": {
70762
+ "operationId": "get_airbnb_location",
70763
+ "summary": "Get the Airbnb location",
70764
+ "description": "The listing's address, map pin, directions and whether guests see the exact location \u2014 the same section as `GET /v1/channels/vrbo/listings/{id}/location`. Read-only: Airbnb changes a listed address only in its own flow in the host app (`addressEditable: false`). **Repull's stored copy**, like every Airbnb read: check `dataFreshness` before treating a value as current. `POST /v1/listings/{id}/pull/airbnb` refreshes it from Airbnb.\n\nReturns `404` when the listing has no Airbnb connection in this workspace, and `403 listing_inactive` when the listing is inactive.",
70765
+ "tags": [
70766
+ "Airbnb"
70767
+ ],
70768
+ "parameters": [
70769
+ {
70770
+ "name": "id",
70771
+ "in": "path",
70772
+ "required": true,
70773
+ "schema": {
70774
+ "type": "string"
70775
+ },
70776
+ "description": "Repull listing id (numeric string), not the Airbnb listing id."
70777
+ }
70778
+ ],
70779
+ "responses": {
70780
+ "200": {
70781
+ "description": "Location",
70782
+ "content": {
70783
+ "application/json": {
70784
+ "schema": {
70785
+ "type": "object",
70786
+ "properties": {
70787
+ "data": {
70788
+ "type": "object",
70789
+ "properties": {
70790
+ "address": {
70791
+ "type": "object",
70792
+ "properties": {
70793
+ "apt": {
70794
+ "type": "string",
70795
+ "nullable": true
70796
+ },
70797
+ "street": {
70798
+ "type": "string",
70799
+ "nullable": true
70800
+ },
70801
+ "city": {
70802
+ "type": "string",
70803
+ "nullable": true
70804
+ },
70805
+ "state": {
70806
+ "type": "string",
70807
+ "nullable": true
70808
+ },
70809
+ "postalCode": {
70810
+ "type": "string",
70811
+ "nullable": true
70812
+ },
70813
+ "countryCode": {
70814
+ "type": "string",
70815
+ "nullable": true
70816
+ }
70817
+ },
70818
+ "nullable": true
70819
+ },
70820
+ "addressEditable": {
70821
+ "type": "boolean"
70822
+ },
70823
+ "lat": {
70824
+ "type": "number",
70825
+ "nullable": true
70826
+ },
70827
+ "lng": {
70828
+ "type": "number",
70829
+ "nullable": true
70830
+ },
70831
+ "showExactLocation": {
70832
+ "type": "boolean",
70833
+ "nullable": true
70834
+ },
70835
+ "directions": {
70836
+ "type": "string",
70837
+ "nullable": true
70838
+ }
70839
+ }
70840
+ },
70841
+ "dataFreshness": {
70842
+ "$ref": "#/components/schemas/AirbnbDataFreshness"
70843
+ }
70844
+ },
70845
+ "required": [
70846
+ "data",
70847
+ "dataFreshness"
70848
+ ]
70849
+ }
70850
+ }
70851
+ }
70852
+ },
70853
+ "401": {
70854
+ "$ref": "#/components/responses/Unauthorized"
70855
+ },
70856
+ "403": {
70857
+ "$ref": "#/components/responses/ListingInactive"
70858
+ },
70859
+ "404": {
70860
+ "$ref": "#/components/responses/NotFound"
70861
+ },
70862
+ "500": {
70863
+ "$ref": "#/components/responses/InternalError"
70864
+ }
70865
+ }
70866
+ }
70867
+ },
70868
+ "/v1/channels/airbnb/listings/{id}/taxes": {
70869
+ "get": {
70870
+ "operationId": "get_airbnb_listing_taxes",
70871
+ "summary": "Get Airbnb taxes",
70872
+ "description": "The listing's taxes \u2014 host-remitted pass-through taxes and the taxes Airbnb collects itself, each with `source` (`pass_through` | `airbnb_collected`) \u2014 the same section as `GET /v1/channels/vrbo/listings/{id}/taxes`, and the `taxes` of `GET \u2026/pricing`. Read-only here: Airbnb's pass-through taxes are part of its pricing settings (`PUT \u2026/pricing` `{ \"type\": \"standard\" }`). **Repull's stored copy**, like every Airbnb read: check `dataFreshness` before treating a value as current. `POST /v1/listings/{id}/pull/airbnb` refreshes it from Airbnb.\n\nReturns `404` when the listing has no Airbnb connection in this workspace, and `403 listing_inactive` when the listing is inactive.",
70873
+ "tags": [
70874
+ "Airbnb"
70875
+ ],
70876
+ "parameters": [
70877
+ {
70878
+ "name": "id",
70879
+ "in": "path",
70880
+ "required": true,
70881
+ "schema": {
70882
+ "type": "string"
70883
+ },
70884
+ "description": "Repull listing id (numeric string), not the Airbnb listing id."
70885
+ }
70886
+ ],
70887
+ "responses": {
70888
+ "200": {
70889
+ "description": "Taxes",
70890
+ "content": {
70891
+ "application/json": {
70892
+ "schema": {
70893
+ "type": "object",
70894
+ "properties": {
70895
+ "data": {
70896
+ "type": "array",
70897
+ "items": {
70898
+ "type": "object",
70899
+ "properties": {
70900
+ "source": {
70901
+ "type": "string",
70902
+ "enum": [
70903
+ "pass_through",
70904
+ "airbnb_collected"
70905
+ ]
70906
+ }
70907
+ },
70908
+ "additionalProperties": true
70909
+ }
70910
+ },
70911
+ "dataFreshness": {
70912
+ "$ref": "#/components/schemas/AirbnbDataFreshness"
70913
+ }
70914
+ },
70915
+ "required": [
70916
+ "data",
70917
+ "dataFreshness"
70918
+ ]
70919
+ }
70920
+ }
70921
+ }
70922
+ },
70923
+ "401": {
70924
+ "$ref": "#/components/responses/Unauthorized"
70925
+ },
70926
+ "403": {
70927
+ "$ref": "#/components/responses/ListingInactive"
70928
+ },
70929
+ "404": {
70930
+ "$ref": "#/components/responses/NotFound"
70931
+ },
70932
+ "500": {
70933
+ "$ref": "#/components/responses/InternalError"
70934
+ }
70935
+ }
70936
+ }
70937
+ },
70938
+ "/v1/channels/vrbo/listings/{id}/settings": {
70939
+ "get": {
70940
+ "operationId": "getVrboListingSettings",
70941
+ "summary": "Get Vrbo listing settings",
70942
+ "description": "The counterpart of `GET /v1/channels/airbnb/listings/{id}/settings`: the languages the listing has a hand-written description in (`locales`), and with `?type=permits` its registration / licence (the `data` of `GET \u2026/permits`). `type=all` (default) returns `{ locales }`, `type=locales` the array.\n\nVrbo has no co-host roles, so `type=hosts` answers `422 not_available_on_vrbo`: a Vrbo listing belongs to the one Vrbo account it is in (`accountId` on `GET /v1/channels/vrbo/listings`).\n\nAnswers from Repull's stored copy of the listing's Vrbo content, like the Airbnb endpoints (`dataFreshness.lastSyncedAt` says when it was read from Vrbo). The first read of a section reads Vrbo and stores it; a copy over 24 h old answers and is refreshed in the background (`reason: refreshing`); every write through Repull stores what Vrbo has after it. `?source=live` reads Vrbo now.\n\nWorks with messaging or full access. Returns `404` when the listing is not linked to Vrbo, and `403 listing_inactive` when the listing is inactive.",
70943
+ "tags": [
70944
+ "VRBO"
70945
+ ],
70946
+ "parameters": [
70947
+ {
70948
+ "name": "id",
70949
+ "in": "path",
70950
+ "required": true,
70951
+ "schema": {
70952
+ "type": "string"
70953
+ },
70954
+ "description": "Repull listing id (numeric string) of a listing linked to Vrbo."
70955
+ },
70956
+ {
70957
+ "name": "type",
70958
+ "in": "query",
70959
+ "required": false,
70960
+ "schema": {
70961
+ "type": "string",
70962
+ "enum": [
70963
+ "all",
70964
+ "locales",
70965
+ "permits"
70966
+ ],
70967
+ "default": "all"
70968
+ },
70969
+ "description": "Which settings to return. `all` returns `{ locales }`."
70970
+ },
70971
+ {
70972
+ "name": "source",
70973
+ "in": "query",
70974
+ "required": false,
70975
+ "schema": {
70976
+ "type": "string",
70977
+ "enum": [
70978
+ "stored",
70979
+ "live"
70980
+ ],
70981
+ "default": "stored"
70982
+ },
70983
+ "description": "`stored` (default): Repull's copy, in milliseconds. `live`: read Vrbo now (seconds) and refresh the copy."
70984
+ },
70985
+ {
70986
+ "name": "vrboListingNumber",
70987
+ "in": "query",
70988
+ "required": false,
70989
+ "schema": {
70990
+ "type": "string"
70991
+ },
70992
+ "description": "The Vrbo listing number to work on, when the listing is linked to more than one Vrbo unit."
70993
+ }
70994
+ ],
70995
+ "responses": {
70996
+ "200": {
70997
+ "description": "The settings",
70998
+ "content": {
70999
+ "application/json": {
71000
+ "schema": {
71001
+ "type": "object",
71002
+ "properties": {
71003
+ "data": {
71004
+ "description": "The section as Vrbo has it.",
71005
+ "oneOf": [
71006
+ {
71007
+ "type": "object",
71008
+ "properties": {
71009
+ "locales": {
71010
+ "type": "array",
71011
+ "items": {
71012
+ "type": "string"
71013
+ }
71014
+ }
71015
+ }
71016
+ },
71017
+ {
71018
+ "type": "array",
71019
+ "items": {
71020
+ "type": "string"
71021
+ }
71022
+ },
71023
+ {
71024
+ "type": "object",
71025
+ "properties": {
71026
+ "status": {
71027
+ "type": "string",
71028
+ "nullable": true
71029
+ },
71030
+ "fields": {
71031
+ "type": "array",
71032
+ "items": {
71033
+ "type": "object",
71034
+ "properties": {
71035
+ "name": {
71036
+ "type": "string"
71037
+ },
71038
+ "label": {
71039
+ "type": "string",
71040
+ "nullable": true
71041
+ },
71042
+ "value": {
71043
+ "nullable": true
71044
+ },
71045
+ "options": {
71046
+ "type": "array",
71047
+ "items": {
71048
+ "type": "object",
71049
+ "properties": {
71050
+ "value": {
71051
+ "type": "string"
71052
+ },
71053
+ "label": {
71054
+ "type": "string",
71055
+ "nullable": true
71056
+ }
71057
+ }
71058
+ }
71059
+ }
71060
+ }
71061
+ }
71062
+ }
71063
+ }
71064
+ }
71065
+ ]
71066
+ },
71067
+ "dataFreshness": {
71068
+ "type": "object",
71069
+ "properties": {
71070
+ "lastSyncedAt": {
71071
+ "type": "string",
71072
+ "format": "date-time",
71073
+ "description": "When this data was read from Vrbo."
71074
+ },
71075
+ "stale": {
71076
+ "type": "boolean"
71077
+ },
71078
+ "reason": {
71079
+ "type": "string",
71080
+ "enum": [
71081
+ "ok",
71082
+ "refreshing",
71083
+ "reconnect_required"
71084
+ ],
71085
+ "description": "`refreshing`: the copy is over 24 h old and is being refreshed now \u2014 the next read has the new one. `reconnect_required`: Vrbo signed the account out; reconnect it (`fixUrl`)."
71086
+ },
71087
+ "fixUrl": {
71088
+ "type": "string"
71089
+ },
71090
+ "source": {
71091
+ "type": "string",
71092
+ "enum": [
71093
+ "stored",
71094
+ "live"
71095
+ ],
71096
+ "description": "`stored`: Repull's copy. `live`: read from Vrbo for this request."
71097
+ },
71098
+ "accounts": {
71099
+ "type": "array",
71100
+ "items": {
71101
+ "type": "object",
71102
+ "properties": {
71103
+ "accountId": {
71104
+ "type": "string",
71105
+ "nullable": true
71106
+ },
71107
+ "accountName": {
71108
+ "type": "string",
71109
+ "nullable": true
71110
+ },
71111
+ "lastSyncedAt": {
71112
+ "type": "string"
71113
+ },
71114
+ "stale": {
71115
+ "type": "boolean"
71116
+ },
71117
+ "reason": {
71118
+ "type": "string"
71119
+ },
71120
+ "fixUrl": {
71121
+ "type": "string"
71122
+ }
71123
+ }
71124
+ }
71125
+ }
71126
+ },
71127
+ "required": [
71128
+ "lastSyncedAt",
71129
+ "stale",
71130
+ "reason",
71131
+ "source",
71132
+ "accounts"
71133
+ ]
71134
+ },
71135
+ "vrboListingNumber": {
71136
+ "type": "string",
71137
+ "description": "The Vrbo listing number this is about."
71138
+ }
71139
+ },
71140
+ "required": [
71141
+ "data",
71142
+ "dataFreshness",
71143
+ "vrboListingNumber"
71144
+ ]
71145
+ }
71146
+ }
71147
+ }
71148
+ },
71149
+ "401": {
71150
+ "$ref": "#/components/responses/Unauthorized"
71151
+ },
71152
+ "403": {
71153
+ "$ref": "#/components/responses/ListingInactive"
71154
+ },
71155
+ "404": {
71156
+ "$ref": "#/components/responses/NotFound"
71157
+ },
71158
+ "409": {
71159
+ "description": "The listing is linked to several Vrbo units (name one), the property is not on the account any more, or the account was signed out.",
71160
+ "content": {
71161
+ "application/json": {
71162
+ "schema": {
71163
+ "$ref": "#/components/schemas/Error"
71164
+ },
71165
+ "examples": {
71166
+ "ambiguous": {
71167
+ "summary": "Several Vrbo units",
71168
+ "value": {
71169
+ "error": {
71170
+ "code": "ambiguous_vrbo_unit",
71171
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
71172
+ "fix": "Name one with `?vrboListingNumber=`.",
71173
+ "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
71174
+ "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
71175
+ "field": "vrboListingNumber",
71176
+ "valid_values": [
71177
+ "4512345",
71178
+ "4512346"
71179
+ ]
71180
+ }
71181
+ }
71182
+ },
71183
+ "sessionExpired": {
71184
+ "summary": "Signed out",
71185
+ "value": {
71186
+ "error": {
71187
+ "code": "vrbo_session_expired",
71188
+ "message": "Vrbo signed this account out \u2014 reconnect it.",
71189
+ "fix": "Reconnect the Vrbo account (POST /v1/connect, provider `vrbo-login`), then send the request again.",
71190
+ "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
71191
+ "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
71192
+ }
71193
+ }
71194
+ }
71195
+ }
71196
+ }
71197
+ }
71198
+ },
71199
+ "422": {
71200
+ "$ref": "#/components/responses/UnprocessableEntity"
71201
+ },
71202
+ "500": {
71203
+ "$ref": "#/components/responses/InternalError"
71204
+ },
71205
+ "502": {
71206
+ "description": "Vrbo did not complete the request.",
71207
+ "content": {
71208
+ "application/json": {
71209
+ "schema": {
71210
+ "$ref": "#/components/schemas/Error"
71211
+ },
71212
+ "examples": {
71213
+ "error": {
71214
+ "summary": "Vrbo error",
71215
+ "value": {
71216
+ "error": {
71217
+ "code": "vrbo_error",
71218
+ "message": "Vrbo did not answer.",
71219
+ "fix": "Vrbo did not complete the request. Retry in a few minutes.",
71220
+ "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
71221
+ "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
71222
+ }
71223
+ }
71224
+ }
71225
+ }
71226
+ }
71227
+ }
71228
+ },
71229
+ "503": {
71230
+ "description": "Vrbo asked us to slow down for this account (`retry_after` seconds). Calendar and messages keep working.",
71231
+ "content": {
71232
+ "application/json": {
71233
+ "schema": {
71234
+ "$ref": "#/components/schemas/Error"
71235
+ },
71236
+ "examples": {
71237
+ "busy": {
71238
+ "summary": "Paused by Vrbo",
71239
+ "value": {
71240
+ "error": {
71241
+ "code": "vrbo_busy",
71242
+ "message": "Vrbo asked us to slow down for this account.",
71243
+ "fix": "Retry after 60 seconds. Calendar and messages keep working meanwhile.",
71244
+ "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
71245
+ "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
71246
+ "retry_after": 60
71247
+ }
71248
+ }
71249
+ }
71250
+ }
71251
+ }
71252
+ }
71253
+ },
71254
+ "504": {
71255
+ "description": "Vrbo did not answer in time. A write may still have landed: read the section first.",
71256
+ "content": {
71257
+ "application/json": {
71258
+ "schema": {
71259
+ "$ref": "#/components/schemas/Error"
71260
+ },
71261
+ "examples": {
71262
+ "timeout": {
71263
+ "summary": "Timed out",
71264
+ "value": {
71265
+ "error": {
71266
+ "code": "vrbo_timeout",
71267
+ "message": "Vrbo did not answer in time.",
71268
+ "fix": "A write may still have landed: read the section before sending it again.",
71269
+ "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
71270
+ "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
71271
+ }
71272
+ }
71273
+ }
71274
+ }
71275
+ }
71276
+ }
71277
+ }
71278
+ }
71279
+ }
71280
+ },
71281
+ "/v1/channels/vrbo/messaging": {
71282
+ "get": {
71283
+ "operationId": "list_vrbo_threads",
71284
+ "summary": "List Vrbo message threads",
71285
+ "description": "The workspace's Vrbo conversations, newest activity first (up to 200) \u2014 the counterpart of `GET /v1/channels/airbnb/messaging`, read from Repull's copy of the Vrbo inbox. Each thread carries the Vrbo account it belongs to (`accountId`, `accountName`). `externalThreadId` (`vrbo:<uuid>`) addresses the thread on these routes; `id` is the Repull conversation id of `/v1/conversations/{id}`.\n\nOnly conversations Vrbo itself holds are listed: a Vrbo booking that reached Repull another way (a PMS, iCal) has no Vrbo conversation to message.\n\nThreads on inactive listings are left out. Filtering by an inactive listing (`listing_id`) returns `403 listing_inactive`.",
71286
+ "tags": [
71287
+ "VRBO"
71288
+ ],
71289
+ "parameters": [
71290
+ {
71291
+ "name": "account_id",
71292
+ "in": "query",
71293
+ "required": false,
71294
+ "schema": {
71295
+ "type": "string",
71296
+ "example": "vrbo:7001234"
71297
+ },
71298
+ "description": "One connected Vrbo account (`vrbo:\u2026`). Omitted: every account. Unknown: `404` with your accounts in `valid_values`."
71299
+ },
71300
+ {
71301
+ "name": "listing_id",
71302
+ "in": "query",
71303
+ "required": false,
71304
+ "schema": {
71305
+ "type": "string"
71306
+ },
71307
+ "description": "Repull listing id."
71308
+ },
71309
+ {
71310
+ "name": "reservation_id",
71311
+ "in": "query",
71312
+ "required": false,
71313
+ "schema": {
71314
+ "type": "string"
71315
+ },
71316
+ "description": "Repull reservation id."
71317
+ }
71318
+ ],
71319
+ "responses": {
71320
+ "200": {
71321
+ "description": "Vrbo message threads",
71322
+ "content": {
71323
+ "application/json": {
71324
+ "schema": {
71325
+ "type": "object",
71326
+ "properties": {
71327
+ "data": {
71328
+ "type": "array",
71329
+ "items": {
71330
+ "type": "object",
71331
+ "properties": {
71332
+ "id": {
71333
+ "type": "string",
71334
+ "description": "Repull conversation id \u2014 the `{id}` of `/v1/conversations/{id}`."
71335
+ },
71336
+ "externalThreadId": {
71337
+ "type": "string",
71338
+ "description": "The Vrbo conversation id (`vrbo:<uuid>`), the `{threadId}` of these routes."
71339
+ },
71340
+ "listingId": {
71341
+ "type": "string",
71342
+ "nullable": true
71343
+ },
71344
+ "reservationId": {
71345
+ "type": "string",
71346
+ "nullable": true
71347
+ },
71348
+ "accountId": {
71349
+ "type": "string",
71350
+ "nullable": true,
71351
+ "description": "The Vrbo account the conversation belongs to (`vrbo:\u2026`)."
71352
+ },
71353
+ "accountName": {
71354
+ "type": "string",
71355
+ "nullable": true
71356
+ },
71357
+ "createdAt": {
71358
+ "type": "string",
71359
+ "format": "date-time",
71360
+ "nullable": true
71361
+ },
71362
+ "updatedAt": {
71363
+ "type": "string",
71364
+ "format": "date-time",
71365
+ "nullable": true
71366
+ }
71367
+ },
71368
+ "additionalProperties": true
71369
+ }
71370
+ },
71371
+ "pagination": {
71372
+ "type": "object",
71373
+ "additionalProperties": true
71374
+ },
71375
+ "dataFreshness": {
71376
+ "type": "object",
71377
+ "additionalProperties": true,
71378
+ "description": "When this workspace's Vrbo data was last synced (`lastSyncedAt`, `stale`, `accounts[]`)."
71379
+ }
71380
+ }
71381
+ }
71382
+ }
71383
+ }
71384
+ },
71385
+ "401": {
71386
+ "$ref": "#/components/responses/Unauthorized"
71387
+ },
71388
+ "403": {
71389
+ "$ref": "#/components/responses/ListingInactive"
71390
+ },
71391
+ "404": {
71392
+ "$ref": "#/components/responses/NotFound"
71393
+ },
71394
+ "422": {
71395
+ "$ref": "#/components/responses/UnprocessableEntity"
71396
+ },
71397
+ "500": {
71398
+ "$ref": "#/components/responses/InternalError"
71399
+ }
71400
+ }
71401
+ }
71402
+ },
71403
+ "/v1/channels/vrbo/messaging/{threadId}": {
71404
+ "get": {
71405
+ "operationId": "get_vrbo_thread",
71406
+ "summary": "Get a Vrbo message thread",
71407
+ "description": "One Vrbo conversation by its Vrbo id \u2014 the counterpart of `GET /v1/channels/airbnb/messaging/{threadId}`.\n\nReturns `403 listing_inactive` when the conversation's listing is inactive.",
71408
+ "tags": [
71409
+ "VRBO"
71410
+ ],
71411
+ "parameters": [
71412
+ {
71413
+ "name": "threadId",
71414
+ "in": "path",
71415
+ "required": true,
71416
+ "schema": {
71417
+ "type": "string",
71418
+ "example": "vrbo:3f2a9c1e-5b7d-4e2a-9c1f-0a1b2c3d4e5f"
71419
+ },
71420
+ "description": "The Vrbo conversation id \u2014 `externalThreadId` on `GET /v1/channels/vrbo/messaging` (`vrbo:<uuid>`; the bare uuid works too)."
71421
+ }
71422
+ ],
71423
+ "responses": {
71424
+ "200": {
71425
+ "description": "The thread",
71426
+ "content": {
71427
+ "application/json": {
71428
+ "schema": {
71429
+ "type": "object",
71430
+ "properties": {
71431
+ "data": {
71432
+ "type": "object",
71433
+ "properties": {
71434
+ "id": {
71435
+ "type": "string",
71436
+ "description": "Repull conversation id \u2014 the `{id}` of `/v1/conversations/{id}`."
71437
+ },
71438
+ "externalThreadId": {
71439
+ "type": "string",
71440
+ "description": "The Vrbo conversation id (`vrbo:<uuid>`), the `{threadId}` of these routes."
71441
+ },
71442
+ "listingId": {
71443
+ "type": "string",
71444
+ "nullable": true
71445
+ },
71446
+ "reservationId": {
71447
+ "type": "string",
71448
+ "nullable": true
71449
+ },
71450
+ "accountId": {
71451
+ "type": "string",
71452
+ "nullable": true,
71453
+ "description": "The Vrbo account the conversation belongs to (`vrbo:\u2026`)."
71454
+ },
71455
+ "accountName": {
71456
+ "type": "string",
71457
+ "nullable": true
71458
+ },
71459
+ "createdAt": {
71460
+ "type": "string",
71461
+ "format": "date-time",
71462
+ "nullable": true
71463
+ },
71464
+ "updatedAt": {
71465
+ "type": "string",
71466
+ "format": "date-time",
71467
+ "nullable": true
71468
+ }
71469
+ },
71470
+ "additionalProperties": true
71471
+ },
71472
+ "dataFreshness": {
71473
+ "type": "object",
71474
+ "additionalProperties": true,
71475
+ "description": "When this workspace's Vrbo data was last synced (`lastSyncedAt`, `stale`, `accounts[]`)."
71476
+ }
71477
+ }
71478
+ }
71479
+ }
71480
+ }
71481
+ },
71482
+ "401": {
71483
+ "$ref": "#/components/responses/Unauthorized"
71484
+ },
71485
+ "403": {
71486
+ "$ref": "#/components/responses/ListingInactive"
71487
+ },
71488
+ "404": {
71489
+ "description": "No Vrbo conversation with this id in the workspace.",
71490
+ "content": {
71491
+ "application/json": {
71492
+ "schema": {
71493
+ "$ref": "#/components/schemas/Error"
71494
+ },
71495
+ "examples": {
71496
+ "notFound": {
71497
+ "summary": "Unknown thread",
71498
+ "value": {
71499
+ "error": {
71500
+ "code": "not_found",
71501
+ "message": "No Vrbo thread found for id vrbo:3f2a9c1e-5b7d-4e2a-9c1f-0a1b2c3d4e5f",
71502
+ "fix": "Use a Vrbo conversation id (`vrbo:<uuid>`) from `GET /v1/channels/vrbo/messaging`.",
71503
+ "docs_url": "https://repull.dev/docs/channels/vrbo/messaging",
71504
+ "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
71505
+ }
71506
+ }
71507
+ }
71508
+ }
71509
+ }
71510
+ }
71511
+ },
71512
+ "500": {
71513
+ "$ref": "#/components/responses/InternalError"
71514
+ }
71515
+ }
71516
+ }
71517
+ },
71518
+ "/v1/channels/vrbo/messaging/{threadId}/messages": {
71519
+ "get": {
71520
+ "operationId": "list_vrbo_thread_messages",
71521
+ "summary": "Get Vrbo messages",
71522
+ "description": "The messages of a Vrbo conversation, as recorded rows \u2014 the counterpart of `GET /v1/channels/airbnb/messaging/{threadId}/messages`, same shape. 50 per page, newest first; walk older pages with `?cursor=` until `pagination.hasMore` is `false`. `?all=true` returns up to 1000 oldest first, without `pagination`.\n\nReturns `403 listing_inactive` when the conversation's listing is inactive.",
71523
+ "tags": [
71524
+ "VRBO"
71525
+ ],
71526
+ "parameters": [
71527
+ {
71528
+ "name": "threadId",
71529
+ "in": "path",
71530
+ "required": true,
71531
+ "schema": {
71532
+ "type": "string",
71533
+ "example": "vrbo:3f2a9c1e-5b7d-4e2a-9c1f-0a1b2c3d4e5f"
71534
+ },
71535
+ "description": "The Vrbo conversation id \u2014 `externalThreadId` on `GET /v1/channels/vrbo/messaging` (`vrbo:<uuid>`; the bare uuid works too)."
71536
+ },
71537
+ {
71538
+ "name": "cursor",
71539
+ "in": "query",
71540
+ "schema": {
71541
+ "type": "string"
71542
+ },
71543
+ "description": "`pagination.nextCursor` from the previous page."
71544
+ },
71545
+ {
71546
+ "name": "all",
71547
+ "in": "query",
71548
+ "schema": {
71549
+ "type": "boolean"
71550
+ },
71551
+ "description": "`true` returns up to 1000 messages oldest first in one response."
71552
+ }
71553
+ ],
71554
+ "responses": {
71555
+ "200": {
71556
+ "description": "Messages",
71557
+ "content": {
71558
+ "application/json": {
71559
+ "schema": {
71560
+ "type": "object",
71561
+ "properties": {
71562
+ "data": {
71563
+ "type": "array",
71564
+ "items": {
71565
+ "type": "object",
71566
+ "properties": {
71567
+ "id": {
71568
+ "type": "string",
71569
+ "description": "Repull message id."
71570
+ },
71571
+ "externalMessageId": {
71572
+ "type": "string",
71573
+ "nullable": true
71574
+ },
71575
+ "threadId": {
71576
+ "type": "string",
71577
+ "description": "The Vrbo conversation id."
71578
+ },
71579
+ "message": {
71580
+ "type": "string",
71581
+ "nullable": true
71582
+ },
71583
+ "channel": {
71584
+ "type": "string",
71585
+ "nullable": true,
71586
+ "example": "vrbo"
71587
+ },
71588
+ "senderType": {
71589
+ "type": "string",
71590
+ "nullable": true,
71591
+ "description": "`guest`, `host`, `system`, \u2026"
71592
+ },
71593
+ "reservationId": {
71594
+ "type": "string",
71595
+ "nullable": true
71596
+ },
71597
+ "createdAt": {
71598
+ "type": "string",
71599
+ "format": "date-time",
71600
+ "nullable": true
71601
+ },
71602
+ "externalCreatedAt": {
71603
+ "type": "string",
71604
+ "format": "date-time",
71605
+ "nullable": true
71606
+ },
71607
+ "attachments": {
71608
+ "type": "array",
71609
+ "items": {
71610
+ "$ref": "#/components/schemas/ConversationMessageAttachment"
71611
+ }
71612
+ }
71613
+ },
71614
+ "additionalProperties": true
71615
+ }
71616
+ },
71617
+ "pagination": {
71618
+ "type": "object",
71619
+ "properties": {
71620
+ "nextCursor": {
71621
+ "type": "string",
71622
+ "nullable": true
71623
+ },
71624
+ "hasMore": {
71625
+ "type": "boolean"
71626
+ }
71627
+ },
71628
+ "description": "Absent when `?all=true`."
71629
+ },
71630
+ "dataFreshness": {
71631
+ "type": "object",
71632
+ "additionalProperties": true,
71633
+ "description": "When this workspace's Vrbo data was last synced (`lastSyncedAt`, `stale`, `accounts[]`)."
71634
+ }
71635
+ }
71636
+ }
71637
+ }
71638
+ }
71639
+ },
71640
+ "401": {
71641
+ "$ref": "#/components/responses/Unauthorized"
71642
+ },
71643
+ "403": {
71644
+ "$ref": "#/components/responses/ListingInactive"
71645
+ },
71646
+ "404": {
71647
+ "description": "No Vrbo conversation with this id in the workspace.",
71648
+ "content": {
71649
+ "application/json": {
71650
+ "schema": {
71651
+ "$ref": "#/components/schemas/Error"
71652
+ },
71653
+ "examples": {
71654
+ "notFound": {
71655
+ "summary": "Unknown thread",
71656
+ "value": {
71657
+ "error": {
71658
+ "code": "not_found",
71659
+ "message": "No Vrbo thread found for id vrbo:3f2a9c1e-5b7d-4e2a-9c1f-0a1b2c3d4e5f",
71660
+ "fix": "Use a Vrbo conversation id (`vrbo:<uuid>`) from `GET /v1/channels/vrbo/messaging`.",
71661
+ "docs_url": "https://repull.dev/docs/channels/vrbo/messaging",
71662
+ "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
71663
+ }
71664
+ }
71665
+ }
71666
+ }
71667
+ }
71668
+ }
71669
+ },
71670
+ "500": {
71671
+ "$ref": "#/components/responses/InternalError"
71672
+ }
71673
+ }
71674
+ },
71675
+ "post": {
71676
+ "operationId": "send_vrbo_message",
71677
+ "summary": "Send a Vrbo message",
71678
+ "description": "Send a message in a Vrbo conversation through the host's connected Vrbo account \u2014 the counterpart of `POST /v1/channels/airbnb/messaging/{threadId}/messages`, with the same body. It is sent the way the dashboard sends it and recorded in the conversation, so it also appears on `GET /v1/conversations/{id}/messages`.\n\n`201` with `status: \"sent\"` when Vrbo took it; `202` with `status: \"queued\"` when Vrbo was slow and the send finishes in the background \u2014 do not send it again, watch `conversation.message.status_changed`. Vrbo messages are text: a `mediaUrl` is refused with `422 attachments_not_supported`. Send `Idempotency-Key` to make a retry safe.\n\nVrbo has no edit, unsend or reaction on a sent message (Airbnb's `PATCH \u2026/messages/{messageId}`).\n\nReturns `403 listing_inactive` when the conversation's listing is inactive.",
71679
+ "tags": [
71680
+ "VRBO"
71681
+ ],
71682
+ "parameters": [
71683
+ {
71684
+ "name": "threadId",
71685
+ "in": "path",
71686
+ "required": true,
71687
+ "schema": {
71688
+ "type": "string",
71689
+ "example": "vrbo:3f2a9c1e-5b7d-4e2a-9c1f-0a1b2c3d4e5f"
71690
+ },
71691
+ "description": "The Vrbo conversation id \u2014 `externalThreadId` on `GET /v1/channels/vrbo/messaging` (`vrbo:<uuid>`; the bare uuid works too)."
71692
+ }
71693
+ ],
71694
+ "requestBody": {
71695
+ "required": true,
71696
+ "content": {
71697
+ "application/json": {
71698
+ "schema": {
71699
+ "type": "object",
71700
+ "properties": {
71701
+ "message": {
71702
+ "type": "string",
71703
+ "description": "The text to send to the guest."
71704
+ },
71705
+ "mediaUrl": {
71706
+ "type": "string",
71707
+ "format": "uri",
71708
+ "nullable": true,
71709
+ "description": "Accepted for the same body as Airbnb; Vrbo carries no files, so a send with one is refused (`attachments_not_supported`)."
71710
+ },
71711
+ "mediaType": {
71712
+ "type": "string",
71713
+ "nullable": true
71714
+ }
71715
+ },
71716
+ "required": [
71717
+ "message"
71718
+ ],
71719
+ "additionalProperties": false
71720
+ },
71721
+ "example": {
71722
+ "message": "Hi Anna \u2014 the hot tub is ready for your arrival."
71723
+ }
71724
+ }
71725
+ }
71726
+ },
71727
+ "responses": {
71728
+ "201": {
71729
+ "description": "Sent",
71730
+ "content": {
71731
+ "application/json": {
71732
+ "schema": {
71733
+ "$ref": "#/components/schemas/SendMessageResponse"
71734
+ }
71735
+ }
71736
+ }
71737
+ },
71738
+ "202": {
71739
+ "description": "Queued: Vrbo was slow; the send finishes in the background",
71740
+ "content": {
71741
+ "application/json": {
71742
+ "schema": {
71743
+ "$ref": "#/components/schemas/SendMessageResponse"
71744
+ }
71745
+ }
71746
+ }
71747
+ },
71748
+ "401": {
71749
+ "$ref": "#/components/responses/Unauthorized"
71750
+ },
71751
+ "403": {
71752
+ "$ref": "#/components/responses/ListingInactive"
71753
+ },
71754
+ "404": {
71755
+ "description": "No Vrbo conversation with this id in the workspace.",
71756
+ "content": {
71757
+ "application/json": {
71758
+ "schema": {
71759
+ "$ref": "#/components/schemas/Error"
71760
+ },
71761
+ "examples": {
71762
+ "notFound": {
71763
+ "summary": "Unknown thread",
71764
+ "value": {
71765
+ "error": {
71766
+ "code": "not_found",
71767
+ "message": "No Vrbo thread found for id vrbo:3f2a9c1e-5b7d-4e2a-9c1f-0a1b2c3d4e5f",
71768
+ "fix": "Use a Vrbo conversation id (`vrbo:<uuid>`) from `GET /v1/channels/vrbo/messaging`.",
71769
+ "docs_url": "https://repull.dev/docs/channels/vrbo/messaging",
71770
+ "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
71771
+ }
71772
+ }
71773
+ }
71774
+ }
71775
+ }
71776
+ }
71777
+ },
71778
+ "422": {
71779
+ "$ref": "#/components/responses/UnprocessableEntity"
71780
+ },
71781
+ "500": {
71782
+ "$ref": "#/components/responses/InternalError"
71783
+ },
71784
+ "502": {
71785
+ "description": "Vrbo did not take the message.",
71786
+ "content": {
71787
+ "application/json": {
71788
+ "schema": {
71789
+ "$ref": "#/components/schemas/Error"
71790
+ },
71791
+ "examples": {
71792
+ "failed": {
71793
+ "summary": "Not sent",
71794
+ "value": {
71795
+ "error": {
71796
+ "code": "message_not_sent",
71797
+ "message": "Vrbo did not take the message.",
71798
+ "fix": "Retry with the same `Idempotency-Key`.",
71799
+ "docs_url": "https://repull.dev/docs/channels/vrbo/messaging",
71800
+ "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
71801
+ }
71802
+ }
71803
+ }
71804
+ }
71805
+ }
71806
+ }
71807
+ }
71808
+ }
71809
+ }
71810
+ },
71811
+ "/v1/channels/vrbo/offers": {
71812
+ "post": {
71813
+ "operationId": "create_vrbo_offer",
71814
+ "summary": "Pre-approve or quote a Vrbo inquiry",
71815
+ "description": "Answer a Vrbo inquiry \u2014 the counterpart of `POST /v1/channels/airbnb/offers`, the same body addressed by the Vrbo conversation. `type: \"preapproval\"` invites the guest to book their dates at the listed price; `type: \"offer\"` sends Vrbo's edited quote.\n\n**Priced by its parts, not a total.** Vrbo adds its taxes and service fee itself, so a quote takes `rental_amount`, `fees` (`[{ type, value }]`, Vrbo fee types such as `CLEANING`, `PET`) and `damage_deposit`; `total_price` is refused. The stay is `start_date` + `nights` and `guest_details`, as on Airbnb; leave them out to keep the guest's own. Both types may carry a `message` to the guest. Vrbo has no instant-book switch on a pre-approval (`block_instant_booking` is refused) and a quote is always for the conversation's property (`listing_id` is refused).\n\nThe same as `POST /v1/conversations/{id}/pre-approval` and `/special-offers` on a Vrbo conversation, which take the Repull conversation id. Send `Idempotency-Key`: a retry without it can send the guest two quotes. Returns `403 listing_inactive` when the conversation's listing is inactive.",
71816
+ "tags": [
71817
+ "VRBO"
71818
+ ],
71819
+ "requestBody": {
71820
+ "required": true,
71821
+ "content": {
71822
+ "application/json": {
71823
+ "schema": {
71824
+ "type": "object",
71825
+ "properties": {
71826
+ "type": {
71827
+ "type": "string",
71828
+ "enum": [
71829
+ "preapproval",
71830
+ "offer"
71831
+ ]
71832
+ },
71833
+ "thread_id": {
71834
+ "type": "string",
71835
+ "description": "The Vrbo conversation (`vrbo:<uuid>`). `threadId` is accepted too."
71836
+ },
71837
+ "message": {
71838
+ "type": "string",
71839
+ "description": "A note Vrbo shows the guest with the pre-approval or quote."
71840
+ },
71841
+ "start_date": {
71842
+ "type": "string",
71843
+ "format": "date",
71844
+ "description": "Offer: first night. With `nights`."
71845
+ },
71846
+ "nights": {
71847
+ "type": "integer",
71848
+ "minimum": 1,
71849
+ "description": "Offer: number of nights. With `start_date`."
71850
+ },
71851
+ "guest_details": {
71852
+ "type": "object",
71853
+ "properties": {
71854
+ "number_of_adults": {
71855
+ "type": "integer",
71856
+ "minimum": 1
71857
+ },
71858
+ "number_of_guests": {
71859
+ "type": "integer",
71860
+ "minimum": 1
71861
+ },
71862
+ "number_of_children": {
71863
+ "type": "integer",
71864
+ "minimum": 0
71865
+ },
71866
+ "number_of_infants": {
71867
+ "type": "integer",
71868
+ "minimum": 0
71869
+ },
71870
+ "number_of_pets": {
71871
+ "type": "integer",
71872
+ "minimum": 0
71873
+ }
71874
+ }
71875
+ },
71876
+ "rental_amount": {
71877
+ "type": "number",
71878
+ "description": "Offer: the rent for the stay, before fees and taxes."
71879
+ },
71880
+ "fees": {
71881
+ "type": "array",
71882
+ "items": {
71883
+ "type": "object",
71884
+ "properties": {
71885
+ "type": {
71886
+ "type": "string",
71887
+ "example": "CLEANING"
71888
+ },
71889
+ "value": {
71890
+ "type": "number",
71891
+ "minimum": 0
71892
+ }
71893
+ },
71894
+ "required": [
71895
+ "type",
71896
+ "value"
71897
+ ]
71898
+ }
71899
+ },
71900
+ "damage_deposit": {
71901
+ "type": "number",
71902
+ "nullable": true,
71903
+ "minimum": 0,
71904
+ "description": "Offer: refundable damage deposit; `null` for none."
71905
+ }
71906
+ },
71907
+ "required": [
71908
+ "type",
71909
+ "thread_id"
71910
+ ],
71911
+ "additionalProperties": false
71912
+ },
71913
+ "examples": {
71914
+ "preapproval": {
71915
+ "summary": "Pre-approve",
71916
+ "value": {
71917
+ "type": "preapproval",
71918
+ "thread_id": "vrbo:3f2a9c1e-5b7d-4e2a-9c1f-0a1b2c3d4e5f",
71919
+ "message": "Those dates are free \u2014 book whenever you are ready."
71920
+ }
71921
+ },
71922
+ "offer": {
71923
+ "summary": "Send a quote",
71924
+ "value": {
71925
+ "type": "offer",
71926
+ "thread_id": "vrbo:3f2a9c1e-5b7d-4e2a-9c1f-0a1b2c3d4e5f",
71927
+ "start_date": "2026-11-06",
71928
+ "nights": 3,
71929
+ "guest_details": {
71930
+ "number_of_adults": 4
71931
+ },
71932
+ "rental_amount": 780,
71933
+ "fees": [
71934
+ {
71935
+ "type": "CLEANING",
71936
+ "value": 120
71937
+ }
71938
+ ]
71939
+ }
71940
+ }
71941
+ }
71942
+ }
71943
+ }
71944
+ },
71945
+ "responses": {
71946
+ "201": {
71947
+ "description": "Pre-approved, or the quote sent",
71948
+ "content": {
71949
+ "application/json": {
71950
+ "schema": {
71951
+ "oneOf": [
71952
+ {
71953
+ "type": "object",
71954
+ "properties": {
71955
+ "conversationId": {
71956
+ "type": "string"
71957
+ },
71958
+ "channel": {
71959
+ "type": "string"
71960
+ },
71961
+ "status": {
71962
+ "type": "string",
71963
+ "example": "pre_approved"
71964
+ },
71965
+ "message": {
71966
+ "type": "string",
71967
+ "nullable": true
71968
+ }
71969
+ },
71970
+ "additionalProperties": true
71971
+ },
71972
+ {
71973
+ "type": "object",
71974
+ "properties": {
71975
+ "id": {
71976
+ "type": "string",
71977
+ "example": "current",
71978
+ "description": "Vrbo keeps one live quote per conversation: always `current`."
71979
+ },
71980
+ "conversationId": {
71981
+ "type": "string"
71982
+ },
71983
+ "channel": {
71984
+ "type": "string",
71985
+ "example": "vrbo"
71986
+ },
71987
+ "status": {
71988
+ "type": "string",
71989
+ "example": "sent"
71990
+ },
71991
+ "checkIn": {
71992
+ "type": "string",
71993
+ "nullable": true
71994
+ },
71995
+ "checkOut": {
71996
+ "type": "string",
71997
+ "nullable": true
71998
+ },
71999
+ "nights": {
72000
+ "type": "integer",
72001
+ "nullable": true
72002
+ },
72003
+ "guests": {
72004
+ "type": "object",
72005
+ "nullable": true,
72006
+ "additionalProperties": true
72007
+ },
72008
+ "totalPrice": {
72009
+ "type": "number",
72010
+ "nullable": true,
72011
+ "description": "Vrbo's guest total (with its taxes and service fee)."
72012
+ },
72013
+ "currency": {
72014
+ "type": "string",
72015
+ "nullable": true
72016
+ },
72017
+ "rentalAmount": {
72018
+ "type": "number",
72019
+ "nullable": true
72020
+ },
72021
+ "fees": {
72022
+ "type": "array",
72023
+ "items": {
72024
+ "type": "object",
72025
+ "properties": {
72026
+ "type": {
72027
+ "type": "string"
72028
+ },
72029
+ "value": {
72030
+ "type": "number"
72031
+ },
72032
+ "label": {
72033
+ "type": "string",
72034
+ "nullable": true
72035
+ }
72036
+ }
72037
+ }
72038
+ },
72039
+ "damageDeposit": {
72040
+ "type": "number",
72041
+ "nullable": true
72042
+ },
72043
+ "lines": {
72044
+ "type": "array",
72045
+ "items": {
72046
+ "type": "object",
72047
+ "additionalProperties": true
72048
+ }
72049
+ },
72050
+ "message": {
72051
+ "type": "string",
72052
+ "nullable": true
72053
+ }
72054
+ },
72055
+ "additionalProperties": true
72056
+ }
72057
+ ]
72058
+ }
72059
+ }
72060
+ }
72061
+ },
72062
+ "401": {
72063
+ "$ref": "#/components/responses/Unauthorized"
72064
+ },
72065
+ "403": {
72066
+ "$ref": "#/components/responses/ListingInactive"
72067
+ },
72068
+ "404": {
72069
+ "description": "No Vrbo conversation with this id in the workspace.",
72070
+ "content": {
72071
+ "application/json": {
72072
+ "schema": {
72073
+ "$ref": "#/components/schemas/Error"
72074
+ },
72075
+ "examples": {
72076
+ "notFound": {
72077
+ "summary": "Unknown thread",
72078
+ "value": {
72079
+ "error": {
72080
+ "code": "not_found",
72081
+ "message": "No Vrbo thread found for id vrbo:3f2a9c1e-5b7d-4e2a-9c1f-0a1b2c3d4e5f",
72082
+ "fix": "Use a Vrbo conversation id (`vrbo:<uuid>`) from `GET /v1/channels/vrbo/messaging`.",
72083
+ "docs_url": "https://repull.dev/docs/channels/vrbo/messaging",
72084
+ "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
72085
+ }
72086
+ }
72087
+ }
72088
+ }
72089
+ }
72090
+ }
72091
+ },
72092
+ "409": {
72093
+ "description": "The inquiry moved on (booked, expired, withdrawn): do not retry.",
72094
+ "content": {
72095
+ "application/json": {
72096
+ "schema": {
72097
+ "$ref": "#/components/schemas/Error"
72098
+ },
72099
+ "examples": {
72100
+ "closed": {
72101
+ "summary": "Inquiry closed",
72102
+ "value": {
72103
+ "error": {
72104
+ "code": "inquiry_no_longer_open",
72105
+ "message": "This inquiry is no longer open on Vrbo.",
72106
+ "fix": "Read the conversation to see where it stands.",
72107
+ "docs_url": "https://repull.dev/docs/channels/vrbo/inquiries-and-offers",
72108
+ "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
72109
+ }
72110
+ }
72111
+ }
72112
+ }
72113
+ }
72114
+ }
72115
+ },
72116
+ "422": {
72117
+ "$ref": "#/components/responses/UnprocessableEntity"
72118
+ },
72119
+ "502": {
72120
+ "$ref": "#/components/responses/InternalError"
72121
+ }
72122
+ }
72123
+ },
72124
+ "get": {
72125
+ "operationId": "get_vrbo_offer",
72126
+ "summary": "Get the Vrbo quote",
72127
+ "description": "The conversation's live quote as Vrbo shows it \u2014 its parts and Vrbo's guest total. The counterpart of `GET /v1/channels/airbnb/offers`; Vrbo keeps one quote per conversation, so it is read by `thread_id` rather than an offer id.",
72128
+ "tags": [
72129
+ "VRBO"
72130
+ ],
72131
+ "parameters": [
72132
+ {
72133
+ "name": "thread_id",
72134
+ "in": "query",
72135
+ "required": true,
72136
+ "schema": {
72137
+ "type": "string",
72138
+ "example": "vrbo:3f2a9c1e-5b7d-4e2a-9c1f-0a1b2c3d4e5f"
72139
+ },
72140
+ "description": "The Vrbo conversation (`externalThreadId` on `GET /v1/channels/vrbo/messaging`)."
72141
+ }
72142
+ ],
72143
+ "responses": {
72144
+ "200": {
72145
+ "description": "The quote",
72146
+ "content": {
72147
+ "application/json": {
72148
+ "schema": {
72149
+ "type": "object",
72150
+ "properties": {
72151
+ "id": {
72152
+ "type": "string",
72153
+ "example": "current",
72154
+ "description": "Vrbo keeps one live quote per conversation: always `current`."
72155
+ },
72156
+ "conversationId": {
72157
+ "type": "string"
72158
+ },
72159
+ "channel": {
72160
+ "type": "string",
72161
+ "example": "vrbo"
72162
+ },
72163
+ "status": {
72164
+ "type": "string",
72165
+ "example": "sent"
72166
+ },
72167
+ "checkIn": {
72168
+ "type": "string",
72169
+ "nullable": true
72170
+ },
72171
+ "checkOut": {
72172
+ "type": "string",
72173
+ "nullable": true
72174
+ },
72175
+ "nights": {
72176
+ "type": "integer",
72177
+ "nullable": true
72178
+ },
72179
+ "guests": {
72180
+ "type": "object",
72181
+ "nullable": true,
72182
+ "additionalProperties": true
72183
+ },
72184
+ "totalPrice": {
72185
+ "type": "number",
72186
+ "nullable": true,
72187
+ "description": "Vrbo's guest total (with its taxes and service fee)."
72188
+ },
72189
+ "currency": {
72190
+ "type": "string",
72191
+ "nullable": true
72192
+ },
72193
+ "rentalAmount": {
72194
+ "type": "number",
72195
+ "nullable": true
72196
+ },
72197
+ "fees": {
72198
+ "type": "array",
72199
+ "items": {
72200
+ "type": "object",
72201
+ "properties": {
72202
+ "type": {
72203
+ "type": "string"
72204
+ },
72205
+ "value": {
72206
+ "type": "number"
72207
+ },
72208
+ "label": {
72209
+ "type": "string",
72210
+ "nullable": true
72211
+ }
72212
+ }
72213
+ }
72214
+ },
72215
+ "damageDeposit": {
72216
+ "type": "number",
72217
+ "nullable": true
72218
+ },
72219
+ "lines": {
72220
+ "type": "array",
72221
+ "items": {
72222
+ "type": "object",
72223
+ "additionalProperties": true
72224
+ }
72225
+ },
72226
+ "message": {
72227
+ "type": "string",
72228
+ "nullable": true
72229
+ }
72230
+ },
72231
+ "additionalProperties": true
72232
+ }
72233
+ }
72234
+ }
72235
+ },
72236
+ "401": {
72237
+ "$ref": "#/components/responses/Unauthorized"
72238
+ },
72239
+ "403": {
72240
+ "$ref": "#/components/responses/ListingInactive"
72241
+ },
72242
+ "404": {
72243
+ "description": "No Vrbo conversation with this id in the workspace.",
72244
+ "content": {
72245
+ "application/json": {
72246
+ "schema": {
72247
+ "$ref": "#/components/schemas/Error"
72248
+ },
72249
+ "examples": {
72250
+ "notFound": {
72251
+ "summary": "Unknown thread",
72252
+ "value": {
72253
+ "error": {
72254
+ "code": "not_found",
72255
+ "message": "No Vrbo thread found for id vrbo:3f2a9c1e-5b7d-4e2a-9c1f-0a1b2c3d4e5f",
72256
+ "fix": "Use a Vrbo conversation id (`vrbo:<uuid>`) from `GET /v1/channels/vrbo/messaging`.",
72257
+ "docs_url": "https://repull.dev/docs/channels/vrbo/messaging",
72258
+ "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
72259
+ }
72260
+ }
72261
+ }
72262
+ }
72263
+ }
72264
+ }
72265
+ },
72266
+ "422": {
72267
+ "$ref": "#/components/responses/UnprocessableEntity"
72268
+ },
72269
+ "502": {
72270
+ "$ref": "#/components/responses/InternalError"
72271
+ }
72272
+ }
72273
+ },
72274
+ "delete": {
72275
+ "operationId": "withdraw_vrbo_offer",
72276
+ "summary": "Withdraw the Vrbo pre-approval or quote",
72277
+ "description": "Withdraw the conversation's pre-approval or quote: the guest can no longer book on it. The counterpart of `DELETE /v1/channels/airbnb/offers`, by `thread_id`.",
72278
+ "tags": [
72279
+ "VRBO"
72280
+ ],
72281
+ "parameters": [
72282
+ {
72283
+ "name": "thread_id",
72284
+ "in": "query",
72285
+ "required": true,
72286
+ "schema": {
72287
+ "type": "string",
72288
+ "example": "vrbo:3f2a9c1e-5b7d-4e2a-9c1f-0a1b2c3d4e5f"
72289
+ },
72290
+ "description": "The Vrbo conversation (`externalThreadId` on `GET /v1/channels/vrbo/messaging`)."
72291
+ }
72292
+ ],
72293
+ "responses": {
72294
+ "200": {
72295
+ "description": "Withdrawn",
72296
+ "content": {
72297
+ "application/json": {
72298
+ "schema": {
72299
+ "type": "object",
72300
+ "properties": {
72301
+ "conversationId": {
72302
+ "type": "string"
72303
+ },
72304
+ "channel": {
72305
+ "type": "string"
72306
+ },
72307
+ "status": {
72308
+ "type": "string",
72309
+ "example": "withdrawn"
72310
+ }
72311
+ }
72312
+ }
72313
+ }
72314
+ }
72315
+ },
72316
+ "401": {
72317
+ "$ref": "#/components/responses/Unauthorized"
72318
+ },
72319
+ "403": {
72320
+ "$ref": "#/components/responses/ListingInactive"
72321
+ },
72322
+ "404": {
72323
+ "description": "No Vrbo conversation with this id in the workspace.",
72324
+ "content": {
72325
+ "application/json": {
72326
+ "schema": {
72327
+ "$ref": "#/components/schemas/Error"
72328
+ },
72329
+ "examples": {
72330
+ "notFound": {
72331
+ "summary": "Unknown thread",
72332
+ "value": {
72333
+ "error": {
72334
+ "code": "not_found",
72335
+ "message": "No Vrbo thread found for id vrbo:3f2a9c1e-5b7d-4e2a-9c1f-0a1b2c3d4e5f",
72336
+ "fix": "Use a Vrbo conversation id (`vrbo:<uuid>`) from `GET /v1/channels/vrbo/messaging`.",
72337
+ "docs_url": "https://repull.dev/docs/channels/vrbo/messaging",
72338
+ "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
72339
+ }
72340
+ }
72341
+ }
72342
+ }
72343
+ }
72344
+ }
72345
+ },
72346
+ "409": {
72347
+ "description": "The inquiry moved on (booked, expired, withdrawn): do not retry.",
72348
+ "content": {
72349
+ "application/json": {
72350
+ "schema": {
72351
+ "$ref": "#/components/schemas/Error"
72352
+ },
72353
+ "examples": {
72354
+ "closed": {
72355
+ "summary": "Inquiry closed",
72356
+ "value": {
72357
+ "error": {
72358
+ "code": "inquiry_no_longer_open",
72359
+ "message": "This inquiry is no longer open on Vrbo.",
72360
+ "fix": "Read the conversation to see where it stands.",
72361
+ "docs_url": "https://repull.dev/docs/channels/vrbo/inquiries-and-offers",
72362
+ "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
72363
+ }
72364
+ }
72365
+ }
72366
+ }
72367
+ }
72368
+ }
72369
+ },
72370
+ "422": {
72371
+ "$ref": "#/components/responses/UnprocessableEntity"
72372
+ },
72373
+ "502": {
72374
+ "$ref": "#/components/responses/InternalError"
72375
+ }
72376
+ }
72377
+ }
72378
+ },
72379
+ "/v1/channels/vrbo/reviews": {
72380
+ "get": {
72381
+ "operationId": "list_vrbo_reviews",
72382
+ "summary": "List Vrbo reviews",
72383
+ "description": "The workspace's Vrbo reviews \u2014 the counterpart of `GET /v1/channels/airbnb/reviews`. The same list, filters, paging and review shape as `GET /v1/reviews?platform=vrbo`, with the channel fixed: `reviewerRole=guest` (default) is what guests wrote, `reviewerRole=host` your ratings of guests. Reply to a review with `POST /v1/reviews/{id}/reply`; rate a guest with `PUT /v1/channels/vrbo/reviews/{id}`.\n\nReviews of inactive listings are left out; `listingId` naming an inactive listing returns `403 listing_inactive`. `platform` other than `vrbo` is refused.",
72384
+ "tags": [
72385
+ "VRBO"
72386
+ ],
72387
+ "parameters": [
72388
+ {
72389
+ "name": "cursor",
72390
+ "in": "query",
72391
+ "required": false,
72392
+ "schema": {
72393
+ "type": "string"
72394
+ },
72395
+ "description": "`pagination.nextCursor` from the previous page."
72396
+ },
72397
+ {
72398
+ "name": "limit",
72399
+ "in": "query",
72400
+ "required": false,
72401
+ "schema": {
72402
+ "type": "integer",
72403
+ "default": 20,
72404
+ "maximum": 100
72405
+ }
72406
+ },
72407
+ {
72408
+ "name": "listingId",
72409
+ "in": "query",
72410
+ "required": false,
72411
+ "schema": {
72412
+ "type": "string"
72413
+ },
72414
+ "description": "Repull listing id."
72415
+ },
72416
+ {
72417
+ "name": "status",
72418
+ "in": "query",
72419
+ "required": false,
72420
+ "schema": {
72421
+ "type": "string",
72422
+ "enum": [
72423
+ "responded",
72424
+ "unanswered",
72425
+ "all"
72426
+ ]
72427
+ }
72428
+ },
72429
+ {
72430
+ "name": "reviewerRole",
72431
+ "in": "query",
72432
+ "required": false,
72433
+ "schema": {
72434
+ "type": "string",
72435
+ "enum": [
72436
+ "guest",
72437
+ "host",
72438
+ "all"
72439
+ ],
72440
+ "default": "guest"
72441
+ }
72442
+ }
72443
+ ],
72444
+ "responses": {
72445
+ "200": {
72446
+ "description": "Vrbo reviews",
72447
+ "content": {
72448
+ "application/json": {
72449
+ "schema": {
72450
+ "$ref": "#/components/schemas/ReviewListResponse"
72451
+ }
72452
+ }
72453
+ }
72454
+ },
72455
+ "401": {
72456
+ "$ref": "#/components/responses/Unauthorized"
72457
+ },
72458
+ "403": {
72459
+ "$ref": "#/components/responses/ListingInactive"
72460
+ },
72461
+ "422": {
72462
+ "$ref": "#/components/responses/UnprocessableEntity"
72463
+ },
72464
+ "500": {
72465
+ "$ref": "#/components/responses/InternalError"
72466
+ }
72467
+ }
72468
+ }
72469
+ },
72470
+ "/v1/channels/vrbo/reviews/{id}": {
72471
+ "put": {
72472
+ "operationId": "submit_vrbo_guest_review",
72473
+ "summary": "Rate a Vrbo guest",
72474
+ "description": "Rate the guest of a Vrbo stay \u2014 Vrbo's \"Rate guest\", the counterpart of `PUT /v1/channels/airbnb/reviews/{id}`, and the same as `POST /v1/reviews/{id}/guest-review` on a Vrbo review. `rating` (overall, 1\u20135), `categoryRatings` (`cleanliness`, `communication`, `respect_house_rules`) and `isRevieweeRecommended` (would host again). Vrbo's rating has no text: `publicReview` / `privateFeedback` are refused when not empty. Publishing is final.\n\n`{id}` is the review `id` from `GET /v1/channels/vrbo/reviews?reviewerRole=host`; a review from another channel is `404`.",
72475
+ "tags": [
72476
+ "VRBO"
72477
+ ],
72478
+ "parameters": [
72479
+ {
72480
+ "name": "id",
72481
+ "in": "path",
72482
+ "required": true,
72483
+ "schema": {
72484
+ "type": "string",
72485
+ "example": "181567"
72486
+ },
72487
+ "description": "The review `id`."
72488
+ }
72489
+ ],
72490
+ "requestBody": {
72491
+ "required": true,
72492
+ "content": {
72493
+ "application/json": {
72494
+ "schema": {
72495
+ "type": "object",
72496
+ "properties": {
72497
+ "rating": {
72498
+ "type": "integer",
72499
+ "minimum": 1,
72500
+ "maximum": 5
72501
+ },
72502
+ "categoryRatings": {
72503
+ "type": "array",
72504
+ "items": {
72505
+ "type": "object",
72506
+ "properties": {
72507
+ "category": {
72508
+ "type": "string",
72509
+ "enum": [
72510
+ "cleanliness",
72511
+ "communication",
72512
+ "respect_house_rules"
72513
+ ]
72514
+ },
72515
+ "rating": {
72516
+ "type": "integer",
72517
+ "minimum": 1,
72518
+ "maximum": 5
72519
+ }
72520
+ }
72521
+ }
72522
+ },
72523
+ "isRevieweeRecommended": {
72524
+ "type": "boolean"
72525
+ }
72526
+ }
72527
+ },
72528
+ "example": {
72529
+ "rating": 5,
72530
+ "categoryRatings": [
72531
+ {
72532
+ "category": "cleanliness",
72533
+ "rating": 5
72534
+ }
72535
+ ],
72536
+ "isRevieweeRecommended": true
72537
+ }
72538
+ }
72539
+ }
72540
+ },
72541
+ "responses": {
72542
+ "200": {
72543
+ "description": "Rated",
72544
+ "content": {
72545
+ "application/json": {
72546
+ "schema": {
72547
+ "type": "object",
72548
+ "properties": {
72549
+ "id": {
72550
+ "type": "string"
72551
+ },
72552
+ "submitted": {
72553
+ "type": "boolean"
72554
+ },
72555
+ "platform": {
72556
+ "type": "string",
72557
+ "example": "vrbo"
72558
+ },
72559
+ "rating": {
72560
+ "type": "object",
72561
+ "additionalProperties": true
72562
+ }
72563
+ }
72564
+ }
72565
+ }
72566
+ }
72567
+ },
72568
+ "401": {
72569
+ "$ref": "#/components/responses/Unauthorized"
72570
+ },
72571
+ "403": {
72572
+ "$ref": "#/components/responses/ListingInactive"
72573
+ },
72574
+ "404": {
72575
+ "$ref": "#/components/responses/NotFound"
72576
+ },
72577
+ "409": {
72578
+ "$ref": "#/components/responses/Conflict"
72579
+ },
72580
+ "422": {
72581
+ "$ref": "#/components/responses/UnprocessableEntity"
72582
+ },
72583
+ "502": {
72584
+ "$ref": "#/components/responses/InternalError"
72585
+ }
72586
+ }
72587
+ }
72588
+ },
72589
+ "/v1/listings/{id}/pull/vrbo": {
72590
+ "post": {
72591
+ "operationId": "pullListingFromVrbo",
72592
+ "summary": "Refresh a listing from Vrbo",
72593
+ "description": "Re-read every content section of the listing's Vrbo listing from Vrbo and keep it as Repull's copy, then report what was refreshed and when \u2014 the counterpart of `POST /v1/listings/{id}/pull/airbnb`. Use it after the host changed something on Vrbo, so the `/v1/channels/vrbo/listings/{id}/\u2026` reads answer with what Vrbo holds now.\n\n**What it refreshes:** descriptions, details, story, additional-info, photos, amenities, rooms, location, house-rules, booking-settings, cancellation, fees, pricing, payment-terms, protection, taxes, permits, checkin-guide, videos. **Not** the calendar, rates per night, bookings, messages, reviews or payouts \u2014 those arrive through the channel's own sync.\n\n**Runs synchronously:** about 45 Vrbo calls spaced ~3 s apart per account, **around 2.5 minutes**. A section Vrbo fails to return is listed in `failedSections`; the others are refreshed.\n\n**One pull per listing per 15 minutes**, as on Airbnb: a second call inside the window returns `429 rate_limit_exceeded` with `Retry-After` and `nextPullAvailableAt`, and makes no Vrbo calls.\n\nWorks with messaging or full access. Returns `404` when the listing is not linked to Vrbo, and `403 listing_inactive` when the listing is inactive.",
72594
+ "tags": [
72595
+ "Listings"
72596
+ ],
72597
+ "parameters": [
72598
+ {
72599
+ "name": "id",
72600
+ "in": "path",
72601
+ "required": true,
72602
+ "schema": {
72603
+ "type": "string"
72604
+ },
72605
+ "description": "Repull listing id (numeric string) of a listing linked to Vrbo."
72606
+ }
72607
+ ],
72608
+ "requestBody": {
72609
+ "required": false,
72610
+ "content": {
72611
+ "application/json": {
72612
+ "schema": {
72613
+ "type": "object",
72614
+ "properties": {
72615
+ "vrboListingNumber": {
72616
+ "type": "string",
72617
+ "description": "The Vrbo listing number to pull, when the listing is linked to more than one Vrbo unit."
72618
+ }
72619
+ },
72620
+ "additionalProperties": false,
72621
+ "description": "Optional. Omit the body to pull the listing's Vrbo listing."
72622
+ }
72623
+ }
72624
+ }
72625
+ },
72626
+ "responses": {
72627
+ "200": {
72628
+ "description": "Refreshed",
72629
+ "content": {
72630
+ "application/json": {
72631
+ "schema": {
72632
+ "type": "object",
72633
+ "properties": {
72634
+ "listingId": {
72635
+ "type": "string"
72636
+ },
72637
+ "channel": {
72638
+ "type": "string",
72639
+ "enum": [
72640
+ "vrbo"
72641
+ ]
72642
+ },
72643
+ "connectionId": {
72644
+ "type": "string",
72645
+ "nullable": true,
72646
+ "description": "The Vrbo account the values came from."
72647
+ },
72648
+ "externalId": {
72649
+ "type": "string",
72650
+ "description": "The Vrbo listing number."
72651
+ },
72652
+ "refreshedFromChannel": {
72653
+ "type": "boolean",
72654
+ "description": "True when Vrbo answered and at least one section was refreshed."
72655
+ },
72656
+ "sections": {
72657
+ "type": "array",
72658
+ "items": {
72659
+ "type": "string"
72660
+ },
72661
+ "description": "Sections refreshed from Vrbo.",
72662
+ "example": [
72663
+ "descriptions",
72664
+ "house-rules",
72665
+ "fees"
72666
+ ]
72667
+ },
72668
+ "failedSections": {
72669
+ "type": "array",
72670
+ "items": {
72671
+ "type": "string"
72672
+ },
72673
+ "description": "Sections Vrbo did not return this time; their stored copy is unchanged."
72674
+ },
72675
+ "pulledAt": {
72676
+ "type": "string",
72677
+ "format": "date-time"
72678
+ },
72679
+ "nextPullAvailableAt": {
72680
+ "type": "string",
72681
+ "format": "date-time",
72682
+ "description": "Earliest time another pull of this listing is accepted."
72683
+ },
72684
+ "minIntervalSeconds": {
72685
+ "type": "integer",
72686
+ "example": 900
72687
+ }
72688
+ }
72689
+ }
72690
+ }
72691
+ }
72692
+ },
72693
+ "401": {
72694
+ "$ref": "#/components/responses/Unauthorized"
72695
+ },
72696
+ "403": {
72697
+ "$ref": "#/components/responses/ListingInactive"
72698
+ },
72699
+ "404": {
72700
+ "$ref": "#/components/responses/NotFound"
72701
+ },
72702
+ "409": {
72703
+ "description": "The listing is linked to several Vrbo units (name one), the property is not on the account any more, or the account was signed out.",
72704
+ "content": {
72705
+ "application/json": {
72706
+ "schema": {
72707
+ "$ref": "#/components/schemas/Error"
72708
+ },
72709
+ "examples": {
72710
+ "ambiguous": {
72711
+ "summary": "Several Vrbo units",
72712
+ "value": {
72713
+ "error": {
72714
+ "code": "ambiguous_vrbo_unit",
72715
+ "message": "Listing 98765 is linked to 2 Vrbo listings.",
72716
+ "fix": "Name one with `?vrboListingNumber=`.",
72717
+ "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
72718
+ "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
72719
+ "field": "vrboListingNumber",
72720
+ "valid_values": [
72721
+ "4512345",
72722
+ "4512346"
72723
+ ]
72724
+ }
72725
+ }
72726
+ },
72727
+ "sessionExpired": {
72728
+ "summary": "Signed out",
72729
+ "value": {
72730
+ "error": {
72731
+ "code": "vrbo_session_expired",
72732
+ "message": "Vrbo signed this account out \u2014 reconnect it.",
72733
+ "fix": "Reconnect the Vrbo account (POST /v1/connect, provider `vrbo-login`), then send the request again.",
72734
+ "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
72735
+ "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
72736
+ }
72737
+ }
72738
+ }
72739
+ }
72740
+ }
72741
+ }
72742
+ },
72743
+ "422": {
72744
+ "$ref": "#/components/responses/UnprocessableEntity"
72745
+ },
72746
+ "429": {
72747
+ "$ref": "#/components/responses/TooManyRequests"
72748
+ },
72749
+ "500": {
72750
+ "$ref": "#/components/responses/InternalError"
72751
+ },
72752
+ "502": {
72753
+ "description": "Vrbo did not complete the request.",
72754
+ "content": {
72755
+ "application/json": {
72756
+ "schema": {
72757
+ "$ref": "#/components/schemas/Error"
72758
+ },
72759
+ "examples": {
72760
+ "error": {
72761
+ "summary": "Vrbo error",
72762
+ "value": {
72763
+ "error": {
72764
+ "code": "vrbo_error",
72765
+ "message": "Vrbo did not answer.",
72766
+ "fix": "Vrbo did not complete the request. Retry in a few minutes.",
72767
+ "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
72768
+ "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
72769
+ }
72770
+ }
72771
+ }
72772
+ }
72773
+ }
72774
+ }
72775
+ },
72776
+ "503": {
72777
+ "description": "Vrbo asked us to slow down for this account (`retry_after` seconds). Calendar and messages keep working.",
72778
+ "content": {
72779
+ "application/json": {
72780
+ "schema": {
72781
+ "$ref": "#/components/schemas/Error"
72782
+ },
72783
+ "examples": {
72784
+ "busy": {
72785
+ "summary": "Paused by Vrbo",
72786
+ "value": {
72787
+ "error": {
72788
+ "code": "vrbo_busy",
72789
+ "message": "Vrbo asked us to slow down for this account.",
72790
+ "fix": "Retry after 60 seconds. Calendar and messages keep working meanwhile.",
72791
+ "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
72792
+ "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
72793
+ "retry_after": 60
72794
+ }
72795
+ }
72796
+ }
72797
+ }
72798
+ }
72799
+ }
72800
+ },
72801
+ "504": {
72802
+ "description": "Vrbo did not answer in time. A write may still have landed: read the section first.",
72803
+ "content": {
72804
+ "application/json": {
72805
+ "schema": {
72806
+ "$ref": "#/components/schemas/Error"
72807
+ },
72808
+ "examples": {
72809
+ "timeout": {
72810
+ "summary": "Timed out",
72811
+ "value": {
72812
+ "error": {
72813
+ "code": "vrbo_timeout",
72814
+ "message": "Vrbo did not answer in time.",
72815
+ "fix": "A write may still have landed: read the section before sending it again.",
72816
+ "docs_url": "https://repull.dev/docs/channels/vrbo/listing-content",
72817
+ "request_id": "req_01J5X7Y8Z9ABCDEF12345678"
72818
+ }
72819
+ }
72820
+ }
72821
+ }
72822
+ }
72823
+ }
72824
+ }
72825
+ }
72826
+ }
72827
+ },
72828
+ "/v1/connect/pricelabs/key": {
72829
+ "post": {
72830
+ "operationId": "createPriceLabsKey",
72831
+ "summary": "Create a PriceLabs key (headless)",
72832
+ "description": "Issue a PriceLabs key without the hosted page, for platforms that show it in their own app. The key is for this workspace, or the one `X-Workspace-Id` names; it is returned once, in `key`, and the host pastes it into PriceLabs (add an integration, choose Repull).\n\n- No `listingIds`: every listing of the workspace, including listings added later. Recommended, with the listings PriceLabs should price in their own sub-workspace.\n- `listingIds`: only those listings (they must belong to the workspace). Listings added later are not included.\n\nThe key works only inside PriceLabs; it is refused on every Repull API endpoint. The connection appears on `GET /v1/connect/pricelabs` with its `health`; `account.created` is sent when PriceLabs first uses the key. Revoke it with `DELETE /v1/connect/pricelabs?id=`.",
72833
+ "tags": [
72834
+ "Connect"
72835
+ ],
72836
+ "requestBody": {
72837
+ "required": false,
72838
+ "content": {
72839
+ "application/json": {
72840
+ "schema": {
72841
+ "type": "object",
72842
+ "properties": {
72843
+ "listingIds": {
72844
+ "type": "array",
72845
+ "minItems": 1,
72846
+ "maxItems": 1000,
72847
+ "items": {
72848
+ "type": "string"
72849
+ },
72850
+ "description": "Only these listings of the workspace (`GET /v1/properties`). Omit for every listing, new ones included.",
72851
+ "example": [
72852
+ "4118",
72853
+ "4119"
72854
+ ]
72855
+ },
72856
+ "label": {
72857
+ "type": "string",
72858
+ "maxLength": 120,
72859
+ "description": "A name for the connection.",
72860
+ "example": "PriceLabs \u2014 beach houses"
72861
+ }
72862
+ },
72863
+ "additionalProperties": false
72864
+ },
72865
+ "examples": {
72866
+ "workspace": {
72867
+ "summary": "Every listing of the workspace",
72868
+ "value": {}
72869
+ },
72870
+ "listings": {
72871
+ "summary": "Specific listings",
72872
+ "value": {
72873
+ "listingIds": [
72874
+ "4118",
72875
+ "4119"
72876
+ ]
72877
+ }
72878
+ }
72879
+ }
72880
+ }
72881
+ }
72882
+ },
72883
+ "responses": {
72884
+ "201": {
72885
+ "description": "Created. `key` is shown only in this response.",
72886
+ "content": {
72887
+ "application/json": {
72888
+ "schema": {
72889
+ "allOf": [
72890
+ {
72891
+ "$ref": "#/components/schemas/Connection"
72892
+ },
72893
+ {
72894
+ "type": "object",
72895
+ "required": [
72896
+ "key",
72897
+ "instructions"
72898
+ ],
72899
+ "properties": {
72900
+ "key": {
72901
+ "type": "string",
72902
+ "example": "sk_live_YOUR_PRICELABS_KEY",
72903
+ "description": "The key to paste into PriceLabs. Returned only here."
72904
+ },
72905
+ "instructions": {
72906
+ "type": "object",
72907
+ "description": "What to tell the host, ready to show.",
72908
+ "properties": {
72909
+ "steps": {
72910
+ "type": "array",
72911
+ "items": {
72912
+ "type": "string"
72913
+ }
72914
+ },
72915
+ "scope": {
72916
+ "type": "string"
72917
+ }
72918
+ }
72919
+ }
72920
+ }
72921
+ }
72922
+ ]
72923
+ }
72924
+ }
72925
+ }
72926
+ },
72927
+ "400": {
72928
+ "$ref": "#/components/responses/BadRequest"
72929
+ },
72930
+ "401": {
72931
+ "$ref": "#/components/responses/Unauthorized"
72932
+ },
72933
+ "404": {
72934
+ "$ref": "#/components/responses/NotFound"
72935
+ },
72936
+ "422": {
72937
+ "$ref": "#/components/responses/UnprocessableEntity"
72938
+ },
72939
+ "500": {
72940
+ "$ref": "#/components/responses/InternalError"
72941
+ }
72942
+ }
72943
+ }
72944
+ },
72945
+ "/v1/connect/pricelabs/session": {
72946
+ "get": {
72947
+ "operationId": "getPriceLabsSessionStatus",
72948
+ "summary": "PriceLabs session status",
72949
+ "description": "Where a hosted PriceLabs session stands: `pending` (no key issued yet), `waiting` (the key is shown, PriceLabs has not called yet), `connected` (PriceLabs has called with the key; the session is complete) or `expired`. Called by the hosted Connect page while it waits. No API key \u2014 the session ID is the capability token.",
72950
+ "tags": [
72951
+ "Connect"
72952
+ ],
72953
+ "security": [],
72954
+ "parameters": [
72955
+ {
72956
+ "name": "sessionId",
72957
+ "in": "query",
72958
+ "required": true,
72959
+ "schema": {
72960
+ "type": "string"
72961
+ }
72962
+ }
72963
+ ],
72964
+ "responses": {
72965
+ "200": {
72966
+ "description": "Session status",
72967
+ "content": {
72968
+ "application/json": {
72969
+ "schema": {
72970
+ "type": "object",
72971
+ "properties": {
72972
+ "status": {
72973
+ "type": "string",
72974
+ "enum": [
72975
+ "pending",
72976
+ "waiting",
72977
+ "connected",
72978
+ "expired"
72979
+ ]
72980
+ },
72981
+ "connectionId": {
72982
+ "type": "string",
72983
+ "nullable": true,
72984
+ "description": "The PriceLabs connection once the session holds a key."
72985
+ }
72986
+ }
72987
+ }
72988
+ }
72989
+ }
72990
+ },
72991
+ "400": {
72992
+ "$ref": "#/components/responses/BadRequest"
72993
+ },
72994
+ "404": {
72995
+ "$ref": "#/components/responses/NotFound"
72996
+ },
72997
+ "409": {
72998
+ "$ref": "#/components/responses/Conflict"
72999
+ },
73000
+ "410": {
73001
+ "description": "The session expired",
73002
+ "content": {
73003
+ "application/json": {
73004
+ "schema": {
73005
+ "$ref": "#/components/schemas/Error"
73006
+ }
73007
+ }
73008
+ }
73009
+ }
73010
+ }
73011
+ }
69865
73012
  }
69866
73013
  }
69867
73014
  }