Get the product handling log
GET/catalog/product/log/Via 360: GET https://partner.quantri360.com/v1/tiktok_business/catalog/product/log/
Description
Use this endpoint to check if the products are uploaded or deleted successfully, and what to do if the upload or deletion fails.
Request
Endpoint
GET https://partner.quantri360.com/v1/tiktok_business/catalog/product/log/
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 | 7000000000000000001 | Tài sản TikTok Business đã kết nối — "Mã tài sản" ở trang Nền tảng hoặc GET /v1/platforms (tài khoản quảng cáo cho Marketing API, tài khoản TikTok cho Organic / Messaging). Có thể bỏ khi chỉ kết nối một tài sản. |
Request parameters
| Name | In | Type | Required | Sample | Description |
|---|---|---|---|---|---|
| bc_id | query | string | Yes | Business Center ID. | |
| catalog_id | query | string | Yes | Catalog ID. | |
| feed_log_id | query | string | Yes | Product handling ID. | |
| language | query | string | No | Supported languages.
- en: English
- zh-CN: Chinese
- ja-JP: Japanese
- de: German
- es: Spanish
- fr: French
- hi-IN: Hindi (India)
- id: Indonesian
- it: Italian
- ko: Korean
- ms: Malay
- ru: Russian
- th: Thai
- tr: Turkish
- vi: Vietnamese
Default value: en. |
Request examples
curl -s "https://partner.quantri360.com/v1/tiktok_business/catalog/product/log/?bc_id=&catalog_id=&feed_log_id=" \ -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_business/catalog/product/log/",
params={
"bc_id": "",
"catalog_id": "",
"feed_log_id": ""
},
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_business/catalog/product/log/');
for (const [k, v] of Object.entries({"bc_id":"","catalog_id":"","feed_log_id":""})) 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_business/catalog/product/log/' . '?' . http_build_query(['bc_id' => '', 'catalog_id' => '', 'feed_log_id' => '']); $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 Business)
| Name | Type | Sample | Description |
|---|---|---|---|
| code | number | Return code, see Appendix - Return code. | |
| message | string | Return message, see Appendix-Return message. | |
| request_id | string | The log id of a request, which uniquely identifies the request. | |
| data | object | Returned data. | |
| product_feed_log | object | Product handling results. | |
| catalog_id | string | Catalog ID. | |
| feed_id | string | Feeds ID. | |
| add_count | number | Total number of new items. | |
| update_count | number | Total number of items modified. | |
| delete_count | number | Total number of items deleted. | |
| error_count | number | Number of errors. | |
| warn_count | number | Number of warnings. | |
| process_status | string | Processing status. Enum values: - `WAITING`: On hold and waiting for other tasks to complete. - `PROCESSING`: In progress. - `SUCCESS`: Succeeded. - `FAILED`: Failed. | |
| update_mode | number | Update mode. Enum values: - `INCREASE`: incremental. - `REPLACE`: full replacement. | |
| start_time | string | Start time. | |
| end_time | string | End time. | |
| feed_log_data | object | Detailed processing information. | |
| download_path | object | File download address with all error/warning messages, key is language, value is file address. | |
| error_affected_products | object[] | Error message. | |
| affected_product_count | number | Number of products affected. | |
| affected_product_item_list | object[] | List of affected items, showing only the first five items. | |
| index | number | Index that identifies the position of the product among the products you uploaded. For example, an index of `2` represents the first product you uploaded through /catalog/product/file/ or /catalog/product/upload/. | |
| title | string | Returned only for products in E-commerce catalogs, entertainment catalogs, Auto-Inventory catalogs, Auto-Model catalogs, or mini series catalogs. The title of the E-commerce, entertainment, Auto-Inventory catalogs, or Auto-Model product, or the name of the short drama series. | |
| sku_id | string | Returned only for products in E-commerce catalogs. A unique ID for the product, such as a SKU. | |
| hotel_id | string | Returned only for products in hotel catalogs. A unique ID for the hotel. | |
| name | string | Returned only for products in hotel catalogs or destination catalogs. The name of the hotel or the destination. | |
| flight_id | string | Returned only for products in flight catalogs. The unique ID specified for the flight. | |
| airline_company | string | Returned only for products in flight catalogs. The name of the airline company operating the flight. | |
| media_title_id | string | Returned only for products in entertainment catalogs. A unique ID for the media title item. | |
| vehicle_id | string | Returned only for products in Auto-Inventory or Auto-Model catalogs. A unique ID for the vehicle. | |
| series_id | string | Returned only for products in mini series catalogs. A unique self-defined ID for the short drama series. | |
| make | string | Returned only for products in Auto-Inventory or Auto-Model catalogs. The make (brand) of the vehicle. | |
| product_url | string | Product link. | |
| description | string | Product description. | |
| value | string | Field value. | |
| field | string | The field with issue. | |
| issue | string | Issue details. | |
| suggestion | string | Suggestions for solving the issue. | |
| warn_affected_products | object[] | Warning message. | |
| affected_product_count | number | Number of products affected. | |
| affected_product_item_list | object[] | List of affected items, showing only the first five items. | |
| index | number | Index that identifies the position of the product among the products you uploaded. For example, an index of `2` represents the first product you uploaded through /catalog/product/file/ or /catalog/product/upload/. | |
| title | string | Returned only for products in E-commerce catalogs, entertainment catalogs, Auto-Inventory catalogs, Auto-Model catalogs, or mini series catalogs. The title of the E-commerce, entertainment, Auto-Inventory catalogs, or Auto-Model product, or the name of the short drama series. | |
| sku_id | string | Returned only for products in E-commerce catalogs. A unique ID for the product, such as a SKU. | |
| hotel_id | string | Returned only for products in hotel catalogs. A unique ID for the hotel. | |
| name | string | Returned only for products in hotel catalogs or destination catalogs. The name of the hotel or the destination. | |
| flight_id | string | Returned only for products in flight catalogs. The unique ID specified for the flight. | |
| airline_company | string | Returned only for products in flight catalogs. The name of the airline company operating the flight. | |
| media_title_id | string | Returned only for products in entertainment catalogs. A unique ID for the media title item. | |
| description | string | Product description. | |
| vehicle_id | string | Returned only for products in Auto-Inventory or Auto-Model catalogs. A unique ID for the vehicle. | |
| series_id | string | Returned only for products in mini series catalogs. A unique self-defined ID for the short drama series. | |
| make | string | Returned only for products in Auto-Inventory or Auto-Model catalogs. The make (brand) of the vehicle. | |
| product_url | string | Product link. | |
| value | string | Field value. | |
| field | string | The field with issue. | |
| issue | string | Issue details. | |
| suggestion | string | Suggestions for solving the issue. |
Response sample
HTTPS/1.1 200 OK
{
"message": "OK",
"code": 0,
"data": {
"product_feed_log": {
"process_status": "SUCCESS",
"update_mode": "INCREASE",
"error_count": 0,
"add_count": 0,
"feeds_id": 2335,
"warn_count": 1,
"delete_count": 0,
"feed_log_data": {
"error_affected_products": null,
"warn_affected_products": [
{
"suggestion": "The \"age_group\" field is using an invalid value. Supported values only include: newborn/infant/toddler/kids/adult",
"issue": "Invalid value: age_group",
"field": "age_group",
"affected_product_count": 1,
"affected_product_item_list": [
{
"index": 3,
"sku_id": "tiktok_item_12424",
"description": "qgs test product description",
"title": "qgs test product",
"value": "None",
"product_url": "https://ads.tiktok.com"
}
]
},
{
"suggestion": "The \"gender\" field is using an invalid value. Supported values only include: male/female/unisex",
"issue": "Invalid value: gender",
"field": "gender",
"affected_product_count": 1,
"affected_product_item_list": [
{
"index": 3,
"sku_id": "tiktok_item_12424",
"description": "qgs test product description",
"title": "qgs test product",
"value": "None",
"product_url": "https://ads.tiktok.com"
}
]
}
],
"download_path": {
"ru": "http://tosv.boei18n.byted.org/obj/dpafeed/6865965734837634822_73472_ru.csv",
"fr": "http://tosv.boei18n.byted.org/obj/dpafeed/6865965734837634822_73472_fr.csv",
"en": "http://tosv.boei18n.byted.org/obj/dpafeed/6865965734837634822_73472_en.csv",
"ms": "http://tosv.boei18n.byted.org/obj/dpafeed/6865965734837634822_73472_ms.csv",
"ko": "http://tosv.boei18n.byted.org/obj/dpafeed/6865965734837634822_73472_ko.csv",
"vi": "http://tosv.boei18n.byted.org/obj/dpafeed/6865965734837634822_73472_vi.csv",
"de": "http://tosv.boei18n.byted.org/obj/dpafeed/6865965734837634822_73472_de.csv",
"tr": "http://tosv.boei18n.byted.org/obj/dpafeed/6865965734837634822_73472_tr.csv",
"it": "http://tosv.boei18n.byted.org/obj/dpafeed/6865965734837634822_73472_it.csv",
"zh-CN": "http://tosv.boei18n.byted.org/obj/dpafeed/6865965734837634822_73472_zh-CN.csv",
"hi-IN": "http://tosv.boei18n.byted.org/obj/dpafeed/6865965734837634822_73472_hi-IN.csv",
"th": "http://tosv.boei18n.byted.org/obj/dpafeed/6865965734837634822_73472_th.csv",
"ja-JP": "http://tosv.boei18n.byted.org/obj/dpafeed/6865965734837634822_73472_ja-JP.csv",
"id": "http://tosv.boei18n.byted.org/obj/dpafeed/6865965734837634822_73472_id.csv",
"es": "http://tosv.boei18n.byted.org/obj/dpafeed/6865965734837634822_73472_es.csv"
}
},
"catalog_id": 6865965734837634822,
"update_count": 2,
"start_time": "2020-09-14 05:15:09",
"end_time": "2020-09-14 05:15:09"
}
},
"request_id": "2020091406394701023125321410044"
}
(/code);
Get started
- Sign up for Partner
- Enable a data type of the Ads (Marketing API) group on the platform page
- Create an API key (tick the TikTok Business channel)
- Call it as in the examples above