tiktok.affiliate_seller.202607.creator_outreach.quota
GET/affiliate_seller/202607/creator_outreach/quotaVia 360: GET https://partner.quantri360.com/v1/tiktok/affiliate_seller/202607/creator_outreach/quota
Description
Lấy hạn mức tiếp cận creator theo tuần của gian hàng, gồm bậc GMV, giới hạn người theo dõi, hạn mức đã dùng và còn lại.
- Gọi qua /v1/tiktok/affiliate_seller/202607/creator_outreach/quota 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 chỉ đọc; code = 0 mới là thành công.
Request
Endpoint
GET https://partner.quantri360.com/v1/tiktok/affiliate_seller/202607/creator_outreach/quota
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
No specific parameters (besides the common ones).
Request examples
curl -s "https://partner.quantri360.com/v1/tiktok/affiliate_seller/202607/creator_outreach/quota" \ -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/202607/creator_outreach/quota",
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_seller/202607/creator_outreach/quota');
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_seller/202607/creator_outreach/quota' . '?' . 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. | |
| data | object | Dữ liệu phản hồi. | |
| shop_id | string | 100000000000000101 | Mã gian hàng. |
| quota_type | string | Minh họa | Loại hạn mức. |
| gmv_tier | string | Minh họa | Bậc GMV. |
| quota_sum | string | Minh họa | Tổng hạn mức. |
| quota_use | string | Minh họa | Hạn mức đã dùng. |
| unlimited | boolean | false | Không giới hạn hạn mức. |
| reached_max_follower_cnt | string | Minh họa | Số người theo dõi tối đa của creator có thể tiếp cận. |
| new_connect_count | string | Minh họa | Số creator mới kết nối trong kỳ. |
| pair_connect_count | string | Minh họa | Số creator đã kết nối hai chiều trong kỳ. |
| start_time | string | 1790812800 | Thời điểm bắt đầu. |
| end_time | string | 1790899200 | Thời điểm kết thúc. |
| gmv_level_rule | []object | Quy tắc hạn mức theo bậc GMV. | |
| reached_max_follower_cnt | string | Minh họa | Số người theo dõi tối đa của creator có thể tiếp cận. |
| gmv_tier | string | Minh họa | Bậc GMV. |
| left_gmv | object | Cận dưới gmv. | |
| amount | string | 10000 | Số tiền. Giá trị bổ sung: IVA. |
| currency | string | VND | Mã tiền tệ. Giá trị bổ sung: BRL, EUR, GBP, IDR, JPY, MXN, MYR, PHP, SGD, THB, USD, VND. |
| right_gmv | object | Cận trên gmv. | |
| amount | string | 10000 | Số tiền. Giá trị bổ sung: IVA. |
| currency | string | VND | Mã tiền tệ. Giá trị bổ sung: BRL, EUR, GBP, IDR, JPY, MXN, MYR, PHP, SGD, THB, USD, VND. |
| quota_details | []object | Chi tiết hạn mức theo cấp creator. | |
| creator_levels | []int | [1] | Creator các cấp. |
| quota_period_sum | int | 1 | Hạn mức kỳ tổng. |
| quota_bonus_sum | int | 1 | Hạn mức thưởng tổng. |
| quota_details | []object | Chi tiết hạn mức theo cấp creator. | |
| creator_levels | []int | [1] | Creator các cấp. |
| quota_period_sum | int | 1 | Hạn mức kỳ tổng. |
| quota_period_use | int | 1 | Hạn mức kỳ đã dùng. |
| quota_bonus_sum | int | 1 | Hạn mức thưởng tổng. |
| quota_bonus_use | int | 1 | Hạn mức thưởng đã dùng. |
| bonus_exposure_post_percentile_threshold | string | Minh họa | Ngưỡng bách phân vị hiển thị bài đăng để nhận thêm hạn mức; 0.8 là bách phân vị 80. |
Response sample
{
"code": 0,
"message": "Success",
"request_id": "DEMO_AFFILIATE_REQUEST",
"data": {
"data": {
"shop_id": "100000000000000101",
"quota_type": "Minh họa",
"gmv_tier": "Minh họa",
"quota_sum": "Minh họa",
"quota_use": "Minh họa",
"unlimited": false,
"reached_max_follower_cnt": "Minh họa",
"new_connect_count": "Minh họa",
"pair_connect_count": "Minh họa",
"start_time": "1790812800",
"end_time": "1790899200",
"gmv_level_rule": [
{
"reached_max_follower_cnt": "Minh họa",
"gmv_tier": "Minh họa",
"left_gmv": {
"amount": "10000",
"currency": "VND"
},
"right_gmv": {
"amount": "10000",
"currency": "VND"
},
"quota_details": [
{
"creator_levels": [
1
],
"quota_period_sum": 1,
"quota_bonus_sum": 1
}
]
}
],
"quota_details": [
{
"creator_levels": [
1
],
"quota_period_sum": 1,
"quota_period_use": 1,
"quota_bonus_sum": 1,
"quota_bonus_use": 1
}
],
"bonus_exposure_post_percentile_threshold": "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