Webhook-创建顾客

订单处理类型

  • 创建顾客:前台商城,用户注册账户,newsletter订阅,以及订单创建用户,都会触发。

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

格式:json

参数名称 是否必须 类型 描述
customer_info 必须 array customer用户信息
event_type 必须 int 事件类型:10.创建顾客
event_note 必须 string 事件类型:10.创建顾客:customer_created
access_key 选填 string 验签部分的字符串。为了安全,您可以进行验签,详细参看:Webhook-验签
{
    "event_type": 10,
    "event_note": "customer_created",
    "customer_info": {
        "id": 297,
        "email": "555@23232.com",
        "first_name": "",
        "last_name": "",
        "status": 3,
        "created_at": "2024-01-30 06:42:29",
        "updated_at": "2024-01-30 06:42:29",
        "note": "",
        "phone": "",
        "shop_id": 15,
        "accepts_marketing": 1,
        "register_type": 1,
        "order_count": 0,
        "order_amount": "0.00",
        "first_ordered_at": 0,
        "order_product_count": 0
    },
    "customer_register_type": "newsletter",
    "access_key": "e19425d98d72034e55b4780632a585084027f4422100f10c88e6375f6fd0be41"
}
Copyright © fecify.com 2022 all right reserved,powered by Gitbook该文件修订时间: 2024-02-01 11:56:46

results matching ""

    No results matching ""