顾客-更改留言状态

Customer Change Contacts Status API 文档

接口信息

  • 接口地址: {your-site-url}/api/skill/customer/change-contacts-status
  • 基础 URL: {your-site-url} 需替换为你自己的独立站 URL 地址,如 https://your-domain.com/apimanager666
  • 请求方式: POST
  • Content-Type: application/json
  • 说明: 此接口用于修改指定留言的处理状态

认证

请求头中需要携带 skill-access-token

Header
skill-access-token {your-skill-access-token} (请替换为你自己的 token)

请求参数 (JSON Body)

字段 类型 必填 说明
id int ✅ 必填 留言 ID
status int ✅ 必填 处理状态。1 = 未处理,2 = 已处理

请求示例

cURL

curl --location --request POST '{your-site-url}/api/skill/customer/change-contacts-status' \
--header 'skill-access-token: {your-skill-access-token}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "id": 71,
    "status": 1
}'

返回结果

code200 表示调用成功;code 不为 200 表示调用失败。

成功响应

{
    "code": 200,
    "data": [],
    "message": "success"
}

返回字段说明

字段 类型 说明
code Number 状态码,200 表示成功
message String 执行结果的文字描述
data Array 返回数据,目前为空数组

注意事项

  1. idstatus 均为必填
  2. status 仅支持 1(未处理)和 2(已处理)
Copyright © fecify.com 2025 all right reserved,powered by Gitbook该文件修订时间: 2026-05-25 14:22:49

results matching ""

    No results matching ""