## 基础

```json
[
  {
    "接口名称": "[获取接口调用凭据](/doc/channels/api/basic/api_getaccesstoken)",
    "请求路径": "/cgi-bin/token",
    "描述": "本接口用于获取获取全局唯一后台接口调用凭据（Access Token），token 有效期为 7200 秒，开发者需要进行妥善保存，使用注意事项请参考此文档"
  },
  {
    "接口名称": "[获取稳定版接口调用凭据](/doc/channels/api/basic/api_getstableaccesstoken)",
    "请求路径": "/cgi-bin/stable_token",
    "描述": "本接口用于获取获取全局唯一后台接口调用凭据（Access Token），token 有效期为 7200 秒，但此接口和 getAccessToken 互相隔离，"
  },
  {
    "接口名称": "[查询API调用额度](/doc/channels/api/basic/api_getapiquota)",
    "请求路径": "/cgi-bin/openapi/quota/get",
    "描述": "本接口用于查询服务端接口的的每日调用接口的额度，调用次数，频率限制"
  },
  {
    "接口名称": "[重置指定API调用次数](/doc/channels/api/basic/api_clearapiquota)",
    "请求路径": "/cgi-bin/openapi/quota/clear",
    "描述": "本接口使用 access_token 来重置指定接口的每日调用次数"
  },
  {
    "接口名称": "[重置API调用次数](/doc/channels/api/basic/api_clearquota)",
    "请求路径": "/cgi-bin/clear_quota",
    "描述": "本接口是通过access_token清空服务端接口的每日调用接口次数"
  },
  {
    "接口名称": "[使用AppSecret重置API调用次数](/doc/channels/api/basic/api_clearquotabyappsecret)",
    "请求路径": "/cgi-bin/clear_quota/v2",
    "描述": "本接口是通过AppSecret清空服务端接口的每日调用接口次数"
  },
  {
    "接口名称": "[查询rid信息](/doc/channels/api/basic/api_getridinfo)",
    "请求路径": "/cgi-bin/openapi/rid/get",
    "描述": "本接口用于查询调用服务端接口报错返回的rid详情信息，辅助开发者高效定位问题"
  },
  {
    "接口名称": "[网络通信检测](/doc/channels/api/basic/api_callbackcheck)",
    "请求路径": "/cgi-bin/callback/check",
    "描述": "为了帮助开发者排查回调连接失败的问题，提供这个网络检测的API"
  },
  {
    "接口名称": "[获取微信API服务器IP](/doc/channels/api/basic/api_getapidomainip)",
    "请求路径": "/cgi-bin/get_api_domain_ip",
    "描述": "该接口用于获取微信 api 服务器 ip 地址（开发者服务器主动访问 api.weixin.qq.com 的远端地址）"
  },
  {
    "接口名称": "[获取微信推送服务器IP](/doc/channels/api/basic/api_getcallbackip)",
    "请求路径": "/cgi-bin/getcallbackip",
    "描述": "该接口用于获取微信推送服务器 ip 地址（向开发者服务器推送信息的微信服务器来源地址）"
  }
]
```

## 视频号助手API

### 直播基础信息

```json
[
  {
    "接口名称": "[视频号获取当前的直播记录](/doc/channels/api/channels/live/api_getfinderliverecordlist)",
    "请求路径": "/channels/ec/finderlive/getfinderliverecordlist",
    "描述": "视频号获取当前的直播记录"
  },
  {
    "接口名称": "[视频号获取当前的直播预约记录](/doc/channels/api/channels/live/api_getfinderlivenoticerecordlist)",
    "请求路径": "/channels/ec/finderlive/getfinderlivenoticerecordlist",
    "描述": "视频号获取当前的直播预约记录"
  }
]
```

### 橱窗管理

```json
[
  {
    "接口名称": "[上架商品到橱窗](/doc/channels/api/channels/windowproduct/api_addwindowproduct)",
    "请求路径": "/channels/ec/window/product/add",
    "描述": "通过该接口可将商品上架到橱窗"
  },
  {
    "接口名称": "[获取橱窗商品详情](/doc/channels/api/channels/windowproduct/api_getwindowproduct)",
    "请求路径": "/channels/ec/window/product/get",
    "描述": "通过该接口可获取橱窗商品详情"
  },
  {
    "接口名称": "[获取已添加到橱窗的商品列表](/doc/channels/api/channels/windowproduct/api_getwindowproductlist)",
    "请求路径": "/channels/ec/window/product/list/get",
    "描述": "通过该接口可获取已添加到橱窗的商品列表"
  },
  {
    "接口名称": "[下架橱窗商品](/doc/channels/api/channels/windowproduct/api_offwindowproduct)",
    "请求路径": "/channels/ec/window/product/off",
    "描述": "通过该接口可将橱窗商品进行下架"
  }
]
```

