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

Methods and endpoints

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 Methods

TikTok Shop API reference pages define the HTTP method for each endpoint. Most TTS Open APIs use GET or POST. A small number of endpoints may use other RESTful methods, but developers should always follow the exact method shown on the endpoint reference page. Using a method that does not match the endpoint reference can cause errors such as 36009010 Invalid method.

MethodTypical useImplementation note
GETRetrieve resources from TikTok Shop.Commonly used for query and list APIs.
POSTSend data or execute an action.Commonly used when the API has a request body or performs a state-changing operation.
PUTUpdate an existing resource.Use only when the endpoint reference explicitly lists PUT.
DELETERemove a resource.Use only when the endpoint reference explicitly lists DELETE.
#

§2 Endpoints

TikTok Shop API endpoints are organized by resource type and follow the pattern: https://{domain}/{category}/{version}/{resource} The /{category}/{version}/{resource} segment can be found in the corresponding reference doc for any TikTok Shop API. Starting with the 202309 API style, the API version is part of the request path, for example /authorization/202309/shops. When you calculate the request signature, use the request path exactly as shown after the domain, including the category, version, and resource segments. For signing rules, refer to Sign your API request. For example, to call Get Authorized Shops, the endpoint is:

https://open-api.tiktokglobalshop.com/authorization/202309/shops
#

§3 Domains and environments

For business API calls, TTS Open API currently uses the following domain:

EnvironmentURIUse case
Productionhttps://open-api.tiktokglobalshop.comThe request host used by developers to call TTS Open API endpoints after creating an app. Use HTTPS.

Do not use authorization or token domains as the business API request host. They have different purposes:

PurposeDomain or entryUse caseReference
Business API callshttps://open-api.tiktokglobalshop.comCall API endpoints such as authorization, product, order, fulfillment, and webhook APIs.Current page
Seller authorizationhttps://services.us.tiktokshop.com/open/authorize for US; https://services.tiktokshop.com/open/authorize for ROWStart seller or shop authorization and obtain an authorization code. Do not use this host as an API endpoint host.Authorization overview
Partner authorizationhttps://partner.us.tiktokshop.com/open/authorize for US; https://partner.tiktokshop.com/open/authorize for ROWStart partner authorization and obtain an authorization code. Do not use this host as an API endpoint host.Partner authorization guide
Creator authorizationhttps://shop.tiktok.com/allianceStart creator authorization. Do not use this host as an API endpoint host.Creator authorization guide
Token exchangehttps://auth.tiktok-shops.comExchange an authorization code for tokens or refresh tokens.Generate a test access token
Sandbox and API testingUse Sandbox app setup and the API testing tool to test calls, while still following the endpoint reference for the exact path and method.Authorization overview
#

§4 Category quick reference

The category segment groups endpoints by business area. Always copy the final method and path from the endpoint reference page, because version and resource names can differ by API.

Business areaCommon category segmentExample resourceReference
AuthorizationauthorizationshopsGet Authorized Shops
Productproductproducts, categories, inventoryProduct API overview
OrderorderordersOrder API overview
Fulfillmentfulfillmentpackages, shipping_documentsFulfillment API overview
Return & Refundreturn_refundreturns, refunds, cancellationsReturn & Refund API overview
Logisticslogisticswarehouses, delivery_options, shipping_providersLogistics API overview
Promotionpromotionpromotions, discountsPromotion API overview
Financefinancepayments, settlementsFinance API overview
SellersellershopsSeller API overview
EventseventwebhooksEvents API
Supply Chainsupply_chainpackages, shipmentsSupply Chain API
#

§5 Version and path guidance

The version segment is part of the endpoint path and must match the API reference page. Do not assume that all endpoints use the same version. For version selection and migration guidance, refer to TTS API versioning. When troubleshooting request failures, check the following first:

SymptomLikely causeWhat to check
36009010 Invalid methodThe HTTP method does not match the endpoint reference.Reopen the endpoint reference and use the exact method shown there.
Signature validation failureThe signed path or timestamp does not match the actual request.Confirm that the signed path includes /{category}/{version}/{resource} and follow Sign your API request.
Host or DNS confusionAn authorization, token, or testing domain was used as the business API host.Use https://open-api.tiktokglobalshop.com for business API calls.
#