事件分组事件标识
customerscustomers/redact
数据合规强制订阅webhook
请求头
  • X-Shopline-Topic string required
    事件的唯一标识。
    例子: orders/edited
  • X-Shopline-Hmac-Sha256 string required
    该请求的签名。收到请求后,你需要对该签名进行 验签 以验证数据的真实性和完整性。
    例子: XWmrwMey6OsLMeiZKwP4FppHH3cmAiiJJAweH5Jo4bM=
  • X-Shopline-Shop-Domain string required
    店铺的域名。
    例子: example.myshopline.com
  • X-Shopline-Shop-Id string required
    店铺 ID。
    例子: 1610418123456
  • X-Shopline-Merchant-Id string required
    商家 ID。
    例子: 2000001234
  • X-Shopline-API-Version string required
    API 版本号。
    例子: v20250601
  • X-Shopline-Webhook-Id string required
    该 Webhook 事件的 ID。
    例子: b54557e48a5fbf7d70bcd043
请求体
  • customerobject
    客户信息
  • email string
    邮箱
    例子: gungcherny@gamil.com
  • id string
    客户id
    例子: 200843728
  • phone string
    手机号
    例子: 00165323713
  • orders_to_redact array
    自定义单号
    例子: ["#72348"]
  • shop_domain string
    店铺域名
    例子: sgbm008.myshopline.com
  • shop_id string
    店铺id
    例子: 160943274324
  • update_time string
    更新时间
    例子: 2022-05-31T15:32:46+08:00
状态码
收到 SHOPLINE 发送的 Webhook 通知后,你需要按照如下 SHOPLINE 要求的格式进行响应。
HTTP/1.1 200 OK
关于如何订阅 Webhooks 及更多 Webhook 响应规则说明,请参考 Webhook 概述
这篇文章对你有帮助吗?