### 留资组件管理

```json
[
  {
    "接口名称": "[按直播场次获取留资信息详情](/doc/channels/api/channels/leads/api_getleadsinfobyrequestid)",
    "请求路径": "/channels/leads/get_leads_info_by_request_id",
    "描述": "通过该接口可按直播场次获取留资信息详情"
  },
  {
    "接口名称": "[按时间获取留资信息详情](/doc/channels/api/channels/leads/api_getleadsinfobycomponentid)",
    "请求路径": "/channels/leads/get_leads_info_by_component_id",
    "描述": "通过该接口可按时间获取留资信息详情"
  },
  {
    "接口名称": "[获取留资request_id列表详情](/doc/channels/api/channels/leads/api_getleadsrequestid)",
    "请求路径": "/channels/leads/get_leads_request_id",
    "描述": "通过该接口可获取留资request_id列表详情"
  },
  {
    "接口名称": "[获取留资组件直播推广记录信息详情](/doc/channels/api/channels/leads/api_getleadscomponentpromoterecord)",
    "请求路径": "/channels/leads/get_leads_component_promote_record",
    "描述": "通过该接口可获取留资组件直播推广记录信息详情"
  },
  {
    "接口名称": "[获取留资组件Id列表详情](/doc/channels/api/channels/leads/api_getleadscomponentid)",
    "请求路径": "/channels/leads/get_leads_component_id",
    "描述": "通过该接口可获取留资组件ld列表详情"
  }
]
```

### 留资服务的直播数据

```json
[
  {
    "接口名称": "[获取视频号账号信息](/doc/channels/api/channels/leadslive/api_getfinderattrbyappid)",
    "请求路径": "/channels/finderlive/get_finder_attr_by_appid",
    "描述": "通过该接口可获取视频号账号信息"
  },
  {
    "接口名称": "[获取留资直播数据详情](/doc/channels/api/channels/leadslive/api_getfinderlivedatalist)",
    "请求路径": "/channels/finderlive/get_finder_live_data_list",
    "描述": "通过此接口可获取留资直播数据详情"
  },
  {
    "接口名称": "[获取账号收集的留资数量](/doc/channels/api/channels/leadslive/api_getfinderliveleadsdata)",
    "请求路径": "/channels/finderlive/get_finder_live_leads_data",
    "描述": "通过该接口可获取账号收集的留资数量"
  }
]
```

### 直播大屏数据

```json
[
  {
    "接口名称": "[获取直播大屏直播列表](/doc/channels/api/channels/livedashboard/api_getlivelist)",
    "请求路径": "/channels/livedashboard/getlivelist",
    "描述": "只返回电商直播间的直播列表"
  },
  {
    "接口名称": "[获取直播大屏数据](/doc/channels/api/channels/livedashboard/api_getlivedata)",
    "请求路径": "/channels/livedashboard/getlivedata",
    "描述": "获取直播大屏数据"
  }
]
```

### 罗盘达人版

```json
[
  {
    "接口名称": "[获取电商概览数据](/doc/channels/api/channels/compass/api_getfinderoverall)",
    "请求路径": "/channels/ec/compass/finder/overall/get",
    "描述": "通过该接口可获取电商概览数据"
  },
  {
    "接口名称": "[获取带货商品数据](/doc/channels/api/channels/compass/api_getfinderproductdata)",
    "请求路径": "/channels/ec/compass/finder/product/data/get",
    "描述": "通过该接口可获取带货商品数据"
  },
  {
    "接口名称": "[获取带货商品列表](/doc/channels/api/channels/compass/api_getfinderproductlist)",
    "请求路径": "/channels/ec/compass/finder/product/list/get",
    "描述": "通过该接口可获取带货商品列表"
  },
  {
    "接口名称": "[获取带货人群数据](/doc/channels/api/channels/compass/api_getfindersaleprofiledata)",
    "请求路径": "/channels/ec/compass/finder/sale/profile/data/get",
    "描述": "通过该接口可获取带货人群数据"
  }
]
```

## 本地生活API

### 商家管理商品

