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

Introducing API version 202309

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 What is changing?

We are excited to announce the release of version 202309 (v202309) of TikTok Shop Open API.

The new version includes all functionality previously from API versions pre-Sept 2023, along with the following improvements:

  • New APIs - in response to developers' and sellers' business requirement
  • Standardized API specs - HTTP method, naming convention, enumerate value type, cursor-pagination
  • New documentation - All APIs will include clear documentation and continuously maintained

We have released new documentation for the v202309 API:

  • The API reference provides complete, up-to-date details on all v202309 resources and endpoints.
  • The Developer Guide and Partner Guide have been redesigned and revised to be more usable, comprehensive, and understandable. They cover essential API usage tutorials, integration solutions, and the app creation/publishing process
  • A new Upgrade Guide which provides the necessary information to successfully upgrade your app to v202309
#

§2 New features and enhancement

New features and enhancement

#

§3 Products

Products

API nameChangesAvailable in which markets
Create Product* New HTML tags are available in the product description: <strong>, <b>, <em>, <i>, , <u> * These new tags are available in product descriptions in all the versions of Create Product endpoint.Local and cross-border sellers in all markets
Partial Edit Product* New API endpoint for partially editing product product resources instead of requiring full product objects.Local and cross-border sellers in all markets
Get Brand* New property brand_status adding to brand_list component, used to indicate whether the seller can use this brand to list products in the selected category.Local and cross-border sellers in all markets
Get Categories, Get Attributes, Get Global Categories* New locale adding to the request parameter. Product category or attribute information will be returned in the corresponding language based on the specified locale.Local and cross-border sellers in all markets
Get Product List* Request parameter seller_skus supports the input of multiple seller SKUs, as a filtering condition used for product search. This parameter allows you to search for all products that contain these Seller SKUs.Local and cross-border sellers in all markets
Get Product Detail* New property suggestions adding to qc_reasons component. When the product status is failed, suggestions property will contain the specific reason for auditing failure.Local and cross-border sellers in all markets
Product Audit Update* More types of messages sent from this webhook. For example, product deletion and product deactivation. * The name of the webhook changing to "Product Status Update"Local and cross-border sellers in all markets
#

§4 Orders

Orders

API nameChangesAvailable in which markets
Get Order List* Properties of order detail are returned from the API.Local and cross-border sellers in all markets
* The data of sample orders is returned from the API. New property is_sample_order adding to the response, indicating whether the order is an sample order.Will be available on the following dates for different markets: * Available for local and cross-border sellers in the UK market on Sept 21. * Available for local sellers in the US market on Sept 27. * Available for ID, PH, MY, VN, SG, TH markets on Oct 9.
Get Order Detail* The district_info_list property is nested in the recipient_address component.Local and cross-border sellers in all markets
* The data of sample orders is returned from the API. New property is_sample_order adding to the response, indicating whether the order is an sample order. Sample orders can be retrieved and indicated from all versions of the Get Order Detail API.Will be available on the following dates for different markets: * Available for local and cross-border sellers in the UK market on Sept 21. * Available for local sellers in the US market on Sept 27. * Available for ID, PH, MY, VN, SG, TH markets on Oct 9.
* For local sellers in the US and UK markets, the package_id and package_status property will not be returned before the package is shippedOnly available for local sellers in the US market
#

§5 Fulfillment

Fulfillment

API nameChangesAvailable in which markets
Mark Package as Shipped* A new endpoint for sellers who fulfill orders through their own selected/preferred logistics carrier. This API allows sellers to upload valid package information, orders/order line items, to TikTok Shop. * This new endpoint supports item level split shippingAs of now, the API endpoint is only available for local sellers in the US market Will be available for local sellers in the UK market before October 30, 2023
Get Eligible Shipping Service* For the "shipped via platform" shipping option, use order_id and order_line_item_idto query the list of available shipping services.Only available for local sellers in the US market
Create Packages* For the "shipped via platform" shipping option, use order_id and order_line_item_idto purchase labels and ship orders. * Newly supports item level split shipping with this endpoint.Only available for local sellers in the US market
#

§6 Return, refund, cancellation

Return, refund, cancellation

Since after-sale solutions and policies around returns, refunds, and cancellations differ across markets, the availability of certain API features also varies by market. Developers should understand the specific solutions and policies in their target market before using the corresponding APIs.

Learn more about how to use the above APIs from Cancel/Return/Refund API Overview

