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 "developerEmail" 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.
HTTP request
POST https://merchantapi.googleapis.com/accounts/v1beta/{name=accounts/*/developerRegistration}:registerGcp
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: Note: The account used must be a production account (can't be a test account ) and must have a verified website in Merchant Center. |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "developerEmail": string } |
| Fields | |
|---|---|
developerEmail |
Immutable. Optional field. Developer role can be also added by using |
Response body
If successful, the response body contains an instance of DeveloperRegistration.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.