DeveloperRegistrationService

Service to access Developer Registration.

GetAccountForGcpRegistration

rpc GetAccountForGcpRegistration(Empty) returns (GetAccountForGcpRegistrationResponse)

Retrieves the merchant account that the calling GCP is registered with.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

GetDeveloperRegistration

rpc GetDeveloperRegistration(GetDeveloperRegistrationRequest) returns (DeveloperRegistration)

Retrieves a developer registration for a merchant.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

RegisterGcp

rpc RegisterGcp(RegisterGcpRequest) returns (DeveloperRegistration)

Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an "API developer" and add the "developer_email" as a contact with "API notifications" email preference on.

Restrictions:

  • The caller account must be authenticated and must not impersonate another account at registration time. Registering for subaccounts is not supported if the caller account is authenticated with the parent or the managing advanced account.

  • The caller account must have a verified website in Merchant Center.

  • Test accounts are not eligible for registration.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

UnregisterGcp

rpc UnregisterGcp(UnregisterGcpRequest) returns (Empty)

Unregister the calling GCP from the calling shopping account. Note that the GCP will still be able to access the API for at most 1 day from the unregister succussful call.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.