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 Center data, and is thus suitable for managing large or complex accounts.

Service: travelpartner.googleapis.com

We recommend that you call this service using Google-provided client libraries. If your application needs to call this service using your own libraries, you should use the following information when making the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service may have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://travelpartner.googleapis.com

REST Resource: v3.accounts.hotelViews

Methods
list GET /v3/{parent=accounts/*}/hotelViews
Returns the list of hotel views.
summarize GET /v3/{parent=accounts/*}/hotelViews:summarize
Returns summarized information about hotels.

REST Resource: v3.accounts.priceAccuracyViews

Methods
get GET /v3/{name=accounts/*/priceAccuracyViews/*}
Returns the requested price accuracy view in full detail.
list GET /v3/{parent=accounts/*}/priceAccuracyViews
Lists available price accuracy views.
summarize GET /v3/{parent=accounts/*}/priceAccuracyViews:summarize
Returns the price accuracy summary.

REST Resource: v3.accounts.priceCoverageViews

Methods
getLatest GET /v3/{parent=accounts/*}/priceCoverageViews:latest
Returns the latest price coverage view in full detail.
list GET /v3/{parent=accounts/*}/priceCoverageViews
Returns the entire price coverage history.

REST Resource: v3.accounts.priceViews

Methods
get GET /v3/{name=accounts/*/priceViews/*}
Returns the requested price view in full detail.

REST Resource: v3.accounts.reconciliationReports

Methods
create POST /v3/{parent=accounts/*}/reconciliationReports
Creates a reconciliation report and uploads it to Google.
get GET /v3/{name=accounts/*/reconciliationReports/*}
Returns a reconciliation report.
list GET /v3/{parent=accounts/*}/reconciliationReports
Returns a list of created reconciliation reports.
validate POST /v3/{parent=accounts/*}/reconciliationReports:validate
Validates a reconciliation report.