快工助手跨境电商知识与商机助手

(39) Activity status change

TikTok Shop 官方资料 · TikTok Shop Partner Center 开发者文档 · 适合开发者

stable本次发布有变化全部展示

来自 TikTok Shop 官方资料快照 ·

打开官方原文 ↗
  1. 当前资料结构化阅读页
  2. 固定快照已留存,可追溯
  3. 官方原文可核对
查看技术与溯源信息
平台 / profile
TikTok Shop / profile.tiktok.docs_api
语言
en-US
发布版本
cn-20260909-2
标签
zhuge/sourceplatform/tiktok_shopaudience/developercategory/api_doctopic/compliancetopic/developer

资料正文

§1 (39) Activity status change

#

§2 Trigger scenario

Trigger scenario

When a promotion activity of the specified type starts, expires, or is deactivated, you'll receive this webhook. This webhook will only be triggered when all the following conditions are met:

  • Your App has been authorized the Promotion Information scope.
  • The activities are of the following types:
  • FIXED_PRICE
  • DIRECT_DISCOUNT
  • SHIPPING_DISCOUNT
  • BUY_MORE_SAVE_MORE
  • FLASHSALE (Only available in SEA markets: SG, TH, ID, MY, PH, VN)
  • One of the following status changes happens:
  • The activity starts: the status changes from NOT_START to ONGOING.
  • The activity expires: the status changes from ONGOING to EXPIRED.
  • The activity is deactivated: the status changes to DEACTIVATED.
#

§3 Data business parameters

Data business parameters

Parameter nameData TypeSampleDescription
typeint39The ID of the webhook type.
tts_notification_idstring"7327112393057371910"The ID of the notification.
shop_idstring"7494049642642441621"The ID of the shop.
timestampint1644412885The time when this webhook was triggered, represented by Unix timestamp.
dataobject
└ activity_idstring"7136104329798256386"The ID of the promotion activity.
└ update_timeint1644412885The time when the status changed, represented as a Unix timestamp (seconds).
└ activity_typestring"FIXED_PRICE"The type of the promotion activity. Possible values are: * FIXED_PRICE * DIRECT_DISCOUNT * SHIPPING_DISCOUNT * BUY_MORE_SAVE_MORE * FLASHSALE (Only available in SEA markets: SG, TH, ID, MY, PH, VN)
└ product_levelstring"PRODUCT"Activity product dimension, values are: * PRODUCT * VARIATION * SHOP
└ statusstringONGOINGThe current status of the promotion activity. Possible values are: * ONGOING * EXPIRED * DEACTIVATED
#

§4 Event example

Event example

{
  "type": 39,
  "shop_id": "7494049642642441621",
  "tts_notification_id" : "7327112393057371910",
  "timestamp": 1644412885,
  "data": {
    "activity_id": "7136104329798256386",
    "update_time": 1644412885,
    "activity_type": "FIXED_PRICE",
    "product_level": "PRODUCT",
    "status": "ONGOING"
  }
}
#