- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Retrieves a list of LoyaltyProgram for the account.
HTTP request
GET https://merchantapi.googleapis.com/accounts/v1alpha/{parent=accounts/*/programs/*}/loyaltyPrograms
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The account and program which owns the list of |
Query parameters
| Parameters | |
|---|---|
pageSize |
Optional. The maximum number of |
pageToken |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
Request body
The request body must be empty.
Response body
Response message for loyaltyPrograms.list.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"loyaltyPrograms": [
{
object ( |
| Fields | |
|---|---|
loyaltyPrograms[] |
The |
nextPageToken |
A token, which can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.