stable本次发布有变化全部展示
来自 TikTok Shop 官方资料快照 ·
- 当前资料结构化阅读页
- 固定快照已留存,可追溯
- 官方原文可核对
资料正文
§1 1. Trigger scenario
The package update webhook is triggered when package updates such as combine, split, cancel the combine package operation, etc. occur.
§2 2. Data business parameters
| Parameter name | Sample | Description |
|---|---|---|
| sc_type | COMBINE | Type of the event trigger, with possible values: * COMBINE * CANCEL_COMBINE * SPLIT * CANCEL_SPLIT * ADDRESS_UPDATE_SPLIT * CANCEL_FULFILL_SPLIT * FULFILL_UNCOMBINE * PARTLY_CANCEL_SPLIT * SPLIT_BY_SKU_CANCEL |
| role_type | ROLE_USER | Operator of the event trigger, with possible values: * ROLE_USER * ROLE_SELLER * ROLE_OPERATOR * ROLE_SYSTEM |
| package_list | []object | Package list updated by the event trigger |
| └ package_id | "123456" | The identification of a package |
| └ order_id_list | ["152523", "532123"] | List of order IDs in a given package |
| update_time | 1627587600 | The time when the package was updated, represented as a Unix timestamp (seconds). |
§3 Event example
Event example
{
"type": 4,
"tts_notification_id": "7327112393057371910",
"shop_id": "7494049642642441621",
"timestamp": 1644412885,
"data": {
"sc_type": "COMBINE",
"role_type": "ROLE_USER",
"package_list": [
{
"package_id": "123456",
"order_id_list": [
"152523",
"532123"
]
}
],
"update_time": 1644412885
}
}
