Required. The name of the account for which to retrieve all programs. Format: accounts/{account}
Query parameters
Parameters
pageSize
integer
Optional. The maximum number of programs to return in a single response. If unspecified (or 0), a default size of 1000 is used. The maximum value is 1000; values above 1000 will be coerced to 1000.
pageToken
string
Optional. A continuation token, received from a previous programs.list call. Provide this to retrieve the next page.
Request body
The request body must be empty.
Response body
Response message for the programs.list method.
If successful, the response body contains data with the following structure:
[[["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."],[[["Retrieves all programs associated with a specified Merchant Center account."],["Uses a GET request with path and query parameters to filter and paginate results."],["Response provides a list of programs and a token for retrieving subsequent pages."],["Requires authorization with the `https://www.googleapis.com/auth/content` scope."]]],["This document details retrieving programs associated with an account. The core action is a `GET` HTTP request to `https://merchantapi.googleapis.com/accounts/v1beta/{parent=accounts/*}/programs`. It uses a required `parent` path parameter (account name) and optional query parameters `pageSize` (max 1000) and `pageToken` for pagination. The request body is empty. The response contains a list of `programs` and an optional `nextPageToken` for subsequent pages. Authorization requires the `https://www.googleapis.com/auth/content` OAuth scope.\n"]]