```json
[
  {
    "接口名称": "[添加团购优惠](/doc/channels/api/locallife/shop/api_addlocalproduct)",
    "请求路径": "/channels/ec/product/locallife/add",
    "描述": "通过本接口可以创建本地团购优惠"
  },
  {
    "接口名称": "[上架商品](/doc/channels/api/locallife/shop/api_listingproduct)",
    "请求路径": "/channels/ec/product/listing",
    "描述": "【小店商家】通过该接口可将商品（包括非卖赠品）上架到微信小店"
  },
  {
    "接口名称": "[撤回商品审核](/doc/channels/api/locallife/shop/api_cancelauditproduct)",
    "请求路径": "/channels/ec/product/audit/cancel",
    "描述": "【小店商家】该接口用于撤销微信小店商品（包括非卖赠品）审核申请，将商品（包括非卖赠品）状态从审核中改为未审核"
  },
  {
    "接口名称": "[查询团购优惠列表](/doc/channels/api/locallife/shop/api_getlocalproductlist)",
    "请求路径": "/channels/ec/product/locallife/list/get",
    "描述": "查询团购优惠列表"
  },
  {
    "接口名称": "[查询团购优惠详情](/doc/channels/api/locallife/shop/api_getlocalproduct)",
    "请求路径": "/channels/ec/product/locallife/get",
    "描述": "查询团购优惠详情"
  },
  {
    "接口名称": "[免审更新团购优惠](/doc/channels/api/locallife/shop/api_updatelocalauditfree)",
    "请求路径": "/channels/ec/product/locallife/auditfree",
    "描述": "针对已上线的本地团购优惠，通过本接口可以进行免审核更新"
  },
  {
    "接口名称": "[更新团购优惠](/doc/channels/api/locallife/shop/api_updatelocalproduct)",
    "请求路径": "/channels/ec/product/locallife/update",
    "描述": "更新成功后，将通过「团购优惠更新回调」接口通知商家"
  },
  {
    "接口名称": "[下架商品](/doc/channels/api/locallife/shop/api_delistingproduct)",
    "请求路径": "/channels/ec/product/delisting",
    "描述": "【小店商家】可通过该接口将商品（包括非卖赠品）从微信小店下架"
  },
  {
    "接口名称": "[删除商品](/doc/channels/api/locallife/shop/api_deleteproduct)",
    "请求路径": "/channels/ec/product/delete",
    "描述": "【小店商家】可通过该接口删除微信小店商品（包括赠品），审核中的商品（包括赠品）无法删除；删除在售赠品不会影响原商品"
  }
]
```

### 商家管理库存

```json
[
  {
    "接口名称": "[上传团购优惠code](/doc/channels/api/locallife/voucher/api_uploadvouchercode)",
    "请求路径": "/channels/ec/voucher/codes/upload",
    "描述": "上传团购优惠code（仅商家预存code模式需要）\n如添加团购优惠时选择codesourcetype=2，需要商家先预存code，用户支付成功后平台从code库"
  },
  {
    "接口名称": "[快速更新库存](/doc/channels/api/locallife/voucher/api_updatestock)",
    "请求路径": "/channels/ec/product/stock/update",
    "描述": "可通过该接口快速更新微信小店商品的库存"
  }
]
```

### 用户购买流程

```json
[
  {
    "接口名称": "[获取订单详情](/doc/channels/api/locallife/purchasing/api_getorder)",
    "请求路径": "/channels/ec/order/get",
    "描述": "可通过该接口获取订单的详细信息"
  }
]
```

### 用户使用流程

```json
[
  {
    "接口名称": "[查询用户的团购优惠详情](/doc/channels/api/locallife/useing/api_getvoucher)",
    "请求路径": "/channels/ec/voucher/get",
    "描述": "查询用户的团购优惠详情,单商户限频200QPS"
  },
  {
    "接口名称": "[查询用户的团购优惠列表](/doc/channels/api/locallife/useing/api_findvoucher)",
    "请求路径": "/channels/ec/voucher/get_list",
    "描述": "查询用户的团购优惠列表"
  },
  {
    "接口名称": "[核销用户的团购优惠](/doc/channels/api/locallife/useing/api_consumevoucher)",
    "请求路径": "/channels/ec/voucher/consume",
    "描述": "接口使用说明： 1、单商户限频200QPS"
  }
]
```

### 商家撤销核销

```json
[
  {
    "接口名称": "[撤销用户已核销团购优惠](/doc/channels/api/locallife/cancel/api_withdrawconsume)",
    "请求路径": "/channels/ec/voucher/revoke",
    "描述": "撤销用户已核销团购优惠"
  }
]
```

### 商家资金对账

```json
[
  {
    "接口名称": "[获取资金流水列表](/doc/channels/api/locallife/funds/api_getfundsflowlist)",
    "请求路径": "/channels/ec/funds/getfundsflowlist",
    "描述": "可通过该接口获取资金流水列表"
  },
  {
    "接口名称": "[查询券账单](/doc/channels/api/locallife/funds/api_getvoucherbilllist)",
    "请求路径": "/channels/ec/voucher/get_bill_list",
    "描述": "查询券账单"
  }
]
```

### 随时退/自动退

```json
[
  {
    "接口名称": "[获取售后单](/doc/channels/api/locallife/automatically/api_getaftersaleorder)",
    "请求路径": "/channels/ec/aftersale/getaftersaleorder",
    "描述": "通过该接口可以获取微信小店的售后单"
  }
]
```
