事件分组事件标识
collectcollect/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
请求体
  • collection_id string
    分类ID
    Example: 12248721639068681442230282
  • created_at string
    创建时间
    Example: 2022-12-06T15:13:50+08:00
  • product_id string
    商品ID
    Example: 16057039432335097907370282
  • product_priority long
    商品优先级(非连续,越小越优先)
    Example: 10000000000000
  • sort_value string
    商品排序值,和商品优先级值相同但前面补0至20位
    Example: 00000010000000000000
  • updated_at string
    更新时间
    Example: 2022-12-06T15:13:50+08:00
响应
收到 SHOPLINE 发送的 Webhook 通知后,你需要按照如下 SHOPLINE 要求的格式进行响应。
HTTP/1.1 200 OK
关于如何订阅 Webhooks 及更多 Webhook 响应规则说明,请参考 Webhook 概述
这篇文章对你有帮助吗?