Accounts: update

Requires authorization

Updates a Merchant Center account. Try it now.

Request

HTTP request

PUT https://www.googleapis.com/content/v2/merchantId/accounts/accountId

Parameters

Parameter name Value Description
Path parameters
accountId unsigned long The ID of the account.
merchantId unsigned long The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
Optional query parameters
dryRun boolean Flag to run the request in dry-run mode.

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

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

Request body

In the request body, supply an Accounts resource with the following properties:

Property name Value Description Notes
Required Properties
id unsigned long Merchant Center account ID.
name string Display name for the account. writable
Optional Properties
adultContent boolean Indicates whether the merchant sells adult content. writable
adwordsLinks[].adwordsId unsigned long Customer ID of the AdWords account. writable
reviewsUrl string URL for individual seller reviews, i.e., reviews for each child account. writable
sellerId string Client-specific, locally-unique, internal ID for the child account. writable
users[] list Users with access to the account. Every account (except for subaccounts) must have at least one admin user. writable
users[].admin boolean Whether user is an admin. writable
users[].emailAddress string User's email address. writable
websiteUrl string The merchant's website. writable

Response

If successful, this method returns an Accounts resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Send feedback about...

Content API for Shopping