API nameChangesAvailable in which markets
Search CancellationNew API endpoint to retrieve one or more order cancellations.Local and cross-border sellers in all markets
Cancel OrderNew API endpoint to cancel an order on behalf of a seller. Currently, this new endpoint supports item level cancellation for local and cross-border sellers in the US market.The API endpoint is available for local and cross-border sellers in all markets As of now, item level cancellation is only available for local and cross-border sellers in the US market.
Approve CancellationNew API endpoint to approve a buyer's order cancellation request.Local and cross-border sellers in all markets
Reject CancellationNew API endpoint to reject a buyer's order cancellation request.Local and cross-border sellers in all markets
Search ReturnsNew API endpoint to retrieve one or more returns.Local and cross-border sellers in all markets
Create ReturnNew API endpoint to initiate a return request on behalf of the buyer.Local sellers in the US and UK markets
Approve ReturnNew API endpoint to approve a buyer's return request.Local and cross-border sellers in all markets
Reject ReturnNew API endpoint to reject a buyer's return or refund request.Local and cross-border sellers in all markets
Get Return RecordsNew API endpoint to query a list of processing steps of order return or cancellation records.Local and cross-border sellers in all markets
Calculate RefundNew API endpoint to check order refundable amounts.Local and cross-border sellers in all markets
Get Aftersale EligibilityNew API endpoint to check the eligible after-sales solution for an order. Such as whether the seller can initiate refund, return or cancel a specific order.Local and cross-border sellers in all markets
Get Reject ReasonsNew API endpoint to get eligible cancel or return order reject reason. The seller is required to give reason, when the seller rejects the cancel, refund and return request.Local and cross-border sellers in all markets
Cancellation Status Change WebhookNew webhook type to obtain the order cancellation status.Local and cross-border sellers in all markets
Return Status Change WebhookNew webhook type to obtain the order return/refund status.Local and cross-border sellers in all markets
#

§7 Finance

Finance

API nameChangesAvailable in which markets
Get Order Statement TransactionsNew API endpoint to retrieve a list of transactions associated with an order specified by the order ID. It also returns the SKU level transaction details.Local sellers in the US and UK markets
Get StatementsNew API endpoint to get the list of statements records of the specified date range, which is settled on a daily basis. You can filter the statements based on payment status.Local sellers in the US and UK markets
Get Statement TransactionsNew API endpoint to get a list of transactions based on statement_id. We will return a list of orders. If you require the SKU level transaction details, pass in the order_id to Get Order Statement Transactions.Local sellers in the US and UK markets
Get PaymentsNew API endpoint to get the list of payments based on date range, including the current payment status. Use this list to reconcile payments with the Seller's bank account.Local sellers in the US and UK markets
Get WithdrawalsNew API endpoint to get the list of the withdrawal records (when Seller's withdraw money from TikTokShop) based on the specified date range.Local and cross-border sellers in the SG, PH, MY, TH, VN markets. Local sellers in the ID markets
#

§8 Technical specification updates

Technical specification updates

#

§9 Making requests

Making requests

To make requests to the 202309 API endpoints, use URIs with the new structure. Specify the version name (e.g. 202309) in the path instead of as a query parameter. The new version also introduces the resource identifier as a path parameter.

For example, https://open-api.tiktokglobalshop.com/fulfillment/202309/orders/576619223164029995/packages

The URI for each version 202309 endpoint is specified in the API reference. Check the API reference for the exact endpoint URIs.

#

§10 Enumerate data types

Enumerate data types

We've improved the general concept of statuses to be more descriptive. Previously, order statuses were mapped to codes, which required developer interpretation. We have removed these int based codes, and developed string based ENUM statuses, such as "UNPAID" and "AWAITING_SHIPMENT" to simplify the development process.

For example:

  • v202305 of Get Order Detail API, order_status property values are in the int type: 100 mean UNPAID, 111 means AWAITING_SHIPMENT
  • v202309 of Get Order Detail API, order_status property values are in the string type. UNPAID and AWAITING_SHIPMENT are returned from API.
#

§11 Pagination

Pagination

For standardized expression and performance assurance, we have introduced token-based pagination into our API design. The v202309 API only supports pagination using the page_size and page_token parameters. The offset parameter is no longer supported.

#

§12 Authorization

Authorization

We have deprecated access_token usage in the query and now require it to be passed in the HTTP header x-tts-access-token for security improvement.

#

§13 Signature

Signature

The v202309 of the API expands signature protection beyond just path and query parameters. Signatures will now also cover request bodies for POST APIs. To generate the signature for the v202309 APIs, developers need to use the new method.

#

§14 Content type

Content type

The v202309 APIs now only support application/json for non-binary requests. Binary requests should use multipart/form-data to ensure efficiency and standards compliance.

#

§15 Improved documentation

Improved documentation

The API reference pages now include fully populated Errorcode sections at the bottom with the latest error codes and corresponding error description for each endpoint.

#

§16 Which markets are affected?

Some new features and enhancement are only available for certain markets or seller types. Refer to "Available in which markets" column in the table above for availability details.

The technical specification updates apply to local and cross-border sellers in all markets.

#

§17 Who is affected?

New apps should only use the new v202309 of all API endpoints.

All existing developers are not immediately affected. All legacy APIs will continue functioning. Existing developers are encouraged to upgrade as soon as possible. New APIs in v202309 offer additional capabilities and enhancements.

#

§18 What action is required?

Legacy API versions (pre-Sept 2023) will no longer be supported or maintained from June 30, 2024 and will be retired on December 31, 2024. Existing apps can continue using legacy versions until then, but should upgrade to v202309 as soon as possible.

The following is a list of resources with which developers can learn and upgrade apps with v202309 APIs:

After December 31, 2024 all requests to legacy API versions will fail. Developers should upgrade apps to using v202309 and make sure all requests are on v202309.

#