用户的商店列表
方法适用于模式:FBY, FBS, Express 和 DBS.
如果您使用API-Key令牌,调用该方法时需要具备列表中可用权限之一
- inventory-and-order-processing — 订单处理和商品核算
- inventory-and-order-processing:read-only — 查看订单信息
- pricing — 价格管理
- pricing:read-only — 查看价格
- offers-and-cards-management — 商品和卡片管理
- offers-and-cards-management:read-only — 查看商品和卡片
- promotion — 商品推广
- promotion:read-only — 查看商品推广信息
- finance-and-accounting — 查看财务信息和报告
- communication — 与买家沟通
- settings-management — 店铺设置
- supplies-management:read-only — 获取有关FBY应用程序的信息
- all-methods — 全面管理账户
- all-methods:read-only — 查看所有数据
**为 Api-Key-令牌:**返回发出令牌的柜内商店名单。 您无法获得仅子代理商店的列表。
**对于OAuth令牌:**返回用户有权访问的存储列表 — 请求中使用的授权令牌的所有者。 对于代理用户,该列表由子代理存储组成。
| ⚙️ 限制: 每小时1,000个请求 |
|---|
Request
GET
https://api.partner.market.yandex.ru/v2/campaigns
Query parameters
|
Name |
Description |
|
page |
Type: integer 如果方法有 用它代替参数 结果页的编号。 与参数一起使用
Default: Max value: |
|
pageSize |
Type: integer 页面大小。 与参数一起使用
|
Responses
200 OK
用户的商店。
Body
application/json
{
"campaigns": [
{
"domain": "example",
"id": 1,
"clientId": 0,
"business": {
"id": 1,
"name": "example"
},
"placementType": "FBS",
"apiAvailability": "AVAILABLE"
}
],
"pager": {
"total": 0,
"from": 0,
"to": 0,
"currentPage": 0,
"pagesCount": 0,
"pageSize": 0
}
}
|
Name |
Description |
||||||||||||||||
|
campaigns |
Type: object[]
每个商店的信息列表。 Example
|
||||||||||||||||
|
pager |
Type: object
分页的模型。 Example
|
500 Internal Server Error
Yandex中的内部错误。 市场。 有关错误的更多信息
Body
application/json
{
"status": "OK"
}
Type: object
No longer supported, please use an alternative and newer version.