tiktok.product.202606.skpps.search
POST/product/202606/skpps/searchVia 360: POST https://partner.quantri360.com/v1/tiktok/product/202606/skpps/search
Description
Tra hàng loạt trạng thái SKPP của sản phẩm trong gian hàng.
- Gọi qua /v1/tiktok/product/202606/skpps/search 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.
- Kết nối gian hàng trả mã 12081001.
Request
Endpoint
POST https://partner.quantri360.com/v1/tiktok/product/202606/skpps/search
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 |
|---|---|---|---|---|---|
| locale | query | string | No | vi-VN | Mã ngôn ngữ hiển thị; mặc định theo gian hàng; giá trị liên quan: BCP, GB, CN, DE, IT, JP, MY, BR, TH, VN. |
| product_ids | body | string[] | No | ["900000000000000001"] | Danh sách mã sản phẩm, tối đa 100 mỗi lần. |
| skpp_status | body | string | No | QUALIFIED | QUALIFIED đã đạt SKPP; NOT_QUALIFIED chưa đạt nhưng đủ điều kiện nhận tác vụ SKPP; giá trị liên quan: NOT_QUALIFIED, QUALIFIED, SKPP. |
| page_size | body | int | No | 10 | Số sản phẩm mỗi trang, từ 1–100; mặc định 50. |
| page_no | body | int | No | 1 | Số trang bắt đầu từ 1; mặc định 1. |
Request examples
curl -s -X POST "https://partner.quantri360.com/v1/tiktok/product/202606/skpps/search?locale=vi-VN" \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{"product_ids":["900000000000000001"],"skpp_status":"QUALIFIED","page_size":10,"page_no":1}'
Python
import requests
KEY = "q360_live_..." # khóa API của brand
r = requests.post(
"https://partner.quantri360.com/v1/tiktok/product/202606/skpps/search",
params={
"locale": "vi-VN"
},
json={
"product_ids": [
"900000000000000001"
],
"skpp_status": "QUALIFIED",
"page_size": 10,
"page_no": 1
},
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/product/202606/skpps/search');
for (const [k, v] of Object.entries({"locale":"vi-VN"})) url.searchParams.set(k, typeof v === 'object' ? JSON.stringify(v) : String(v));
const r = await fetch(url, {
method: 'POST',
headers: { Authorization: `Bearer ${KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({"product_ids":["900000000000000001"],"skpp_status":"QUALIFIED","page_size":10,"page_no":1}),
});
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/product/202606/skpps/search' . '?' . http_build_query(['locale' => 'vi-VN']);
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Authorization: Bearer ' . $key, 'Content-Type: application/json']);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, '{"product_ids":["900000000000000001"],"skpp_status":"QUALIFIED","page_size":10,"page_no":1}');
$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 | YEU_CAU_MINH_HOA | Mã yêu cầu để tra cứu lỗi. |
| data | object | Dữ liệu. | |
| products | object[] | Danh sách sản phẩm. | |
| product_id | string | 900000000000000001 | Mã sản phẩm. |
| title | string | Áo thun cotton cổ tròn minh họa | Tiêu đề. |
| skpp_status | string | QUALIFIED | Trạng thái đạt chuẩn SKPP; giá trị liên quan: NOT_QUALIFIED, QUALIFIED. |
| affiliate_program_status | string | ACTIVE | Trạng thái tham gia chương trình affiliate; giá trị liên quan: ACTIVE, INACTIVE. |
| total_score | int | 1 | Tổng điểm hiện tại. |
| target_score | int | 1 | Điểm mục tiêu. |
| rewards | object[] | Thông tin phần thưởng. | |
| reward_type | string | ADS_CREDIT | Loại phần thưởng; giá trị liên quan: ADS_CREDIT, TOP_CREATOR_MATCHMAKING, SHOPTAB_PV. |
| status | string | AVAILABLE | Trạng thái; giá trị liên quan: NOT_GRANTED, PENDING, AVAILABLE. |
| value | string | Minh họa | Giá trị; giá trị liên quan: ADS_CREDIT, TOP_CREATOR_MATCHMAKING, SHOPTAB_PV. |
| ad_credit_claim_status | string | CLAIMED | Trạng thái nhận tín dụng quảng cáo; giá trị liên quan: ADS_CREDIT, AVAILABLE, UNCLAIMED, CLAIMED. |
| total_count | int | 1 | Tổng số kết quả. |
| update_time | int | 1793494800 | Thời gian cập nhật; Unix giây. |
Response sample
{
"code": 0,
"message": "Success",
"request_id": "YEU_CAU_MINH_HOA",
"data": {
"products": [
{
"product_id": "900000000000000001",
"title": "Áo thun cotton cổ tròn minh họa",
"skpp_status": "QUALIFIED",
"affiliate_program_status": "ACTIVE",
"total_score": 1,
"target_score": 1,
"rewards": [
{
"reward_type": "ADS_CREDIT",
"status": "AVAILABLE",
"value": "Minh họa",
"ad_credit_claim_status": "CLAIMED"
}
]
}
],
"total_count": 1,
"update_time": 1793494800
}
}
Get started
- Sign up for Partner
- Enable a data type of the Sản phẩm group on the platform page
- Create an API key (tick the TikTok Shop channel)
- Call it as in the examples above