客户详情
<p><strong>简要描述:</strong> </p>
<ul>
<li>view</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>crm/customer/info</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">cid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>客户id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"errCode": 1000,
"errMsg": "请求成功",
"data": {
"id": "62640",//客户id
"org_cid": "0",
"org_id": "1",
"org_department_id": "0",
"is_credit": "0",
"code": "C00062640",
"code_old": "",
"helper_code": "DH",//助记词
"name": "定会",//客户名称
"short_name": "定会",//客户简称
"name_en": "",
"checking_info": "{
"major_car":"alulalu",//主营车型
"region_code":"310115000",
"group_name":"阿拉塔塔",//联盟名称
"contact_card":"http://tapi.1uap.com/upload/parts/2020/06/135132261076.png",//名片图片
"channel_name":"同行",渠道
"workshop_images":"http://tapi.1uap.com/upload/parts/2020/06/135133696933.png",//车间照片
"location_y":"121.584679",
"nature":"1",//1)企业,2)个人 客户性质
"location_x":"31.193643",
"total_sales":"500",营业规模
"quality":"1",//资质(一级,二级)
"parent_company":"被Lost我",
"license_no":"234343434334567890",//营业执照编号
"stations":"25",//工位数量
"contact_address":"上海市浦东新区张江高科技园区新希望半岛科技园创星园",//详细地址
"signboard":"http://tapi.1uap.com/upload/parts/2020/06/135132947100.png",//门头照
"is_group":"1",//是否联盟连锁
"front_images":"http://tapi.1uap.com/upload/parts/2020/06/135132134742.png",//前台照片
"channel_id":"5",
"license":"http://tapi.1uap.com/upload/parts/2020/06/135132523555.png",//营业执照
"employees":"80"//员工数量
"agreement_images":""//合作协议照片
"warehouse_images":"",//仓库照片
}",//json 数据 认证信息
"license_no": "",
"_license_no": "234343434334567890",
"signboard": "",
"mobile": "18221231475",//电话
"remark": "会立即",//备注
"email": "1107727036@qq.com",//邮箱
"org_type_name": "公司总部",
"org_property_name": "直营",
"_cache_at": 1592204898,
"area_name": "分销店",//业务区域
"area_owner_name": "李辉",//业务负责人
"state_name": "一般客户",
"state_color": "3ba360",
"state_bg_color": "F4F9F5",
"updated_user_name": "李辉",
"created_user_name": "李辉",
"user_name": "李辉",
"org_cid_name": "",
"org_name": "优配车联",//业务组织
"org_f_name": "",
"org_department_name": "",//客户所属部门
"finance_org_name": "",
"report_org_name": "",
"warehouse_org_name": "",
"price_range_name": "内部网点",//客户等级价格
"channel_name": "",
"grade_name": "钻石",//客户等级
"category_name": "协议客户",//客户类别
"is_checked_name": "待认证",
"pay_method_name": "账期",
"credit_limit": "0.00",//信用额度
"used_limit": "0.00",//应收
"account_days": "0 天",//账期
"sales_money": "0.00",//采购额
"visit_plan": {},
"extend_infos": [//自定义信息
{
"id": "38",
"customer_id": "62640",
"type": "2",//类型 1 文字 2 日期
"item": "2020-06-15",//标题
"content": "公婆logo了",//内容
"created_at": "1592204898",
"updated_at": "1592204898"
}
],
"total_infos": {
"contacts": "0",
"address": "0",
"service3d": "1",
"invoice": "0",
"contract": "0",
"orders": "0",
"service": "0"
},
"services": {
"id": "14712",
"customer_id": "62640",
"whole_operate": "0",
"whole_business": "3",
"whole_distribution": "0",
"whole_technique": "0",
"whole_finance": "0",
"quick_operate": "0",
"quick_business": "0",
"quick_distribution": "0",
"quick_technique": "0",
"quick_finance": "0",
"created_at": "1592199961",
"updated_at": "1592204898",
"_whole_operate": "",
"_whole_business": "李辉 18953118600",
"_whole_distribution": "",
"_whole_technique": "",
"_whole_finance": "",
"_quick_operate": "",
"_quick_business": "",
"_quick_distribution": "",
"_quick_technique": "",
"_quick_finance": ""
},
"_can_edit_area_id": 1,
"_can_edit_price_range": 1,
"contacts": [//联系人
{
"id": "45973",//id
"customer_id": "62640",
"name": "古兰经",//名称
"title": "阿拉啦",//头衔
"sex": "0",//性别
"call_name": "",
"mobile": "18221234383",//手机号
"tel": "18221234383",
"email": "1107727036@qq.com",
"weixin": "25845",
"hobby": ",阿久了",
"address": "透漏啦啦啦",//地址
"roles": "1",
"is_boss": "1",//企业负责人
"is_bind_wx": "0",
"is_helper": "0",
"is_default": "1",//主联系人
"remark": "卡通肉了",//备注
"created_at": "1592205870",
"updated_at": "1592205870",
"_roles": [//角色
{
"id": "1",
"name": "老板"
}
]
}
],
"addresslist": [//收货地址
{
"id": "227",
"customer_id": "62640",
"name": "宋凝凝凝您",
"contact": ",埃及记",//联系人
"contact_number": "18221234383",//手机号
"region_code": "370102000",//邮编
"region_address": "山东省 济南市 历下区",//省市区
"zip_code": "1271120",
"address": "宋凝凝凝您",//详细地址
"transport": "",
"is_default": "1",//是否默认
"created_at": "1592206723",
"updated_at": "1592206723"
}
],
"invoicelist": [
{
"id": "45",
"customer_id": "62640",
"is_default": "0",
"type": "0",//0 普通发票 1 专用发票
"contact_id": "0",
"title": "不催老剂",//抬头
"code": "23885751239758",//税号
"address": "根据啦啦啦",//注册地址
"tel": "52885",//注册电话
"bank": "卡通里",//开户银行
"bank_card": "15855247555",//银行账户
"created_at": "1592207072",
"updated_at": "1592207072",
"customer_name": "定会"//
}
],
"orderlist": [
{
"created_at": "创建时间",
"sales_order_sn": "单号",
"amount": "金额"//
}
],
"order_amount":""//应收帐款
"purchase_amount": "0.00"//当月采购金额
}
}
</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<p><strong>备注</strong> </p>