Method: accounts.bookings.create

Creates and returns the specified Booking notification.

HTTP request

POST https://travelpartner.googleapis.com/v3/{parent=accounts/*}/bookings

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The resource name of the partner account. The format is accounts/{account}.

Request body

The request body contains an instance of Booking.

Response body

If successful, the response body contains a newly created instance of Booking.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/travelpartner

For more information, see the OAuth 2.0 Overview.