批量异步任务处理完成
事件分组 | 事件标识 |
---|---|
others | others/update |
异步任务完成
请求头
- 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店铺idExample:
1610418123456
- X-Shopline-Merchant-Id string required商户IDExample:
2000001234
- X-Shopline-API-Version string required版本号Example:
v20210901
- X-Shopline-Webhook-Id string required消息IDExample:
b54557e48a5fbf7d70bcd043
请求体
- completedAt string任务完成时间Example:
2023-04-06T10:48:29+08:00
- completedCount integer完成数量,对应于文件的行数Example:
12
- createdAt string任务创建时间Example:
2023-04-06T10:48:29+08:00
- expiredAt string任务过期时间,超过改时间文件将无法下载Example:
2023-04-06T10:48:29+08:00
- id string任务IDExample:
gid://shopline/BulkOperation/f97a8c3304b98bcee17c12a0ceb85573
- status string状态枚举Example:
COMPLETED
- type string类型枚举: QUERY|MUTATION|MUTATION_GENERALExample:
MUTATION_GENERAL
- url string带有过期时间的文件URL
响应
收到 SHOPLINE 发送的 Webhook 通知后,你需要按照如下 SHOPLINE 要求的格式进行响应。
HTTP/1.1 200 OK
关于如何订阅 Webhooks 及更多 Webhook 响应规则说明,请参考 Webhook 概述。
这篇文章对你有帮助吗?
Error loading component.