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

Overview

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 Overview

TikTok Shop API SDKs help the backend of your TikTok Shop app call TikTok Shop APIs with less integration work. They generate request clients and handle common request authentication steps, so you do not need to implement the signing flow for every supported API call yourself.

#

§2 Availability

The API SDK download page is available from Partner Center for developers who have an effective TikTok Shop app. To download a useful SDK package, sign in with the developer account that owns or manages the app, then confirm the effective apps and API access scopes shown on the SDK page. Use the SDK download page as the source of truth for account-specific access. If the API SDK entry is not visible for your account, first confirm that you have created a TikTok Shop app and enabled the API scopes required by your integration. If the entry is still unavailable, contact Partner Center support or your TikTok Shop partner manager. Image

#

§3 Supported Languages and Versions

The SDKs currently support Java, Go, and Node.js. SDK packages are generated based on your effective apps, approved API scopes, selected language, and available API versions, so there may not be a single global "latest SDK version" that applies to every developer. Before integrating or updating an SDK, confirm the language, SDK version, generation time, included apps, and included API scopes on the API SDK download page. If you need newly approved scopes, newly released APIs, or SDK framework updates, see Update SDK.

LanguageLatest SDK version to useSupported API versions
JavaUse the version shown on the SDK download page or in the downloaded package files such as pom.xml or build.gradle. Replace placeholder values such as 1.0.0 in examples with that downloaded version.The API versions included in your downloaded package. The Java guide examples include versioned clients such as AuthorizationV202309Api and ProductV202502Api.
GoUse the module version generated in the downloaded SDK package. Replace placeholder values such as v1.0.0 with the version from your package.The API versions included in your downloaded package. The Go guide examples include versioned clients such as AuthorizationV202502API and ProductV202502API.
Node.jsUse the generated Node.js SDK package or folder from the SDK download page. Do not assume example dependency versions are the latest SDK package version.The API versions included in your downloaded package. The Node.js guide examples include versioned clients such as AuthorizationV202309Api and ProductV202502Api.
#

§4 Choose SDK or Manual Signing

Use the SDK when you are integrating in Java, Go, or Node.js and the API you need is included in the generated SDK package. The SDK is the preferred path for routine API calls because it reduces repetitive request construction and signing work. Use manual signing when you call TikTok Shop APIs from another language, use a custom HTTP client that does not use the SDK, debug raw HTTP requests, or call an API that is not included in your generated SDK package. For the signing algorithm and language samples, see Sign your API request.

#

§5 Webhook Configuration

The API SDK is for making TikTok Shop API requests. It does not replace your webhook configuration or webhook listener implementation. Configure webhook callback URLs and event subscriptions in Partner Center or through the Events API, then implement your own HTTPS endpoint to receive and process webhook events. For webhook setup, see the configuration guide. For Events API references, see Get Shop Webhooks and Update Shop Webhook.

#

§6 Integration Guides

Use the language-specific guide that matches the SDK package you downloaded:

LanguageIntegration guideMinimum environment from the guide
JavaIntegrate Java SDKJava 1.8+; Maven 3.8.3+ or Gradle 7.2+
GoIntegrate GoLang SDKGo 1.18+
Node.jsIntegrate Node.js SDKNode.js 16+
#

§7 Download and Update Flow

  1. Create a TikTok Shop app and configure the API scopes required by your integration.
  2. Open API SDK in Partner Center.
  3. Review the effective apps and combined API access scopes included in the generated SDK.
  4. Select Java, Go, or Node.js and confirm the SDK version and generation time shown on the page.
  5. Download the SDK package and integrate it by following the matching language guide.
  6. When scopes, API versions, or SDK framework support change, follow Update SDK and download the regenerated package.
#