tiktok.affiliate_partner.202508.campaigns.campaign_id.products.product_id.creator.creator_temp_id.content.statistics.sample.status
GET/affiliate_partner/202508/campaigns/{campaign_id}/products/{product_id}/creator/{creator_temp_id}/content/statistics/sample/statusVia 360: GET https://partner.quantri360.com/v1/tiktok/affiliate_partner/202508/campaigns/{campaign_id}/products/{product_id}/creator/{creator_temp_id}/content/statistics/sample/status
Description
DÀNH CHO ĐỐI TÁC AFFILIATE: Lấy thông tin giao và theo dõi mẫu của creator trong chiến dịch; creator phải đã yêu cầu mẫu sản phẩm đó.
- HIỆN CHƯA GỌI ĐƯỢC QUA 360: API này dùng kết nối của creator / đối tác, kết nối gian hàng trả code 36009005. Cần dùng → liên hệ 360.
- API chỉ đọc; code = 0 mới là thành công.
Request
Endpoint
GET https://partner.quantri360.com/v1/tiktok/affiliate_partner/202508/campaigns/{campaign_id}/products/{product_id}/creator/{creator_temp_id}/content/statistics/sample/status
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 |
|---|---|---|---|---|---|
| campaign_id | path | string | Yes | 100000000000000101 | Mã chiến dịch. |
| product_id | path | string | Yes | 100000000000000101 | Mã sản phẩm. |
| creator_temp_id | path | string | Yes | CREATOR_DEMO_001 | Open ID của creator. |
Request examples
curl -s "https://partner.quantri360.com/v1/tiktok/affiliate_partner/202508/campaigns/100000000000000101/products/100000000000000101/creator/CREATOR_DEMO_001/content/statistics/sample/status" \ -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_partner/202508/campaigns/100000000000000101/products/100000000000000101/creator/CREATOR_DEMO_001/content/statistics/sample/status",
params={},
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_partner/202508/campaigns/100000000000000101/products/100000000000000101/creator/CREATOR_DEMO_001/content/statistics/sample/status');
for (const [k, v] of Object.entries({})) 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_partner/202508/campaigns/100000000000000101/products/100000000000000101/creator/CREATOR_DEMO_001/content/statistics/sample/status' . '?' . http_build_query([]); $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 | Mã kết quả; 0 là thành công. |
| message | string | Success | Thông báo kết quả. |
| request_id | string | DEMO_AFFILIATE_REQUEST | Mã truy vết yêu cầu. |
| data | object | Dữ liệu phản hồi. | |
| sample_status | object | Trạng thái mẫu. | |
| shipping_provider_name | string | Minh họa | Vận chuyển đơn vị tên. |
| delivery_option | string | ECONOMY_SHIPPING | Giao hàng tùy chọn. Giá trị: ECONOMY_SHIPPING, PREMIUM_SHIPPING. |
| estimated_earliest_delivery_date | string | 2026-10-01 | Ước tính sớm nhất giao hàng ngày. Mốc Unix giây. |
| estimated_latest_delivery_date | string | 2026-10-01 | Ước tính muộn nhất giao hàng ngày. Mốc Unix giây. |
| quantity | int | 1 | Số lượng. |
| tracking_results | []object | Theo dõi kết quả. | |
| tracking_event_update_date | string | 2026-10-01 | Theo dõi sự kiện cập nhật ngày. Mốc Unix giây. |
| tracking_event_description | string | THE_PACKAGE_HAS_BEEN_DELIVERED | Theo dõi sự kiện mô tả. Giá trị: THE_PACKAGE_HAS_BEEN_DELIVERED, OUT_FOR_DELIVERY, ORDER_PACKED_AND_READY_FOR_DROP_OFF_AT_CARRIERS_FACILITY, ORDER_PLACED. |
| tracking_event_description_extended | string | Minh họa | Theo dõi sự kiện mô tả mở rộng. |
Response sample
{
"code": 0,
"message": "Success",
"request_id": "DEMO_AFFILIATE_REQUEST",
"data": {
"sample_status": {
"shipping_provider_name": "Minh họa",
"delivery_option": "ECONOMY_SHIPPING",
"estimated_earliest_delivery_date": "2026-10-01",
"estimated_latest_delivery_date": "2026-10-01",
"quantity": 1,
"tracking_results": [
{
"tracking_event_update_date": "2026-10-01",
"tracking_event_description": "THE_PACKAGE_HAS_BEEN_DELIVERED",
"tracking_event_description_extended": "Minh họa"
}
]
}
}
}
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