创建客户
POST
/customers请求参数
Body 参数application/json
name
string
客户名称
email
string
邮件地址
site_url
string
站点地址
tel
string
电话
phone
string
手机号
address
string
详细地址
remark
string
备注
next_time
string
可选
下次联系日期,格式: YYYY-mm-dd
is_deal
boolean
是否是已成交客户
lng
integer
地理经度
lat
integer
地理纬度
customer_source_id
integer
客户来源
customer_grade_id
integer
客户等级
industry
string
客户行业
owner_user_id
integer
可选
分配的员工ID,如果为0则进入公海,
示例
{
"name": "string",
"email": "string",
"site_url": "string",
"tel": "string",
"phone": "string",
"address": "string",
"remark": "string",
"next_time": "string",
"is_deal": true,
"lng": 0,
"lat": 0,
"customer_source_id": 0,
"customer_grade_id": 0,
"industry": "string",
"owner_user_id": 0
}
示例代码
返回响应
成功时返回(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{}
最后修改时间: 2 年前