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

Post Shoppable Video

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 Path: /affiliate_creator/202603/videos

#

§2 Method: [POST]

#

§3 Function Description

Use this API to post the shoppable video.


#

§4 Common Parameters

For common parameters, refer to How to call TikTok Shop APIs - Common Parameters

Properties Location Type Require Sample Properties description
content-typeheaderstringYapplication/jsonAllowed type: application/json
#

§5 Request Query Parameters

Properties Type Require Sample Properties description
app_keystringY38abcdEvery single app will have a unique key. Please use the specific key assigned to your app.
signstringY5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8cSignature generated by gen algorithm. When you send API requests to TTS, you must sign them so that TTS can identify the senders.
timestampintY1623812664Unix timestamp GMT (UTC+00:00). This timestamp is used across all API requests. Developers can use this convert to local time.
#

§6 Request Body Parameters

Properties Type Require Sample Properties description
video_infoobjectYVideo information
^file_idstringYv12d00gd0024d3nfqr7og65Video file_id from [Upload Shoppable Video File]
^titlestringYSample video titleThe video caption.
The maximum length is 2200 in UTF-16 runes.
If not specified, the ticket post will not have any captions.
^cover_uristringNv12d00gd0024d3nfqr7og65oooiuuyyVideo cover image URI, which is returned after uploading the image via the Upload Shoppable Photo File API.
^cover_timestamp_msintN1000The input parameter is a timestamp, which specifies a particular moment in the video. The frame at that timestamp will be used as the video cover. If cover_uri and cover_timestamp_ms are both not provided, the cover will default to the first frame of the uploaded video. Only one of cover_uri or cover_timestamp_ms can be provided. If both parameters are passed, cover_uri will take precedence.
^music_idstringN717294069642063456The music ID for the video BGM. If not provided, no music will be associated with the video. The music ID must be obtained via Search Music Library.
product_link_infoobjectYProduct link information
^product_idstringY17294069642063424Use product_id to bind the product with the video.
The product_id from [Get Shop Products] or [Get Showcase Products]
^titlestringYSample product anchor titleThe title to be shown on the product anchor. Anchor title should be shorter than 30 characters.
#

§7 Request Sample

Query

https://open-api.tiktokglobalshop.com/affiliate_creator/202603/videos?app_key=123abc&sign=5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8c&timestamp=1625484268

Body

{"video_info":{"file_id":"v12d00gd0024d3nfqr7og65","title":"Sample video title","cover_uri":"v12d00gd0024d3nfqr7og65oooiuuyy","cover_timestamp_ms":1000,"music_id":"717294069642063456"},"product_link_info":{"product_id":"17294069642063424","title":"Sample product anchor title"}}
#

§8 Response Parameters

Properties Type Sample Properties description
codeint0The success or failure status code returned in API response.
messagestringSuccessThe success or failure messages returned in API response. Reasons of failure will be described in the message.
request_idstring202203070749000101890810281E8C70B7Request log
dataobjectSpecific return information
^videoobjectPublished video information
^^idstring7548431509997292816The video id, use this id to query video publish status.
#

§9 Response Sample

{"code":0,"data":{"video":{"id":"7548431509997292816"}},"message":"Success","request_id":"202203070749000101890810281E8C70B7"}
#

§10 Error Code

For common error codes, refer to How to call TikTok Shop APIs - Common Error Code

Code Message
16011007Product link title should be no longer than 30 characters.
16011009Product link title contains offensive language.
16011069Product link title contains punctuation or emoji.
38007001System Error
36009003Internal error. Please try again. If the issue persists after multiple attempts, please contact platform support.
170001002Creator TikTok Shop permission check failed.
170001003Creator Tiktok Shop permission temporarily banned.
170001004Creator TikTok Shop permission is permanently banned.
170001005Creator terms of service not signed. Please contact TikTok for more details.
170001006GKA terms not signed. Please try again after signing GKA term.
170001007Creator did not sign the EU data share agreement.
170001008Creator Age verification failed. Please verify age first.
170001009The product belongs to unsupported category.
170001010The commission plan gets failed or rejected.
170001011The product doesn't exist.
170001012The product is not available.
170001013Showcase SPU exceeds limit.
170001014Blocked by spam check.
170001015Blocked by TikTok Shop risk control.
170001018Get creator pay account error. Please verify the pay account first.
170001020You have exceeded the frequency to post EC short videos. Please take a rest.
170001024cover_timestamp_ms must be a non-negative integer within the video duration.
170001025cover_timestamp_ms exceeds the video duration.
170001030Creator account banned. Please contact TikTok agent for your account.
170001031Creator forbidden to post content.
170001040Please use valid video file id to post TikTok Shop short video.
170001050Getting errors during video posting workflow. Please try again or contact TikTok.
170001060Posting quota exceeded: the creator is under violation control, resulting in a reduced posting limit.
170001061Posting quota exceeded: creator is in the newbie period.
170001062Posting quota exceeded: platform-level posting limit reached.
170001063The product you added only supports auction sales and cannot be used in shoppable videos or Carousels.
#