Method: termsOfService.get

  • Retrieves the TermsOfService for a specific version using a GET request.

  • Requires a name path parameter formatted as termsOfService/{version} to identify the desired version.

  • The response provides the TermsOfService details if successful.

  • Authorization is necessary using the https://www.googleapis.com/auth/content scope.

Retrieves the TermsOfService associated with the provided version.

HTTP request

GET https://merchantapi.googleapis.com/accounts/v1beta/{name=termsOfService/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The resource name of the terms of service version. Format: termsOfService/{version}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of TermsOfService.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.