Method: accounts.lfpStores.list
列出目标商家的商店(由 ListLfpStoresRequest
中的过滤条件指定)。
HTTP 请求
GET https://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpStores
网址采用 gRPC 转码语法。
路径参数
参数 |
parent |
string
必需。LFP 合作伙伴。格式:accounts/{account}
|
查询参数
参数 |
targetAccount |
string (int64 format)
必需。要为其列出商店的商家的 Merchant Center ID。
|
pageSize |
integer
可选。要返回的指定账号的 LfpStore 资源的数量上限。如果给定账号的商店数量少于 pageSize ,则该服务返回的数量会少于此值。默认值为 250。最大值为 1000;如果指定的值高于最大值,则 pageSize 将默认为最大值。
|
pageToken |
string
可选。从之前的 ListLfpStoresRequest 调用接收的页面令牌。提供页面令牌以检索后续页面。进行分页时,提供给 ListLfpStoresRequest 的所有其他参数必须与提供页面令牌的调用相一致。在对上一个请求的响应中作为 nextPageToken 返回的令牌。
|
响应正文
lfpStores.list 方法的响应消息。
如果成功,响应正文将包含结构如下的数据:
JSON 表示法 |
{
"lfpStores": [
{
object (LfpStore )
}
],
"nextPageToken": string
} |
字段 |
lfpStores[] |
object (LfpStore )
指定商家的商店。
|
nextPageToken |
string
可作为 pageToken 发送并用于检索下一页的令牌。如果省略此字段,则不存在后续页面。
|
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/content
如需了解详情,请参阅 OAuth 2.0 Overview。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-01-23。
[null,null,["最后更新时间 (UTC):2025-01-23。"],[[["Lists stores for a target merchant using the `ListLfpStoresRequest` filter."],["Requires specifying the LFP partner and Merchant Center ID in the request."],["Supports pagination to retrieve large lists of stores."],["Returns an array of `LfpStore` objects containing store information."],["Requires the `https://www.googleapis.com/auth/content` OAuth scope for authorization."]]],["This describes how to list a merchant's stores using an HTTP GET request to `https://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpStores`. The `parent` path parameter specifies the account. Required query parameters include `targetAccount` for the merchant ID. Optional query parameters `pageSize` and `pageToken` control pagination. The empty request returns a JSON response with an array of `lfpStores` and an optional `nextPageToken` for pagination, all requiring OAuth scope `https://www.googleapis.com/auth/content`.\n"]]