Webhook-顾客询盘

处理类型

  • 顾客询盘:前台商城,商品详情页,开启B2C询盘插件后,顾客点击询盘按钮,发起询盘就会触发。

订单,推送的json数据格式如下:

格式:json

参数名称 是否必须 类型 描述
customer_info 必须 array customer用户信息
event_type 必须 int 事件类型:10.创建顾客
event_note 必须 string 事件类型:10.创建顾客:customer_created
access_key 选填 string 验签部分的字符串。为了安全,您可以进行验签,详细参看:Webhook-验签
{
    "event_type": 12,
    "event_note": "customer_b2c_inquire",
    "inquire_info": {
        "id": 29,
        "shop_id": 15,
        "status": 1,
        "customer_id": 0,
        "product_ids": [
            144
        ],
        "name": "Terry zhao",
        "email": "fecify@126.com",
        "phone": "32132",
        "message": "xxxxxxxxxxxxxxxxxxxxxxxxx",
        "remark": "",
        "created_at": "2025-02-10 14:10:29",
        "updated_at": "2025-02-10 14:10:29",
        "is_deleted": 2,
        "deleted_at": 0,
        "products": [
            {
                "id": 144,
                "shop_id": 15,
                "handle": "fecify-fecify-denim-jacket",
                "title": "fecify fecify Denim Jacket",
                "type": 2,
                "created_at": "2022-11-07 07:23:53",
                "updated_at": "2025-01-16 03:36:27",
                "status": 1,
                "qty": -10,
                "image": {
                    "id": 463,
                    "product_id": 144,
                    "src": "\/common\/15\/image\/2022\/11\/07\/96590355f9322d7b2a038ebf66bc9944.webp",
                    "alt": "",
                    "position": 1,
                    "created_at": 1667805833,
                    "updated_at": 1667805833
                }
            }
        ]
    },
    "access_key": "5f5417f7de31487cab65b266e7e2f6e24d533df196b91e60ed13b1b53dc54bcb"
}
Copyright © fecify.com 2022 all right reserved,powered by Gitbook该文件修订时间: 2025-02-10 22:11:26

results matching ""

    No results matching ""