accounts
GET /{merchantId}/accounts
Lists the sub-accounts in your Merchant Center account.
Request
- Base URLhttps://shoppingcontent.googleapis.com/content/v2.1
- AuthOAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/contentAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/content
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
merchantIdstring required
The ID of the managing account. This must be a multi-client account.
Query parameters
labelstring
If view is set to "css", only return accounts that are assigned label with given ID.
maxResultsinteger
The maximum number of accounts to return in the response, used for paging.
namestring
If set, only the accounts with the given name (case sensitive) will be returned.
pageTokenstring
The token returned by the previous request.
view'MERCHANT' | 'CSS'
Controls which fields will be populated. Acceptable values are: "merchant" and "css". The default value is "merchant".
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.