Connection health
Reports whether the shop is connected to Growi and its data is syncing. status is ok, degraded or broken, and reasons lists why, each with a code, severity and a plain-language message that is safe to show. isCollecting is true when a TikTok data sync finished successfully in the last 24 hours (null when unknown).
The shop is broken when it has no working TikTok connection. It is degraded when, for example, it is connected without TikTok’s official API, the seller’s TikTok authorization has expired or expires within 7 days (the seller has to reconnect), the Seller Center login has expired, or a data sync keeps failing. sync shows the last run, last success and last failure for each data type over the past 30 days. This call doesn’t contact TikTok; it reflects what Growi last saw.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Use the TikTok Shop of this child brand (organization id) of your API key's organization
Response
The shop's connection health
Worked out from reasons: any broken reason makes it broken, any other reason makes it degraded.
ok, degraded, broken True when a sync with TikTok finished in the last 24 hours. null when that can't be read.
null when the directory could not be read.
True when both of the shop's TikTok tokens expired over an hour ago and there's no Seller Center session, so syncing is paused until the seller reconnects. Rechecked every 5 minutes.
Keyed by sync kind (samples, showcase, content, attribution, segments, videos, orders, gmv_scrape, gmv_creator_products, gmv_parity). Success and failure look back 30 days.