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

Seller Get Sample Request Deeplink

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_seller/202512/sample_applications/deeplink

#

§2 Method: [GET]

#

§3 Function Description

Use this API to get a TikTok deeplink, use this deeplink to launch the TikTok app and land the user on the sample request page.

  • The seller can encode the deeplink into an QR code and send it to a creator via email.

#

§4 Common Parameters

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

Properties Location Type Require Sample Properties description
shop_cipherquerystringYGCP_XF90igAAAABh00qsWgtvOiGFNqyubMt3Use this property to pass shop information in requesting the API. Failure in passing the correct value when requesting the API for cross-border shops will return incorrect response.
Get by API Get Authorization Shop
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.
product_idstringY123456Product id
sku_idstringY123456Sku id
campaign_idstringN3939495If the product belongs to a TAP campaign, a campaign_id is required.
only support campaign type :
  • MY_CAMPAIGNS
  • SELLER_CAMPAIGNS | collaboration_id |string |N |710240393 |If the product belongs to a seller collaboration, a collaboration_id is required. | valid_days |int |N |14 |7 days by default. 14 days maximum. 1 day minimum. |
#

§6 Request Sample

Query

https://open-api.tiktokglobalshop.com/affiliate_seller/202512/sample_applications/deeplink?app_key=123abc&sign=5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8c&timestamp=1625484268&shop_cipher=ROW_RHkDDABBAAB8tKAVoAqsMTjsQZFLyNfY&product_id=123456&sku_id=123456&campaign_id=3939495&collaboration_id=710240393&valid_days=14
#

§7 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
^deeplinkstringsnssdk1180://roma_redirect/?pia=1&app_key=aaaa&callback_dp_key=f3318dbad42e495eaa12f3b9bec5af92&enter_from=deeplink&product_id=1729504817131129797&roma_group_key=spark_page_seller_free_sample_apply&roma_page_key=p&sample_apply_source=1&sku_id=1729504817131195333&spark_page=seller_free_sample_apply&track_data=%7B%22is_from_selection_scenarios%22%3A%221%22%2C%22selection_channel%22%3A%22deeplink%22%7DUse this deeplink to invoke TikTok:
#

§8 Response Sample

{"code":0,"data":{"deeplink":"snssdk1180://roma_redirect/?_pia_=1\u0026app_key=aaaa\u0026callback_dp_key=f3318dbad42e495eaa12f3b9bec5af92\u0026enter_from=deeplink\u0026product_id=1729504817131129797\u0026roma_group_key=spark_page_seller_free_sample_apply\u0026roma_page_key=p\u0026sample_apply_source=1\u0026sku_id=1729504817131195333\u0026spark_page=seller_free_sample_apply\u0026track_data=%7B%22is_from_selection_scenarios%22%3A%221%22%2C%22selection_channel%22%3A%22deeplink%22%7D"},"message":"Success","request_id":"202203070749000101890810281E8C70B7"}
#

§9 Error Code

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

Code Message
#