Webhook-顾客留言
处理类型
- 前台商城,用户contacts留言,则会触发
contacts,推送的json数据格式如下:
格式:json
参数名称 | 是否必须 | 类型 | 描述 |
---|---|---|---|
customer_info | 必须 | array | customer用户信息 |
event_type | 必须 | int | 事件类型:10.创建顾客 |
event_note | 必须 | string | 事件类型:10.创建顾客:customer_created |
access_key | 选填 | string | 验签部分的字符串。为了安全,您可以进行验签,详细参看:Webhook-验签 |
{
"event_type": 11,
"event_note": "customer_contacts",
"customer_info": {
"id": 297,
"status": 3,
"name": "Terry zhao",
"email": "555@23232.com",
"telephone": "+8618688889999",
"comment": "xxxxxxxxxxxxxx",
"created_at": "2024-01-30 06:42:29",
"updated_at": "2024-01-30 06:42:29"
},
"access_key": "e19425d98d72034e55b4780632a585084027f4422100f10c88e6375f6fd0be41"
}