Metric diagnosis
Returns TikTok’s diagnosis of one Shop Performance Score metric: its value, score, status and benchmarks, a daily trend, the calculation behind it (numerator and denominator with labels), how its problem cases split in distribution, and TikTok’s diagnostic text in analyses (empty when TikTok has none).
metricCode is case-insensitive. Current codes are NRR (negative review rate), NBFR (non-buyer-fault return and refund rate), SFCR (seller-fault cancellation rate), OTDR (on-time delivery rate), AHT (after-sales handling time) and IM_DSAT (chat dissatisfaction rate). TikTok may add more. trend_duration_days sets the trend length, 1 to 365, default 30. US shops only. Read live from TikTok.
Authorizations
Path Parameters
SPS metric code, case-insensitive. TikTok's codes today: NRR (negative review rate), NBFR (non-buyer-fault return and refund rate), SFCR (seller-fault cancellation rate), OTDR (on-time delivery rate), AHT (after-sales handling time), IM_DSAT (chat dissatisfaction rate). TikTok says the list may grow, so other code-shaped values pass through.
^[A-Za-z][A-Za-z0-9_]{1,31}$"NRR"
Query Parameters
Response
The metric diagnosis