collections
GET /{merchantId}/collections
Lists the collections in your Merchant Center account. The response might contain fewer items than specified by page_size. Rely on next_page_token to determine if there are more items to be requested.
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
Required. The ID of the account that contains the collection. This account cannot be a multi-client account.
Query parameters
pageSizeinteger
The maximum number of collections to return in the response, used for paging. Defaults to 50; values above 1000 will be coerced to 1000.
pageTokenstring
Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token.
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.