accounts

GET /{merchantId}/accounts

Lists the sub-accounts in your Merchant Center account.

Request

  • Base URL
    https://shoppingcontent.googleapis.com/content/v2.1
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/content
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/content
  • TypeScript
    A 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

nextPageTokenstring

The token for the retrieval of the next page of accounts.

kindstring

Identifies what kind of resource this is. Value: the fixed string "content#accountsListResponse".

Changes

No recorded changes to this operation across all 1 revision of this API.