商品、店铺和视频
发现 Creator 中的商品、店铺和视频列表,它们如何相互关联并通向 creator,以及如何选择它们的 creator。
用途: 找到 creator 背后的商品、店铺和视频(发现 Creator › 商品 / 店铺 / 视频):某类目的畅销商品、某店铺的商品、某商品的最佳视频、某 creator 的商品,并从任何一个列表找到要合作的 creator。
一个 route,三种 kind
GET /creators/catalog 列出一种 kind:product、store 或 video,限一个国家(shop_id 中店铺的国家,否则为 region;从某行打开的列表使用该行的国家)。Shopee:GET /shopee/catalog,以 Shopee 店铺作为 shop_id。
curl "https://seller.growpaces.com/api/v1/creators/catalog?kind=product&shop_id=SHOP_ID&category_id=601450&sort_by=sold&limit=20" \
-H "Authorization: Bearer gsk_..."每种 kind 只接受自己的筛选。其他 kind 的筛选、该 kind 没有的排序、min_ 大于 max_、同时两种关联或超过 50 个 id,都会返回 422 VALIDATION_ERROR,details.ctx.allowed 列出该 kind 接受的参数。
| Kind | sort_by(第一个为默认) | min_ / max_ | 其他 |
|---|---|---|---|
product | creators、gmv、sold | creators、gmv、sold、price、rating | |
store | creators、gmv、sold | creators、gmv、sold、price、rating | |
video | plays、likes、comments、shares、released | plays、likes、comments、shares | with_product=true、released_within_days(1–3650) |
每种 kind 都接受 search(名称,至少 2 个字符;使用 search_by=id 时为完整 id)、category_id(逗号分隔,来自 GET /creators/categories)、page 和 limit。数量(creators、sold、plays…)为整数;金额(gmv、price)使用该行的币种。
关联:列表如何相互打开
用一种关联从另一个列表的行打开列表,名称处处相同:creator_account_ids、product_ids、store_ids、video_ids(逗号分隔,最多 50 个)。
| 列表 | creator_account_ids | product_ids | store_ids | video_ids |
|---|---|---|---|---|
kind=product | 该 creator 的商品 | 这些商品 | 该店铺的商品 | 视频中展示的商品 |
kind=store | 该 creator 的店铺 | 商品所属店铺 | 这些店铺 | 视频中商品所属店铺 |
kind=video | 该 creator 的视频 | 商品的视频 | 店铺的视频 | 这些视频 |
GET /creators | 商品的 creator(商品和店铺合计最多 5 个) | 店铺的 creator | 视频的 creator(最多 50 个) |
GET /shopee/creators 接受同样的 product_ids、store_ids 和 video_ids。
行与总数
MCP 默认返回精简行,除非调用指定 view 或 fields;REST 默认返回完整行,除非另行要求(view=compact 或 fields=id,name,sold)。每个回答都注明其 kind。
| Kind | 精简字段 |
|---|---|
product | id、name、currency、price_min、price_max、sold、gmv、rating、creator_count、video_count、store_id、store_name、category_ids |
store | id、name、currency、gmv、sold、rating、creator_count、product_count、video_count、category_ids |
video | id、name(文案)、released_at、play_cnt、like_cnt、comment_cnt、share_cnt、engagement(百分比)、product_count、creator_account_id、handle、product_ids |
通过 API,每个列表都返回 total,最多计到 50,000(total_capped: true 表示更多)。用 limit=1 计数。
选择它们的 creator
对 creator 的操作接受 selection(见 Creator):
- 商品或店铺的 creator:
"source": "/creators","filters": {"store_ids": "…"}(或product_ids,合计最多 5 个)。Shopee:"source": "/shopee/creators",配合product_ids或store_ids。 - 列表中视频的 creator:
"source": "/creators/catalog","filters": {"kind": "video", …};每个 creator 只出现一次,按列表顺序(total计视频数,matched计 creator 数)。GET /creators/catalog/ids?kind=video&start=1&end=…返回同样的 id。 - 商品或店铺列表没有 creator 的 selection:在
/creators/catalog/ids(或作为 selection)上使用kind=product或kind=store会返回422,并说明应改用的 route。
把 Shopee 列表作为 TikTok 操作的 selection(或反之)会返回 422:这些 creator 属于另一个平台。
示例
畅销美妆商品: GET /creators/catalog?kind=product&shop_id=…&category_id=601450&sort_by=sold&limit=1
{"kind": "product", "rows": [
{"id": "1729382420060341472", "name": "MAYBELLINE Superstay Matte Ink …", "currency": "IDR",
"price_min": 138900.0, "price_max": 138900.0, "sold": 14566665, "gmv": 1383876874995.0, "rating": 4.9,
"creator_count": 19663, "video_count": 594, "store_id": "7494048773396071648",
"store_name": "Maybelline Indonesia", "category_ids": ["601450", "848648", "601534"]}],
"page": 1, "limit": 1, "has_more": true, "region": "ID", "total": 47515, "total_capped": false}推广商品 X 的 creator: GET /creators?shop_id=…&product_ids=1729382420060341472&limit=50(GMV 最高的在前;total 为该商品的 creator 数)。
商品 X 最近 30 天的最佳视频: GET /creators/catalog?kind=video&shop_id=…&product_ids=1729382420060341472&released_within_days=30&sort_by=plays&limit=1
{"kind": "video", "rows": [
{"id": "7703468258191543560", "name": null, "released_at": "2026-11-02T07:11:19Z", "play_cnt": 284126,
"like_cnt": 688, "comment_cnt": null, "share_cnt": null, "engagement": 0.24, "product_count": 1,
"creator_account_id": "01a1f5fc-…", "handle": "hyper.modif", "product_ids": ["1729382420060341472"]}],
"page": 1, "limit": 1, "has_more": true, "region": "ID", "total": 99, "total_capped": false}GMV 最高的时尚店铺: GET /creators/catalog?kind=store&shop_id=…&category_id=601152&sort_by=gmv&limit=10
店铺 Y 的商品: GET /creators/catalog?kind=product&shop_id=…&store_ids=7494083639217390595&sort_by=sold
把 Wardah 店铺的 creator 放进 group: 先用 GET /creators?shop_id=…&store_ids=7493999781643847575&limit=1 读取数量,然后
POST /groups/assign
{"ids": ["GROUP_ID"],
"selection": {"source": "/creators", "filters": {"shop_id": "…", "store_ids": "7493999781643847575"},
"start": 1, "end": 10000}}某 creator 的视频、商品和店铺: GET /creators/catalog?kind=video&creator_account_ids=01a1f5fc-…(或 kind=product、kind=store)。
播放超过一百万的视频有多少: GET /creators/catalog?kind=video&shop_id=…&min_plays=1000000&limit=1 → total(印度尼西亚为 5,442)。
Shopee: GET /shopee/catalog?kind=product&shop_id=…&sort_by=creators,用 store_ids 查店铺的商品,用 kind=video&creator_account_ids=… 查 creator 的内容,用 GET /shopee/creators?product_ids=… 查商品的 creator。
Shopee 数据包含什么
Shopee 不提供商品的 GMV 或销量,不提供店铺的名称、GMV 或销量,也不提供内容关联的商品:这些字段为空,从不估算。因此 Shopee 列表按 creators(商品、店铺)或 plays、likes、comments(内容)排序,按 creators 和 price(商品、店铺)或 plays、likes、comments(内容)筛选,内容列表只能从其 creator 打开(creator_account_ids);在其上使用 product_ids 或 store_ids 会返回 422。