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

Work with apps and sandbox accounts

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 Work with apps and sandbox accounts

Use authenticated App and sandbox context when a workflow depends on the developer account rather than documentation alone.

#

§2 Sign in and confirm context

tts_open_toolkit auth login
tts_open_toolkit auth status --json
#

§3 List developer Apps

tts_open_toolkit app list --json
tts_open_toolkit app list --page-no 1 --page-size 20 --json
tts_open_toolkit app list --app-key <app_key> --json

Use app_key as an identifier in the workflow. Never request or print an App Secret.

#

§4 List sandbox accounts

tts_open_toolkit sandbox list --json
tts_open_toolkit sandbox list --region-code 840 --json
tts_open_toolkit sandbox endpoints --json

Inspect the endpoint catalog before running a sandbox operation:

tts_open_toolkit sandbox call account-basic-list --query region_code=840 --json
#

§5 Use the context in an agent task

📝 Prompt to copy Using the active Partner Center profile, list the developer Apps and sandbox accounts available to me. Use JSON output, keep App Secrets and OAuth credentials hidden, and ask me to select the App and sandbox account before continuing. Then produce a readiness checklist for [BUSINESS SCENARIO] without making a write change. 💡 Sandbox account deletion is intentionally excluded from the CLI catalog. Do not construct a raw request to recreate it. Other sandbox operations can still be restricted by the OAuth allowlist or session type; report the returned authorization error instead of bypassing it.


#

§6 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

#