The Activity change webhook is designed to notify partners about modifications related to activities and the products associated with them. This allows applications to stay synchronized with changes in activity details or product inclusion/exclusion lists.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
The ID of the shop.
The time when this webhook was triggered, represented by Unix timestamp.
The ID of the notification.
The ID of the webhook type.
object
The ID of the promotion activity.
The time when the status changed, represented as a Unix timestamp (seconds).
The type of activity changes.
- CREATE
- UPDATE
- DEACTIVATE
Products included in an updated scope.
object
Included product IDs.
IDs of the BXGY exclude products to remove. Max count: 100.
TikTokShop product ID list.
Products removed from the activity.
object
Removed product IDs.
Removed SKU IDs.
TikTokShop product ID list.
IDs of the BXGY exclude products to remove. Max count: 100.
Example
{ "type": 63, "timestamp": 1678886400, "shop_id": "789123456789123456", "tts_notification_id": "000000000000000001", "data": { "activity_id": "act_123456789012345678", "update_time": 1678886400, "change_type": "product_update", "product_update_list": { "product_ids": [ "11111111", "22222222" ], "exclude_product_ids": [ "33333333" ], "benefit_product_ids": [ "44444444" ] }, "product_remove_list": { "product_ids": [ "55555555" ], "sku_ids": [ "66666666" ], "benefit_product_ids": [], "exclude_product_ids": [] } }}Responses
Section titled “Responses”Return HTTP 200 to acknowledge receipt.