TikTok Shop商品詳情 API (V1)
獲取選定區域內商品 ID 的公開 TikTok Shop 商品詳情。使用該接口在搜索或目錄發現後檢查已知的區域商品。
請求參數
| 參數名 | 位置 | 類型 | 必填 | 預設值 | 說明 |
|---|---|---|---|---|---|
token |
query | string |
是 | - | 此API服務的鑑權令牌。 |
productId |
query | string |
是 | - | TikTok Shop 產品 ID。 |
region |
query | string |
否 | US |
商品詳情的目標區域。 可選值: - US:美國- GB:英國- FR:法國- SG:新加坡- MY:馬來西亞- PH:菲律賓- TH:泰國- VN:越南- ID:印度尼西亞 |
程式碼範例
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/tiktok-shop/get-product-detail/v1?token=YOUR_API_KEY&productId=VALUE'
我想使用 JustOneAPI 提供的“商品詳情 (V1)”接口。
接入地址: https://api.justoneapi.com。
接口路徑: /api/tiktok-shop/get-product-detail/v1?token=YOUR_API_KEY&productId=VALUE
接口地址: BASE_URL + /api/tiktok-shop/get-product-detail/v1?token=YOUR_API_KEY&productId=VALUE
HTTP 方法: GET
身份驗證: 在 URL 中傳入 token 查詢參數。
OpenAPI 定義: https://docs.justoneapi.com/openapi/tiktok-shop/product-details-v1-zh-hant.json
請求參數說明:
- token (query): 此API服務的鑑權令牌。 (必填)
- productId (query): TikTok Shop 產品 ID。 (必填)
- region (query): 商品詳情的目標區域。
可選值:
- `US`:美國
- `GB`:英國
- `FR`:法國
- `SG`:新加坡
- `MY`:馬來西亞
- `PH`:菲律賓
- `TH`:泰國
- `VN`:越南
- `ID`:印度尼西亞
返回格式: 請根據實際 Content-Type 安全處理 JSON 或文本回應。
回應處理與錯誤代碼:
1. 需通過返回體中的 "code" 欄位判斷業務結果(code 為 0 表示成功)。
2. 逾時建議:建議將請求逾時時間設置為 120 秒;如果 120 秒偏長,請至少設置為 60 秒,但可能會有少量請求因逾時而未接收到結果。
3. 業務碼說明:
- 0: 成功
- 100: Token 無效或已失效
- 301: 採集失敗,請重試
- 302: 超出速率限制
- 303: 超出每日配額
- 400: 參數錯誤
- 500: 內部伺服器錯誤
- 600: 權限不足
- 601: 帳戶餘額不足
- 602: TOKEN 限額超限
4. code 601 表示帳戶共享餘額不足。code 602 表示當前 API TOKEN 自身的累計消費上限已達到。TOKEN 限額不是資金劃撥,多個 TOKEN 仍共享同一個帳戶餘額。
請幫我用我擅長的編程語言寫一個腳本來呼叫這個接口,並處理返回結果。
import requests
BASE_URL = "https://api.justoneapi.com" # 由 OpenAPI servers 提供
url = BASE_URL + "/api/tiktok-shop/get-product-detail/v1?token=YOUR_API_KEY&productId=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
content_type = response.headers.get("content-type", "").lower()
if "json" in content_type:
try:
print(response.json())
except ValueError:
print(response.text)
elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
print(response.text)
else:
with open("response.bin", "wb") as output:
output.write(response.content)
print(f"Saved {len(response.content)} bytes to response.bin")
const BASE_URL = "https://api.justoneapi.com"; // 由 OpenAPI servers 提供
const url = BASE_URL + "/api/tiktok-shop/get-product-detail/v1?token=YOUR_API_KEY&productId=VALUE";
const response = await fetch(url, {
method: "GET",
signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
const contentType = (response.headers.get("content-type") || "").toLowerCase();
const mediaType = contentType.split(";", 1)[0].trim();
const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
if (textual) {
const responseText = new TextDecoder().decode(responseBytes);
let data = responseText;
if (contentType.includes("json")) {
try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
}
console.log(data);
} else {
console.log(`Received ${responseBytes.byteLength} binary bytes`);
}
}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
public class Main {
public static void main(String[] args) throws Exception {
final String BASE_URL = "https://api.justoneapi.com"; // 由 OpenAPI servers 提供
final String url = BASE_URL + "/api/tiktok-shop/get-product-detail/v1?token=YOUR_API_KEY&productId=VALUE";
HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
HttpRequest.Builder builder = HttpRequest.newBuilder()
.uri(URI.create(url))
.timeout(Duration.ofSeconds(120))
.method("GET", HttpRequest.BodyPublishers.noBody());
HttpRequest request = builder.build();
HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
System.out.println(response.statusCode());
String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
String mediaType = contentType.split(";", 2)[0].trim();
if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
System.out.println(new String(response.body(), StandardCharsets.UTF_8));
} else {
Files.write(Path.of("response.bin"), response.body());
System.out.println("Saved " + response.body().length + " bytes to response.bin");
}
}
}
package main
import (
"fmt"
"io"
"os"
"strings"
"net/http"
"time"
)
const BASE_URL = "https://api.justoneapi.com" // 由 OpenAPI servers 提供
func main() {
client := &http.Client{Timeout: 120 * time.Second}
url := BASE_URL + "/api/tiktok-shop/get-product-detail/v1?token=YOUR_API_KEY&productId=VALUE"
req, _ := http.NewRequest("GET", url, nil)
resp, _ := client.Do(req)
defer resp.Body.Close()
fmt.Println(resp.StatusCode)
bodyBytes, _ := io.ReadAll(resp.Body)
contentType := strings.ToLower(resp.Header.Get("Content-Type"))
mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
fmt.Println(string(bodyBytes))
} else {
os.WriteFile("response.bin", bodyBytes, 0600)
fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
}
}
<?php
$BASE_URL = 'https://api.justoneapi.com'; // 由 OpenAPI servers 提供
$url = $BASE_URL . '/api/tiktok-shop/get-product-detail/v1?token=YOUR_API_KEY&productId=VALUE';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
echo $response;
} else {
file_put_contents('response.bin', $response);
echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
返回欄位
業務成功時(code = 0)的主要返回欄位。
地區狀態與商品資料14 個欄位
data
TikTok Shop 商品詳情或地區可用性回應。
| 欄位 | 類型 | 說明 |
|---|---|---|
region_supported |
boolean |
地區可用性回應中,本次請求地區是否受支持。 |
region |
string |
地區可用性回應中返回的請求地區。 |
supported_regions |
array |
地區可用性回應同時返回的受支持地區列表。 |
supported_regions[] |
string |
一個受支持的地區代碼。 |
message |
string |
地區可用性回應的說明。 |
product_data |
object |
返回商品詳情時的商品頁面資料。 |
product_data.page_config |
object |
包含商品詳情板塊的結構化頁面配置。 |
product_data.page_config.components_map |
array |
頁面板塊列表。商品詳情板塊的 component_type 為 product_info。 |
product_data.page_config.components_map[] |
object |
一個商品頁面板塊。 |
product_data.page_config.components_map[].component_type |
string |
頁面板塊的類型標識。 |
product_data.page_config.components_map[].component_name |
string |
頁面板塊的名稱。 |
product_data.page_config.components_map[].component_data |
object |
該頁面板塊關聯的資料。 |
product_data.page_config.components_map[].component_data.error_code |
integer |
商品詳情板塊返回的狀態碼。 |
product_data.page_config.components_map[].component_data.error_message |
string |
商品詳情板塊返回的狀態說明。 |
商品基本信息18 個欄位
data.product_data.page_config.components_map[].component_data.product_info
商品資料與交易欄位。較早的部分回應使用嵌套商品資料結構。
| 欄位 | 類型 | 說明 |
|---|---|---|
status |
integer |
商品返回的狀態代碼。 |
sold_count |
string |
商品銷量,以文本返回。 |
product_id |
string |
TikTok Shop 商品標識,以字符串返回。 |
seller_id |
string |
商品關聯的賣家標識。 |
title |
string |
商品標題。 |
sold_count_note |
object |
商品銷量標籤和展示文字。 |
sold_count_note.title |
string |
銷量說明的標題。 |
sold_count_note.text |
string |
銷量說明的展示文字。 |
specifications |
array |
名稱和值組成的商品規格列表。 |
specifications[] |
object |
一項商品參數。 |
specifications[].name |
string |
規格的顯示名稱。 |
specifications[].value |
string |
規格的顯示值。 |
desc_blocks |
array |
商品描述內容塊。 |
desc_blocks[] |
object |
一個商品描述塊。 |
desc_blocks[].type |
string |
該描述塊返回的內容類型。 |
desc_blocks[].text |
string |
該商品描述塊的文字。 |
desc_blocks[].rich_text |
object |
該描述塊的富文本內容。 |
desc_blocks[].rich_text.template |
string |
描述塊的文字模板。 |
商品圖片16 個欄位
data.product_data.page_config.components_map[].component_data.product_info
| 欄位 | 類型 | 說明 |
|---|---|---|
images |
array |
商品展示圖片。 |
images[] |
object |
一張商品展示圖片。 |
images[].height |
integer |
圖片高度,單位為像素。 |
images[].width |
integer |
圖片寬度,單位為像素。 |
images[].url_list |
array |
該圖片資源返回的連結列表。 |
images[].url_list[] |
string |
該圖片資源的一個連結。 |
images[].uri |
string |
圖片引用標識。 |
images[].thumb_uri |
string |
圖片縮略圖的引用標識。 |
images[].thumb_url_list |
array |
圖片返回的縮略圖連結列表。 |
images[].thumb_url_list[] |
string |
該圖片縮略圖的一個連結。 |
promotion_logos |
array |
用於展示商品促銷信息的圖片。 |
promotion_logos[] |
object |
一張商品促銷圖片。 |
promotion_logos[].height |
integer |
圖片高度,單位為像素。 |
promotion_logos[].width |
integer |
圖片寬度,單位為像素。 |
promotion_logos[].url_list |
array |
該圖片資源返回的連結列表。 |
promotion_logos[].url_list[] |
string |
該圖片資源的一個連結。 |
價格、SKU 與變體36 個欄位
data.product_data.page_config.components_map[].component_data.product_info
| 欄位 | 類型 | 說明 |
|---|---|---|
price |
object |
商品的價格展示信息。 |
price.is_interval_price |
boolean |
商品是否返回價格區間。 |
price.real_price |
string |
商品價格的展示文字。 |
price.currency |
string |
商品價格返回的貨幣代碼。 |
price.currency_symbol |
string |
商品價格的貨幣展示符號。 |
price.min_sku_price |
string |
返回的最低 SKU 價格,以文本表示。 |
sale_props |
array |
商品可選的變體屬性。 |
sale_props[] |
object |
一項商品變體屬性。 |
sale_props[].has_image |
boolean |
變體屬性是否有關聯圖片。 |
sale_props[].has_extended_images |
boolean |
該變體屬性是否有擴展圖片。 |
sale_props[].prop_id |
string |
商品變體屬性標識。 |
sale_props[].prop_name |
string |
變體屬性的顯示名稱。 |
sale_props[].sale_prop_values |
array |
該變體屬性的可選值。 |
sale_props[].sale_prop_values[] |
object |
一個可選變體值。 |
sale_props[].sale_prop_values[].prop_value_id |
string |
變體值標識。 |
sale_props[].sale_prop_values[].prop_value |
string |
變體值的顯示名稱。 |
skus |
array |
商品返回的 SKU 列表。 |
skus[] |
object |
一條可選 SKU 記錄。 |
skus[].status |
integer |
該 SKU 返回的狀態代碼。 |
skus[].stock |
integer |
該 SKU 返回的庫存數量。 |
skus[].purchase_limit |
integer |
該 SKU 返回的購買數量限制。 |
skus[].sku_id |
string |
TikTok Shop SKU 標識,以字符串返回。 |
skus[].sale_prop_value_ids |
string |
該 SKU 返回的變體值標識文本。 |
skus[].sku_sale_props |
array |
用於區分該 SKU 的變體屬性。 |
skus[].sku_sale_props[] |
object |
該 SKU 的一項變體屬性。 |
skus[].sku_sale_props[].prop_id |
string |
商品變體屬性標識。 |
skus[].sku_sale_props[].prop_name |
string |
變體屬性的顯示名稱。 |
skus[].sku_sale_props[].prop_value_id |
string |
變體值標識。 |
skus[].sku_sale_props[].prop_value |
string |
變體值的顯示名稱。 |
skus[].price |
object |
該 SKU 的價格信息。 |
skus[].price.price_type |
integer |
SKU 返回的價格類型代碼。 |
skus[].price.sale_price_format |
string |
SKU 的格式化銷售價格文本。 |
skus[].price.currency_symbol |
string |
SKU 價格的貨幣展示符號。 |
skus[].price.sale_price_decimal |
string |
SKU 銷售價,以十進制字符串返回。 |
skus[].price.currency_name |
string |
SKU 價格返回的貨幣代碼。 |
default_sku_id |
string |
商品預設 SKU 的標識。 |
配送與運費24 個欄位
data.product_data.page_config.components_map[].component_data.product_info
| 欄位 | 類型 | 說明 |
|---|---|---|
logistic |
object |
商品返回的配送與運費詳情。 |
logistic.delivery_option |
integer |
返回的配送選項代碼。 |
logistic.is_default |
boolean |
該配送選項是否被標為預設。 |
logistic.free_shipping |
boolean |
該配送選項是否標記為免運費。 |
logistic.reachable |
boolean |
當前上下文是否返回可配送。 |
logistic.delivery_min_days |
integer |
預計最短配送天數。 |
logistic.delivery_max_days |
integer |
預計最長配送天數。 |
logistic.delivery_name |
string |
配送選項的顯示名稱。 |
logistic.lead_time |
string |
配送時效的文字說明。 |
logistic.shipping_fee |
object |
返回的運費信息。 |
logistic.shipping_fee.price_str |
string |
運費的展示文字。 |
logistic.shipping_fee.price_val |
string |
運費金額文本。 |
logistic.shipping_fee.currency |
string |
運費的貨幣代碼。 |
logistic.original_shipping_val |
string |
原始運費金額文本。 |
shipping_module |
object |
商品展示的補充配送信息。 |
shipping_module.description_list |
array |
配送說明列表。 |
shipping_module.description_list[] |
object |
一項配送說明。 |
shipping_module.description_list[].text |
string |
配送說明的展示文字。 |
shipping_module.appendix_list |
array |
商品返回的配送附註列表。 |
shipping_module.appendix_list[] |
object |
一項配送附註。 |
shipping_module.appendix_list[].text |
string |
配送附註的展示文字。 |
lock_up_shipping |
array |
商品附帶的補充配送摘要列表。 |
lock_up_shipping[] |
object |
一項配送摘要。 |
lock_up_shipping[].text |
string |
配送摘要的展示文字。 |
賣家與商品評價19 個欄位
data.product_data.page_config.components_map[].component_data.product_info
| 欄位 | 類型 | 說明 |
|---|---|---|
seller |
object |
商品附帶的賣家摘要。 |
seller.rating_value |
number |
商品返回的賣家數字評分。 |
seller.product_count |
string |
賣家商品數量文本。 |
seller.follower_count |
string |
賣家粉絲數量文本。 |
seller.seller_id |
string |
商品關聯的賣家標識。 |
seller.name |
string |
賣家展示暱稱。 |
seller.shop_link |
string |
賣家返回的公開店鋪連結。 |
seller.rating |
string |
賣家評分的展示文字。 |
seller.avatar |
object |
賣家頭像圖片。 |
seller.avatar.height |
integer |
圖片高度,單位為像素。 |
seller.avatar.width |
integer |
圖片寬度,單位為像素。 |
seller.avatar.url_list |
array |
該圖片資源返回的連結列表。 |
seller.avatar.url_list[] |
string |
該圖片資源的一個連結。 |
seller.avatar.uri |
string |
圖片引用標識。 |
review |
object |
商品返回的評價摘要。 |
review.product_rating |
integer |
該摘要返回的商品數字評分。 |
review.review_count |
string |
商品評價數量文本。 |
review.product_rating_str |
string |
商品評分的展示文字。 |
review.review_count_str |
string |
商品評價數量的格式化文字。 |
店鋪資料與評分43 個欄位
data.product_data.page_config.components_map[].component_data.shop_info
商品關聯的公開店鋪資料。
| 欄位 | 類型 | 說明 |
|---|---|---|
seller_id |
string |
店鋪對應的賣家標識。 |
sold_count |
integer |
返回的店鋪銷量數字。 |
on_sell_product_count |
integer |
店鋪返回的在售商品數量。 |
review_count |
integer |
店鋪返回的評價數量。 |
global_seller_id |
string |
店鋪返回的跨地區賣家標識。 |
global_sold_count |
string |
店鋪跨地區銷量文本。 |
followers_count |
string |
店鋪粉絲數量文本。 |
video_count |
string |
店鋪視頻數量文本。 |
enable_follow |
boolean |
店鋪是否標記為可關注。 |
shop_name |
string |
店鋪的公開顯示名稱。 |
shop_rating |
string |
店鋪評分的展示文字。 |
shop_link |
string |
公開店鋪連結。 |
format_sold_count |
string |
店鋪銷量的格式化文字。 |
region |
string |
店鋪返回的地區代碼。 |
display_on_sell_product_count |
string |
店鋪在售商品數量的格式化文字。 |
format_global_sold_count |
string |
跨地區銷量的格式化文字。 |
format_followers_count |
string |
店鋪粉絲數量的格式化文字。 |
format_video_count |
string |
店鋪視頻數量的格式化文字。 |
store_sub_score |
array |
店鋪分項評分。 |
store_sub_score[] |
object |
一項店鋪分項評分。 |
store_sub_score[].score |
number |
店鋪分項評分的數字值。 |
store_sub_score[].type |
integer |
該店鋪分項評分的類別代碼。 |
store_sub_score[].score_percentage |
string |
該分項評分返回的佔比文本。 |
worst_rating |
string |
店鋪返回的評分下限文本。 |
best_rating |
string |
店鋪返回的評分上限文本。 |
creator_name |
string |
店鋪資料中展示的創作者名稱。 |
desc |
string |
公開的店鋪描述文字。 |
shop_exp_scores |
array |
店鋪返回的體驗評分。 |
shop_exp_scores[] |
object |
一項店鋪體驗評分。 |
shop_exp_scores[].score |
number |
體驗評分的數字值。 |
shop_exp_scores[].shop_sub_score_type |
integer |
該體驗評分的類別代碼。 |
shop_exp_scores[].score_percentage |
string |
該分項評分返回的佔比文本。 |
shop_exp_scores[].format_score |
string |
體驗評分的格式化文字。 |
shop_exp_scores[].score_description |
string |
體驗評分的展示說明。 |
shop_exp_scores[].experience_format_description |
string |
體驗評分的格式化說明。 |
shop_exp_scores[].score_level |
integer |
體驗評分返回的等級代碼。 |
shop_exp_scores[].format_numeric_score |
string |
體驗數字評分的格式化文字。 |
shop_logo |
object |
公開的店鋪標誌圖片。 |
shop_logo.height |
integer |
圖片高度,單位為像素。 |
shop_logo.width |
integer |
圖片寬度,單位為像素。 |
shop_logo.url_list |
array |
該圖片資源返回的連結列表。 |
shop_logo.url_list[] |
string |
該圖片資源的一個連結。 |
shop_logo.uri |
string |
圖片引用標識。 |
類目與補充條目10 個欄位
data.product_data.page_config.components_map[].component_data
| 欄位 | 類型 | 說明 |
|---|---|---|
vouchers |
array |
返回的商品優惠券,列表可以為空。 |
category_info |
object |
商品返回的類目信息。 |
category_info.recommended_categories |
array |
商品關聯的推薦類目。 |
category_info.recommended_categories[] |
object |
一個推薦類目。 |
category_info.recommended_categories[].category_id |
string |
推薦類目標識。 |
category_info.recommended_categories[].category_name |
string |
推薦類目的顯示名稱。 |
category_info.recommended_categories[].category_name_en |
string |
推薦類目的英文名稱。 |
reviews_info |
object |
商品附帶的補充評價信息,對象可以為空。 |
hot_reviews |
array |
返回的商品熱門評價,列表可以為空。 |
shop_performance |
array |
該板塊返回的店鋪表現條目,列表可以為空。 |
商品合規與警示8 個欄位
data.product_data.page_config.components_map[].component_data.product_info
| 欄位 | 類型 | 說明 |
|---|---|---|
compliance |
object |
商品展示的合規信息。 |
compliance.title |
string |
合規信息標題。 |
compliance.contents |
array |
商品展示的合規說明列表。 |
compliance.contents[] |
string |
一條展示的合規說明。 |
legit_warnings |
array |
商品返回的警示說明。 |
legit_warnings[] |
object |
一條商品警示說明。 |
legit_warnings[].short_content |
string |
商品警示的簡短展示文字。 |
legit_warnings[].long_content |
string |
商品警示的詳細展示文字。 |
較早回應中的商品與變體47 個欄位
data.product_data.page_config.components_map[].component_data.product_info
| 欄位 | 類型 | 說明 |
|---|---|---|
product_model |
object |
較早回應結構中的商品資料。 |
product_model.product_id |
string |
TikTok Shop 商品標識,以字符串返回。 |
product_model.seller_id |
string |
商品關聯的賣家標識。 |
product_model.sold_count |
string |
商品銷量,以文本返回。 |
product_model.name |
string |
嵌套商品資料中的商品名稱。 |
product_model.description |
string |
嵌套商品資料中的商品描述文字。 |
product_model.images |
array |
嵌套商品資料中的商品圖片。 |
product_model.images[] |
object |
一張商品展示圖片。 |
product_model.images[].height |
integer |
圖片高度,單位為像素。 |
product_model.images[].width |
integer |
圖片寬度,單位為像素。 |
product_model.images[].uri |
string |
圖片引用標識。 |
product_model.images[].url_list |
array |
該圖片資源返回的連結列表。 |
product_model.images[].url_list[] |
string |
該圖片資源的一個連結。 |
product_model.skus |
array |
嵌套商品資料中的 SKU 記錄。 |
product_model.skus[] |
object |
嵌套商品資料中的一條 SKU。 |
product_model.skus[].sku_id |
string |
TikTok Shop SKU 標識,以字符串返回。 |
product_model.skus[].sku_name |
string |
SKU 展示名稱。 |
product_model.skus[].sku_status |
integer |
該 SKU 返回的狀態代碼。 |
product_model.skus[].is_pre_order |
boolean |
該 SKU 是否標記為預售。 |
product_model.skus[].pre_order_ship_day |
integer |
返回的預售發貨等待天數。 |
product_model.skus[].property_pairs |
array |
該 SKU 的變體屬性與值列表。 |
product_model.skus[].property_pairs[] |
object |
該 SKU 的一組變體屬性和值。 |
product_model.skus[].property_pairs[].sku_property_id |
string |
商品變體屬性標識。 |
product_model.skus[].property_pairs[].sku_property_value_id |
string |
變體值標識。 |
product_model.skus[].property_pairs[].sku_property_name |
string |
變體屬性的顯示名稱。 |
product_model.skus[].property_pairs[].sku_property_value_name |
string |
變體值的顯示名稱。 |
product_model.skus[].sku_quantity |
object |
該 SKU 返回的可售庫存信息。 |
product_model.skus[].sku_quantity.available_quantity |
integer |
該 SKU 返回的可售數量。 |
product_model.skus[].sku_stock_status |
integer |
該 SKU 返回的庫存狀態代碼。 |
product_model.sale_properties |
array |
嵌套商品資料中的銷售變體屬性。 |
product_model.sale_properties[] |
object |
嵌套商品資料中的一項屬性。 |
product_model.sale_properties[].property_id |
string |
嵌套商品資料中的屬性標識。 |
product_model.sale_properties[].has_image |
boolean |
該嵌套屬性是否有關聯圖片。 |
product_model.sale_properties[].property_name |
string |
該嵌套屬性的顯示名稱。 |
product_model.sale_properties[].property_values |
array |
該嵌套屬性返回的屬性值。 |
product_model.sale_properties[].property_values[] |
object |
該嵌套屬性返回的一個屬性值。 |
product_model.sale_properties[].property_values[].property_value_id |
string |
嵌套屬性值的標識。 |
product_model.sale_properties[].property_values[].property_value_name |
string |
嵌套屬性值的顯示名稱。 |
product_model.product_properties |
array |
嵌套商品資料中的商品屬性。 |
product_model.product_properties[] |
object |
嵌套商品資料中的一項屬性。 |
product_model.product_properties[].property_id |
string |
嵌套商品資料中的屬性標識。 |
product_model.product_properties[].has_image |
boolean |
該嵌套屬性是否有關聯圖片。 |
product_model.product_properties[].property_name |
string |
該嵌套屬性的顯示名稱。 |
product_model.product_properties[].property_values |
array |
該嵌套屬性返回的屬性值。 |
product_model.product_properties[].property_values[] |
object |
該嵌套屬性返回的一個屬性值。 |
product_model.product_properties[].property_values[].property_value_id |
string |
嵌套屬性值的標識。 |
product_model.product_properties[].property_values[].property_value_name |
string |
嵌套屬性值的顯示名稱。 |
較早回應中的價格、賣家與狀態43 個欄位
data.product_data.page_config.components_map[].component_data.product_info
| 欄位 | 類型 | 說明 |
|---|---|---|
promotion_model |
object |
較早回應結構中的價格和配送促銷信息。 |
promotion_model.promotion_product_price |
object |
嵌套促銷資料中的商品價格詳情。 |
promotion_model.promotion_product_price.min_price |
object |
返回的最低價格記錄。 |
promotion_model.promotion_product_price.min_price.sku_id |
string |
該價格關聯的 SKU 標識。 |
promotion_model.promotion_product_price.min_price.currency_name |
string |
SKU 價格返回的貨幣代碼。 |
promotion_model.promotion_product_price.min_price.currency_symbol |
string |
SKU 價格的貨幣展示符號。 |
promotion_model.promotion_product_price.min_price.sale_price_decimal |
string |
SKU 銷售價,以十進制字符串返回。 |
promotion_model.promotion_product_price.min_price.sale_price_format |
string |
SKU 的格式化銷售價格文本。 |
promotion_model.promotion_product_price.min_price.single_product_price_decimal |
string |
商品單件價,以十進制字符串返回。 |
promotion_model.promotion_product_price.min_price.single_product_price_format |
string |
商品單件價的格式化文字。 |
promotion_model.promotion_product_price.min_price.raw_origin_price_decimal |
string |
原價,以十進制字符串返回。 |
promotion_model.promotion_product_price.min_price.raw_origin_price_format |
string |
原價的格式化文字。 |
promotion_model.promotion_product_price.skus_price |
object |
以 SKU 標識作為鍵的價格記錄映射。 |
promotion_model.promotion_product_price.feature |
array |
該價格結構返回的屬性值列表。 |
promotion_model.promotion_product_price.feature[] |
object |
與該價格結構關聯的一項屬性值。 |
promotion_model.promotion_product_price.feature[].property_name |
string |
價格關聯屬性的顯示名稱。 |
promotion_model.promotion_product_price.feature[].property_value |
string |
價格關聯屬性的顯示值。 |
promotion_model.promotion_logistic_list |
array |
嵌套促銷資料返回的配送選項。 |
promotion_model.promotion_logistic_list[] |
object |
促銷資料中的一個配送選項。 |
promotion_model.promotion_logistic_list[].deliveryOption |
integer |
返回的配送選項代碼。 |
promotion_model.promotion_logistic_list[].freeShipping |
boolean |
該配送選項是否標記為免運費。 |
promotion_model.promotion_logistic_list[].deliveryName |
string |
配送選項的顯示名稱。 |
promotion_model.promotion_logistic_list[].shippingFee |
object |
返回的運費信息。 |
promotion_model.promotion_logistic_list[].shippingFee.origin_price |
string |
原始運費文本。 |
promotion_model.promotion_logistic_list[].shippingFee.real_price |
string |
返回的運費文本。 |
promotion_model.promotion_logistic_list[].shippingFee.currency |
string |
運費的貨幣代碼。 |
promotion_model.promotion_logistic_list[].shippingFee.real_price_desc |
string |
用於說明運費的展示文字。 |
review_model |
object |
較早回應結構中的評價摘要。 |
review_model.product_overall_score |
integer |
返回的商品綜合評價分數。 |
review_model.product_review_count |
string |
商品評價數量文本。 |
seller_model |
object |
較早回應結構中的賣家資料。 |
seller_model.shop_name |
string |
店鋪的公開顯示名稱。 |
seller_model.shop_logo |
object |
公開的店鋪標誌圖片。 |
seller_model.shop_logo.height |
integer |
圖片高度,單位為像素。 |
seller_model.shop_logo.width |
integer |
圖片寬度,單位為像素。 |
seller_model.shop_logo.uri |
string |
圖片引用標識。 |
seller_model.shop_logo.url_list |
array |
該圖片資源返回的連結列表。 |
seller_model.shop_logo.url_list[] |
string |
該圖片資源的一個連結。 |
availability_model |
object |
較早回應結構中的可售狀態信息。 |
availability_model.reason |
integer |
返回的可售狀態原因代碼。 |
base_resp |
object |
較早回應結構中的狀態信息。 |
base_resp.StatusCode |
integer |
嵌套商品回應的狀態碼。 |
base_resp.StatusMessage |
string |
嵌套商品回應的狀態說明。 |