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

Sign in and manage profiles

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 Sign in and manage profiles

🔐 App/Shop sign-in and authorization are available in the current release. Partner Center sign-in uses OAuth; the active profile provides protected authorization for supported App, Shop, sandbox, and DevAPI workflows. Profile metadata is stored locally, while access and refresh tokens are kept in macOS Keychain or Windows CurrentUser DPAPI and are not printed by status commands.

#

§2 Sign in

tts_open_toolkit auth login

The CLI opens Partner Center authorization in your browser and returns to a localhost callback after approval.

#

§3 Check the active profile

tts_open_toolkit auth status --json
tts_open_toolkit auth list --json
#

§4 Use more than one account

tts_open_toolkit auth login --add --profile work
tts_open_toolkit auth list --json
tts_open_toolkit auth switch work --json

The active profile determines which protected OAuth session is used. Select the intended App/Shop context before running a supported API, sandbox, or DevAPI workflow.

#

§5 Verify account context

tts_open_toolkit auth basic-info --json
tts_open_toolkit app list --json
tts_open_toolkit sandbox list --json
#

§6 Sign out

tts_open_toolkit auth logout --profile work --json
tts_open_toolkit auth logout --all --json

💡 Never paste OAuth tokens, authorization codes, App Secrets, PKCE verifiers, or Partner Center cookies into an AI prompt. If authentication state is unclear, run tts_open_toolkit auth doctor --json.


#

§7 Was this page helpful?

Was this page helpful?

Tell us what worked, what was unclear, or what should be added. TTS Open Toolkit Feedback Form

#