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

Get SPS Metric Top Items

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 Path: /analytics/202606/shop_performances/metrics/{metric_code}/top_items

#

§2 Method: [GET]

#

§3 Function Description

Returns top products, logistics providers, or aftersales types for a selected SPS metric. Shop Performance Score (SPS) reflects a shop’s performance across key operational and service metrics on TikTok Shop. By integrating the read-only SPS APIs, ISVs can retrieve a shop’s score, tier, benefits, and metric benchmarks, diagnose performance gaps, and drill down to the products, logistics providers, aftersales types, orders, or chats associated with specific issues. This enables ISVs to embed actionable performance insights into their solutions, helping merchants identify problem areas faster and take targeted actions to improve shop performance. Available only for US-region shops. Use case guide: Click here


#

§4 Common Parameters

For common parameters, refer to How to call TikTok Shop APIs - Common Parameters

Properties Location Type Require Sample Properties description
shop_cipherquerystringYGCP_XF90igAAAABh00qsWgtvOiGFNqyubMt3Use this property to pass shop information in requesting the API. Failure in passing the correct value when requesting the API for cross-border shops will return incorrect response.
Get by API Get Authorization Shop
content-typeheaderstringYapplication/jsonAllowed type: application/json
#

§5 Request Path Parameters

Properties Type Require Sample Properties description
metric_codestringYNRRMetric code. Possible values include NRR, NBFR, OTDR, and AHT.
#

§6 Request Query Parameters

Properties Type Require Sample Properties description
localestringNen-USLocale code used to localize response text. If omitted, the default locale is resolved from the request context.
#

§7 Request Sample

Query

https://open-api.tiktokglobalshop.com/analytics/202606/shop_performances/metrics/NRR/top_items?app_key=123abc&sign=5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8c&timestamp=1625484268&shop_cipher=ROW_RHkDDABBAAB8tKAVoAqsMTjsQZFLyNfY&locale=en-US
#

§8 Response Parameters

Properties Type Sample Properties description
codeint0The success or failure status code returned in API response.
messagestringSuccessThe success or failure messages returned in API response. Reasons of failure will be described in the message.
request_idstring202203070749000101890810281E8C70B7Request log
dataobjectSpecific return information
^aht_aftersales_type_items[]objectAHT aftersales type items.
^^handle_duration_hoursstring18.5Average handle duration in hours.
^^product_idstring1729592969712207011Product ID.
^^product_namestringSmart WatchProduct name.
^^return_order_countint30Total number of return orders.
^^top_aftersales_type_namestringOnly RefundTop aftersales type returned by TikTok Shop aftersales classification.
^^top_type_order_countint20Number of orders associated with the top aftersales type.
^^image_urlstringhttps://example.com/product.jpgProduct image URL.
^metric_codestringNRRStable metric code. Possible values include NRR, NBFR, OTDR, and AHT.
^nbfr_top_product_items[]objectNBFR top product items.
^^product_idstring1729592969712207010Product ID.
^^product_namestringCotton T-ShirtProduct name.
^^return_order_countint8Number of return or refund orders.
^^top_reason_order_countint5Number of orders associated with the top return or refund reason.
^^top_return_reasons[]stringItem doesn't match descriptionTop return or refund reasons.
^^image_urlstringhttps://example.com/product.jpgProduct image URL.
^nrr_top_product_items[]objectNRR top product items.
^^delivered_order_countint300Total number of delivered orders.
^^image_urlstringhttps://example.com/product.jpgProduct image URL.
^^negative_order_countint12Number of orders with negative reviews.
^^product_idstring1729592969712207008Product ID.
^^product_namestringWireless HeadphonesProduct name.
^^top_review_reasons[]stringItem doesn't match descriptionTop negative review reasons.
^otdr_logistics_items[]objectOTDR logistics provider items.
^^delivered_order_countint1000Total number of delivered orders.
^^logistics_providerstringTikTok ShippingLogistics provider name.
^^on_time_deliver_order_countint947Number of orders delivered on time.
^^on_time_deliver_ratestring0.947On-time delivery rate as a ratio from 0 to 1.
^total_countint120Total number of available records.
#

§9 Response Sample

{"code":0,"data":{"aht_aftersales_type_items":[{"handle_duration_hours":"18.5","product_id":"1729592969712207011","product_name":"Smart Watch","return_order_count":30,"top_aftersales_type_name":"Only Refund","top_type_order_count":20,"image_url":"https://example.com/product.jpg"}],"metric_code":"NRR","nbfr_top_product_items":[{"product_id":"1729592969712207010","product_name":"Cotton T-Shirt","return_order_count":8,"top_reason_order_count":5,"top_return_reasons":"Item doesn't match description","image_url":"https://example.com/product.jpg"}],"nrr_top_product_items":[{"delivered_order_count":300,"image_url":"https://example.com/product.jpg","negative_order_count":12,"product_id":"1729592969712207008","product_name":"Wireless Headphones","top_review_reasons":"Item doesn't match description"}],"otdr_logistics_items":[{"delivered_order_count":1000,"logistics_provider":"TikTok Shipping","on_time_deliver_order_count":947,"on_time_deliver_rate":"0.947"}],"total_count":120},"message":"Success","request_id":"202203070749000101890810281E8C70B7"}
#

§10 Error Code

For common error codes, refer to How to call TikTok Shop APIs - Common Error Code

Code Message
#