事件分组事件标识
customerscustomers/disable
客户禁用
请求头
  • X-Shopline-Topic string required
    事件操作标识
    Example: orders/edited
  • X-Shopline-Hmac-Sha256 string required
    签名
    Example: XWmrwMey6OsLMeiZKwP4FppHH3cmAiiJJAweH5Jo4bM=
  • X-Shopline-Shop-Domain string required
    店铺域名
    Example: shophub.myshopline.com
  • X-Shopline-Shop-Id string required
    店铺id
    Example: 1610418123456
  • X-Shopline-Merchant-Id string required
    商户ID
    Example: 2000001234
  • X-Shopline-API-Version string required
    版本号
    Example: v20210901
  • X-Shopline-Webhook-Id string required
    消息ID
    Example: b54557e48a5fbf7d70bcd043
请求体
  • accepts_marketing boolean
    是否订阅邮件
  • accepts_marketing_updated_at string
    邮箱订阅时间
  • accepts_mobile_marketing boolean
    是否接受电话营销
  • accepts_mobile_marketing_updated_at string
    电话订阅时间(格式见IOS8601)
  • addressesobject[]
    地址信息列表
  • address1 string
    地址1
  • address2 string
    地址2
  • city string
    城市
  • company string
    公司
  • country string
    国家
  • country_code string
    国家编码
  • customer_id string
    客户id
  • default boolean
    是否默认地址
  • first_name string
    名称
  • id string
    地址id
  • last_name string
  • phone string
    手机号
  • province string
  • province_code string
    省编码
  • zip string
    邮政编码
  • asid string
    FB登录id
  • birthday string
    客户生日 格式为:YYYYMMDD
  • created_at string
    创建时间
  • currency string
    币种
  • default_addressobject
    默认地址
  • address1 string
    地址1
  • address2 string
    地址2
  • city string
    城市
  • company string
    公司
  • country string
    国家
  • country_code string
    国家编码
  • customer_id string
    客户id
  • default boolean
    是否默认地址
  • first_name string
    名称
  • id string
    地址id
  • last_name string
  • phone string
    手机号
  • province string
  • province_code string
    省编码
  • zip string
    邮政编码
  • email string
    邮箱
  • email_subscribe_flag integer
    邮箱订阅状态 0:取消订阅,1:已订阅,2:未订阅
  • first_name string
    名字
  • gender string
    性别:male / female / others/secret
  • id string
    客户id
  • language string
    客户所用语言
  • last_name string
    姓氏
  • last_order_id string
    最近一笔订单号
  • mobile_subscribe_flag integer
    手机订阅状态0:取消订阅,1:已订阅,2:未订阅
  • nick_name string
    用户昵称
  • note string
    备注
  • orders_count long
    订单数量
  • phone string
    手机号
  • social_customer string
    社媒用户id
  • state string
    客户状态【0 : 已禁用账户,1:待启用账户,2:已邀请账户,3:有效账户】
  • tags string
    客户标签
  • total_spent string
    总花费金额
  • updated_at string
    更新时间
  • verified_email boolean
    是否验证邮件
响应
收到 SHOPLINE 发送的 Webhook 通知后,你需要按照如下 SHOPLINE 要求的格式进行响应。
HTTP/1.1 200 OK
关于如何订阅 Webhooks 及更多 Webhook 响应规则说明,请参考 Webhook 概述
这篇文章对你有帮助吗?

Error loading component.

Error loading component.