开放平台

扒书 ERP Open API

孔网账号列表

列出已配置的孔网账号和当前登录状态。

请求方式GET
接口路径/api/shop/kfzSnap/accountList
Content-Type-
鉴权X-Nideshop-Token

curl 调用

curl -s 'https://www.8shu8.com/api/shop/kfzSnap/accountList' \
  -H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'

响应示例

data 为数组,每项结构见下方字段说明。

{
  "code": 200,
  "message": "操作成功",
  "success": true,
  "data": [
    {
      "phone": "string",
      "accountType": "...",
      "accountTypeName": "string",
      "addTime": "string",
      "loggedIn": true,
      "bindShopId": 1,
      "bindShopName": "string",
      "pwd": "string"
    }
  ]
}