事件分组事件标识
pagepage/create
创建自定义页面
请求头
  • 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
请求体
  • author string
    自定义页面作者
    Example: 3300497415
  • body_html string
    自定义页面body_html内容
    Example: content
  • created_at string
    自定义页面创建时间
    Example: 2022-07-19 13:12:26
  • handle string
    自定义页面handle
    Example: /custom/4659008009719961650
  • id string
    自定义页面ID
    Example: 4570533223805409322
  • published_at string
    自定义页面发布时间
    Example: 2022-07-19 13:12:26
  • published_status boolean
    自定义页面发布状态
    Example: true
  • shop_id string
    店铺ID
    Example: 1607433620673
  • template_name string
    自定义页面模板名称
    Example: 一个模板
  • template_type string
    自定义页面模板类型
    Example: 0
  • title string
    自定义页面标题
    Example: 一个页面
  • updated_at string
    自定义页面更新时间
    Example: 2022-07-19 13:12:26
响应
收到 SHOPLINE 发送的 Webhook 通知后,你需要按照如下 SHOPLINE 要求的格式进行响应。
HTTP/1.1 200 OK
关于如何订阅 Webhooks 及更多 Webhook 响应规则说明,请参考 Webhook 概述
这篇文章对你有帮助吗?