Lists the collections in your Merchant Center account. The response might contain fewer items than specified by pageSize. Rely on nextPageToken to determine if there are more items to be requested.
HTTP request
GET https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/collections
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-25 UTC."],[[["This operation lists the collections within a specified Merchant Center account, enabling pagination for retrieving large sets of data."],["The request requires the `merchantId` as a path parameter, specifying the account containing the collections."],["Optional query parameters `pageSize` and `pageToken` control the number of results per page and navigation between pages."],["The response provides a list of collections and a `nextPageToken` if additional pages are available."],["Authorization is necessary using the `https://www.googleapis.com/auth/content` OAuth scope."]]],["This document outlines how to retrieve a list of collections from a Merchant Center account using an HTTP GET request. The endpoint `https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/collections` requires the `merchantId` as a path parameter. Optional query parameters include `pageSize` (defaulting to 50, max 1000) and `pageToken` for pagination. The request body must be empty. The response contains an array of `resources` and a `nextPageToken` for subsequent pages. Authorization requires the `https://www.googleapis.com/auth/content` scope.\n"]]