Google

Travel Partner API

The Travel Partner API provides you with a RESTful interface to the Google Hotel Center platform. It enables an app to efficiently retrieve and change Hotel…

Travel#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

The Travel Partner API provides you with a RESTful interface to the Google Hotel Center platform. It enables an app to efficiently retrieve and change Hotel Center data, and is thus suitable for managing large or complex accounts.

Endpoints 23

accounts

  • POSTtravelpartner.accounts.hotels.setLiveOnGoogle/v3/:account/hotels:setLiveOnGoogle?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringCollection-level custom method to update the Live on Google status for multiple properties. Each call can turn on or off multiple hotels. To turn some hotels…
  • GETtravelpartner.accounts.reconciliationReports.get/v3/:name?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&includeMatchedPrices=true&includeNonScoring=true&includePixels=trueReturns a reconciliation report.
  • DELETEtravelpartner.accounts.accountLinks.delete/v3/:name?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringDeletes an account link.
  • PATCHtravelpartner.accounts.brands.patch/v3/:name?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&allowMissing=true&updateMask=stringUpdates a brand.
  • GETtravelpartner.accounts.freeBookingLinksReportViews.query/v3/:name/freeBookingLinksReportViews:query?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&aggregateBy=string&filter=string&pageSize=0&pageToken=stringDEPRECATED: Use PropertyPerformanceReportService.QueryPropertyPerformanceReport, which also has impression reporting, instead. Provides the ability to query…
  • GETtravelpartner.accounts.participationReportViews.query/v3/:name/participationReportViews:query?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&aggregateBy=string&filter=string&pageSize=0&pageToken=stringProvides the ability to query (get, filter, and segment) a participation report for a particular account.
  • GETtravelpartner.accounts.propertyPerformanceReportViews.query/v3/:name/propertyPerformanceReportViews:query?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&aggregateBy=string&filter=string&pageSize=0&pageToken=stringProvides the ability to query (get, filter, and segment) a property performance links report for a specific account.
  • GETtravelpartner.accounts.accountLinks.list/v3/:parent/accountLinks?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringReturns the account links for a Hotel Center account.
  • POSTtravelpartner.accounts.accountLinks.create/v3/:parent/accountLinks?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringCreates a new account link between a Hotel Center account and a Google Ads account.
  • GETtravelpartner.accounts.brands.list/v3/:parent/brands?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringReturns the brands for a partner account.
  • POSTtravelpartner.accounts.brands.create/v3/:parent/brands?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&brandId=stringCreates a new brand. Because Google detects brands from your existing properties, you only need this operation when you want to configure a brand before you…
  • GETtravelpartner.accounts.hotelViews.list/v3/:parent/hotelViews?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&filter=string&pageSize=0&pageToken=stringReturns the list of hotel views.
  • GETtravelpartner.accounts.hotelViews.summarize/v3/:parent/hotelViews:summarize?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringReturns summarized information about hotels.
  • GETtravelpartner.accounts.icons.list/v3/:parent/icons?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringReturns the Icons for a partner account.
  • POSTtravelpartner.accounts.icons.create/v3/:parent/icons?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringUploads a new icon and starts its review process. Generates an icon_id and includes it in the icon's resource name, which is the format…
  • POSTtravelpartner.accounts.listings.verify/v3/:parent/listings:verify?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringreturns verified listings with data issues and serving eligibilities
  • GETtravelpartner.accounts.priceAccuracyViews.list/v3/:parent/priceAccuracyViews?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringLists the available price accuracy views.
  • GETtravelpartner.accounts.priceAccuracyViews.summarize/v3/:parent/priceAccuracyViews:summarize?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringReturns the price accuracy summary.
  • GETtravelpartner.accounts.priceCoverageViews.list/v3/:parent/priceCoverageViews?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringReturns the entire price coverage history.
  • GETtravelpartner.accounts.priceCoverageViews.getLatest/v3/:parent/priceCoverageViews:latest?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringReturns the latest price coverage view in full detail.
  • GETtravelpartner.accounts.reconciliationReports.list/v3/:parent/reconciliationReports?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&endDate=string&startDate=stringReturns a list of the names of created reconciliation reports.
  • POSTtravelpartner.accounts.reconciliationReports.create/v3/:parent/reconciliationReports?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringCreates a reconciliation report and uploads it to Google.
  • POSTtravelpartner.accounts.reconciliationReports.validate/v3/:parent/reconciliationReports:validate?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringValidates a reconciliation report.

API details

Base URL
https://travelpartner.googleapis.com
Authentication
None declared in the description
Operations
23 operations on 17 pathsGET 14POST 7PATCH 1DELETE 1
Main resources
accounts 23
Response formats
application/json
Description format
OpenAPI 3.0.0, API version v3
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the Travel Partner API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Travel Partner API collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “travelpartner.accounts.hotels.setLiveOnGoogle” (POST /v3/:account/hotels:setLiveOnGoogle?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Travel Partner API?

The Travel Partner API provides you with a RESTful interface to the Google Hotel Center platform. It enables an app to efficiently retrieve and change Hotel… It is listed under Travel and has 23 endpoints.

Who publishes the Travel Partner API?

It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Travel Partner API?

Requests go to https://travelpartner.googleapis.com. Endpoint paths are added to this base URL.

How do I authenticate with the Travel Partner API?

Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.

How many endpoints does the Travel Partner API have?

23 operations on 17 paths (14 GET, 7 POST, 1 PATCH, 1 DELETE). The largest groups are accounts.

Is forking the Travel Partner API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.