tiktok.affiliate_seller.202508.target_collaborations.target_collaboration_id
GET/affiliate_seller/202508/target_collaborations/{target_collaboration_id}Via 360: GET https://partner.quantri360.com/v1/tiktok/affiliate_seller/202508/target_collaborations/{target_collaboration_id}
Description
Chi tiết một hợp tác mục tiêu: danh sách sản phẩm (giá gốc, tỉ lệ / tiền hoa hồng, hoa hồng quảng cáo) và danh sách creator được mời (đã thêm showcase / đã đăng nội dung bao nhiêu sản phẩm) — dùng để theo dõi từng KOC trong thỏa thuận riêng.
- Gọi qua /v1/tiktok/affiliate_seller/202508/target_collaborations/{target_collaboration_id} với Authorization: Bearer <key>; dùng platform_shop_id khi có nhiều shop. 360 tự gắn app_key, shop_cipher, sign và access_token.
- Ở API chi tiết tên trường là
creator_invited_count(đúng chính tả), còn ở API tìm kiếm làcreator_inivited_count. - Các con số
*_countcấp hợp tác chỉ tính trạng thái NORMAL; số theo creator tính cả NORMAL và DELETING. - Dùng được cả với hợp tác đã kết thúc (trạng thái COMPLETED).
- API chỉ đọc; code = 0 mới là thành công.
Request
Endpoint
GET https://partner.quantri360.com/v1/tiktok/affiliate_seller/202508/target_collaborations/{target_collaboration_id}
Authentication & shop
| Name | In | Type | Sample | Description |
|---|---|---|---|---|
| Authorization | header | header | Bearer q360_live_ab12cd34_… | Khóa API của brand (tạo ở mục API key). Bắt buộc với mọi request. Brand suy từ key — không truyền mã brand. |
| platform_shop_id | query | string | 100001 | Gian hàng (lấy ở GET /v1/platforms → shops[].platform_shop_id). BẮT BUỘC khi brand có > 1 gian hàng trên nền tảng; 360 bỏ tham số này trước khi chuyển tiếp. |
Request parameters
| Name | In | Type | Required | Sample | Description |
|---|---|---|---|---|---|
| target_collaboration_id | path | string | Yes | 7642000000000000001 | Mã hợp tác — id của target_collaborations/search. |
Request examples
curl -s "https://partner.quantri360.com/v1/tiktok/affiliate_seller/202508/target_collaborations/7642000000000000001?platform_shop_id=7494000000000000000" \ -H "Authorization: Bearer $KEY"
Python
import requests
KEY = "q360_live_..." # khóa API của brand
r = requests.get(
"https://partner.quantri360.com/v1/tiktok/affiliate_seller/202508/target_collaborations/7642000000000000001",
params={
"platform_shop_id": "7494000000000000000"
},
headers={"Authorization": f"Bearer {KEY}"},
timeout=60,
)
print(r.status_code)
print(r.json())Node.js
const KEY = 'q360_live_...'; // khóa API của brand
const url = new URL('https://partner.quantri360.com/v1/tiktok/affiliate_seller/202508/target_collaborations/7642000000000000001');
for (const [k, v] of Object.entries({"platform_shop_id":"7494000000000000000"})) url.searchParams.set(k, typeof v === 'object' ? JSON.stringify(v) : String(v));
const r = await fetch(url, {
method: 'GET',
headers: { Authorization: `Bearer ${KEY}` },
});
console.log(r.status, await r.json());PHP
<?php $key = 'q360_live_...'; // khóa API của brand $url = 'https://partner.quantri360.com/v1/tiktok/affiliate_seller/202508/target_collaborations/7642000000000000001' . '?' . http_build_query(['platform_shop_id' => '7494000000000000000']); $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HTTPHEADER, ['Authorization: Bearer ' . $key]); $res = curl_exec($ch); $status = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); echo $status, "\n", $res;
Response
Response fields (as returned by TikTok Shop)
| Name | Type | Sample | Description |
|---|---|---|---|
| code | int | 0 | 0 = thành công; khác 0 xem message (105001–105003 = token, 360 đã tự làm mới một lần). |
| message | string | Success | Thông điệp của TikTok. |
| request_id | string | 2025101900000000000000000000 | Mã request TikTok. |
| data | object | Dữ liệu. | |
| target_collaboration | object | ||
| id | string | 7642000000000000001 | |
| name | string | Cửa hàng mẫu | |
| message | string | ||
| type | string | STANDARD | `STANDARD` · `TOP_CREATOR_PROGRAM`. |
| start_time | int | 1779425875 | Unix giây. |
| end_time | int | 1782838799 | Unix giây. |
| update_time | int | Unix giây. | |
| creator_invited_count | int | 1 | Số creator được mời (chỉ tính trạng thái NORMAL). |
| showcase_creator_count | int | 1 | Số creator đã thêm sản phẩm vào showcase (NORMAL). |
| content_creator_count | int | 1 | Số creator đã đăng nội dung (NORMAL). |
| product_count | int | 3 | Số sản phẩm (NORMAL). |
| free_sample_rule | object | {has_free_sample, is_sample_approval_exempt}. | |
| seller_contact_info | object | Liên hệ người bán đã khai {email, phone_number, …} — vắng nếu không khai. | |
| products | object[] | Sản phẩm trong hợp tác. | |
| id | string | 1735000000000000001 | Mã sản phẩm. |
| title | string | Tên. | |
| main_image_url | string | ||
| status | string | LIVE | `LIVE` · `OUT_OF_STOCK` · `SELLER_DEACTIVATE` … |
| original_price | object | {currency, minimum_amount, maximum_amount} — giá gốc thấp / cao nhất các SKU. | |
| commission | object | Hoa hồng. | |
| rate | int | 1000 | Tỉ lệ, đơn vị 1/100 % (1000 = 10%). |
| shop_ads_commission_rate | int | 300 | Tỉ lệ cho đơn từ quảng cáo (300 = 3%). |
| minimum_amount | string | 50000 | Tiền hoa hồng ước tính thấp nhất các SKU. |
| maximum_amount | string | 70000 | Cao nhất. |
| currency | string | VND | |
| effective_time | string | 1779425875 | Hiệu lực từ (Unix giây, dạng chuỗi). |
| commission_effective_status | string | EFFECTIVE_ALL | `EFFECTIVE_ALL` · `EFFECTIVE_PARTIALLY` … |
| collaboration_status | string | NORMAL | `NORMAL` · `DELETING` (đang gỡ khỏi hợp tác). |
| creators | object[] | Creator được mời. | |
| creator_open_id | string | Ab1CdAAAAAA2xYza… | |
| username | string | creator_abc123 | |
| nickname | string | ||
| avatar | object | {url}. | |
| selection_region | string | VN | Thị trường creator được quảng bá. |
| showcase_product_count | int | 3 | Số sản phẩm creator đã thêm vào showcase. |
| content_product_count | int | 3 | Số sản phẩm creator đã đăng video / LIVE. |
| collaboration_status | string | NORMAL | `NORMAL` · `DELETING`. |
| product_effective_status | string | EFFECTIVE_ALL | Hoa hồng đã hiệu lực với creator này trên tất cả / một phần sản phẩm. |
Response sample
{
"code": 0,
"message": "Success",
"request_id": "20261029165311DF1D5F…",
"data": {
"target_collaboration": {
"id": "7642000000000000001",
"name": "Cửa hàng mẫu",
"message": "",
"type": "STANDARD",
"start_time": 1779425875,
"end_time": 1782838799,
"update_time": 1779425876,
"creator_invited_count": 1,
"showcase_creator_count": 1,
"content_creator_count": 1,
"product_count": 3,
"free_sample_rule": {
"has_free_sample": false,
"is_sample_approval_exempt": false
},
"products": [
{
"id": "1735000000000000002",
"title": "Set bộ biển bán rời Cửa hàng mẫu … SPMAU001",
"main_image_url": "https://p16-oec-sg.ibyteimg.com/…",
"status": "LIVE",
"original_price": {
"currency": "VND",
"minimum_amount": "500000",
"maximum_amount": "700000"
},
"commission": {
"rate": 1000,
"shop_ads_commission_rate": 300,
"currency": "VND",
"minimum_amount": "50000",
"maximum_amount": "70000",
"effective_time": "1779425875"
},
"commission_effective_status": "EFFECTIVE_ALL",
"collaboration_status": "NORMAL"
}
],
"creators": [
{
"creator_open_id": "Ab1CdAAAAAA2xYza…",
"username": "creator_abc123",
"nickname": "Creator ABC",
"avatar": {
"url": "https://p16-common-sign.tiktokcdn.com/…"
},
"selection_region": "VN",
"showcase_product_count": 3,
"content_product_count": 3,
"collaboration_status": "NORMAL",
"product_effective_status": "EFFECTIVE_ALL"
}
]
}
}
}
Get started
- Sign up for Partner
- Enable a data type of the Affiliate group on the platform page
- Create an API key (tick the TikTok Shop channel)
- Call it as in the examples above