Required. The merchant account for which to list return policies. Format: accounts/{account}
Query parameters
Parameters
pageSize
integer
Optional. The maximum number of OnlineReturnPolicy resources to return. The service returns fewer than this value if the number of return policies for the given merchant is less that than the pageSize. The default value is 10. The maximum value is 100; If a value higher than the maximum is specified, then the pageSize will default to the maximum
pageToken
string
Optional. A page token, received from a previous onlineReturnPolicies.list call. Provide the page token to retrieve the subsequent page.
When paginating, all other parameters provided to onlineReturnPolicies.list must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.
Request body
The request body must be empty.
Response body
Response message for the onlineReturnPolicies.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-01-23 UTC."],[[["Lists all existing return policies for a given merchant account."],["Uses `GET` request method and requires `https://www.googleapis.com/auth/content` authorization scope."],["Allows pagination using `pageSize` and `pageToken` query parameters."],["Response includes an array of `OnlineReturnPolicy` objects and a `nextPageToken` for pagination."],["Request body should be empty."]]],[]]