Install
openclaw skills install pinkr-admin-api品氪后台 API 调用工具,用于 AI 模型自动调用品氪 CRM 系统。所有接口均为 POST,参数通过 JSON 请求体传递,包含会员查询等常用接口。
openclaw skills install pinkr-admin-api根据用户问句自动识别意图并调用对应接口,支持以下功能模块:
https://crm.pinkr.com/Crm/Business/getTokenadmin_name,passwordtoken 的 JSON(如:{"code": 200, "data": {"token": "xxx"}, "message": "success"})所有接口使用统一的 POST 表单方式提交:
Crm/Customer/GetCustomershttps://crm.pinkr.com/Crm/Customer/GetCustomers{"phone": "13800138000"}| 参数名 | 类型 | 说明 |
|---|---|---|
| code | string | 状态码 |
| message | string | 信息 |
| data | string | 数据 |
| 接口名称 | 接口地址 | 说明 |
| --- | --- | --- | --- |
| 会员列表 | Crm/Customer/GetCustomers | 会员列表 |
| 会员详情 | Crm/Customer/GetCustomer | 会员详情,通过会员列表返回的 customer_id 访问 |
Crm/Customer/GetCustomers| 参数名称 | 参数类型 | 参数说明 |
|---|---|---|
| phone | string | 手机号 |
Crm/Customer/GetCustomer| 参数名称 | 参数类型 | 参数说明 |
|---|---|---|
| id | string | 会员 id |