亮色模式
客户标签新增/编辑
POST
/v1/company/pushTag请求参数
Body 参数application/json
tag_id
integer
可选
客户标签ID,编辑时必填
传入值来自/v1/company/companyEnums返回值中的tag_list
tag_name
string
客户标签名称,必填
tag_color
string
可选
客户标签颜色,非必填,例子#188ae8
示例
tag_id,integer,false,,客户标签ID,编辑时必填
tag_name,string,true,,客户标签名称,必填
tag_color,string,false,#188ae8,客户标签颜色,非必填,例子#188ae8
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
now
string
必需
data
object
必需
tag_id
string
标签ID
示例
{
"code": 0,
"msg": "success",
"now": "2022-04-11 16:33:40",
"data": {
"tag_id": "3137319521"
}
}
最后修改时间: 3 个月前