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

Common parameters

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 Common parameters

When calling TikTok Shop APIs, include the following common parameters unless the endpoint documentation states otherwise.

#

§2 Query parameters

ParameterLocationTypeDescriptionSample
app_keyQuerystringThe unique key assigned to your app. Refer to Create your app to find out where to get your app_key.29a39d
signQuerystringA HMAC-SHA256 hash based on the request parameter values, used by the service to verify the sender of the request in addition to the access token. Refer to Sign your API request to learn how to generate this signature.bc721f0e0182914e3487b81df204de37a352fc3aa96947efda6dc1e5dd0d5290
timestampQueryUnix timestampA 10-digit Unix timestamp in seconds, used to ensure timeliness of the request and prevent replay attacks. Do not send a millisecond-level timestamp. This value is also used to generate the digital signature for the sign parameter. Valid range: [current time - 5 mins, current time + 30 secs]. Sending an invalid timestamp may cause error 36009004 Invalid timestamp.1623812664
#

§3 Header parameters

ParameterLocationTypeDescriptionSample
x-tts-access-tokenHeaderstringThe access token used to authenticate the shop or seller authorization for the request. For API version 202309 and later, the access token must be sent in this header instead of the query string.act.example_access_token
content-typeHeaderstringThe request content type. Use application/json when sending a JSON request body.application/json

Version note: For legacy APIs before version 202309, some older documents may show access_token as a query parameter. For API version 202309 and later, use the x-tts-access-token header.

#

§4 Endpoint-specific common identifiers

Some endpoints require common business identifiers in addition to the parameters above. Whether these fields are required depends on the specific endpoint. Always follow the endpoint documentation for the exact location, requirement, and allowed value.

ParameterLocationTypeDescriptionSample
shop_cipherDepends on endpointstringThe encrypted shop identifier. Include this field when the endpoint requires a shop-level identifier. If the field is part of the signed request parameters for the endpoint, include it when generating sign.GCP_XF90igAAAABh00qsWgtvOiGFNqyubMtA
category_asset_cipherDepends on endpointstringThe encrypted category asset identifier. Include this field when the endpoint requires a category asset identifier. If the field is part of the signed request parameters for the endpoint, include it when generating sign.CAT_ASSET_XF90igAAAABh00qsWgtvOiGFNqyubMtA
#