Chuyển tới nội dung chính

POST Tạo Global Product

Tạo Global Product Seller Scope yêu cầu: seller.global_product.write Tạo global products để bán tại một hoặc nhiều shop bên ngoài quốc gia gốc của seller. Bạn chỉ có thể tạo global products trong các danh mục sản phẩm AVAILABLE. Đối với các danh mục khác, hãy liên hệ account manager của bạn để được hỗ trợ. Sau khi tạo sản phẩm, sử dụng Publish Global Product API

để publish và dịch sản phẩm tại các thị trường mong muốn. Khái niệm chính: Global products là các sản phẩm được tạo bởi seller xuyên biên giới để bán tại các shop bên ngoài quốc gia gốc của họ. Với global products, các seller xuyên biên giới hoạt động trên nhiều thị trường có thể tránh việc tạo cùng một sản phẩm cho từng shop riêng lẻ. Thay vào đó, họ chỉ cần tạo một global product duy nhất, sản phẩm này có thể được publish và đồng bộ tới tất cả các shop của họ, đơn giản hóa việc quản lý sản phẩm trên các thị trường. Lưu ý:

  • API này chỉ áp dụng cho các seller nội bộ EU và global sellers. Để tạo và đăng các local products dự định bán độc quyền tại các local shop, hãy sử dụng Create Product API

thay thế.

  • Có thể có giới hạn về số lượng sản phẩm bạn có thể đăng mỗi ngày. Chúng tôi khuyến nghị ưu tiên tạo các sản phẩm chính trước để đảm bảo chúng được publish. Bạn có thể tìm giới hạn đăng sản phẩm của mình trên trang chủ Seller Center.
  • Ngôn ngữ được sử dụng trong nội dung sản phẩm phải phù hợp với ngôn ngữ của thị trường mục tiêu (ví dụ: không sử dụng tiếng Trung), nếu không việc đăng sản phẩm sẽ thất bại hoặc bị từ chối. Version 202309

POST/product/202309/global_products

Request

Header

PropertiesTypeDescription
content-type RequiredstringLoại được phép: application/json
x-tts-access-token RequiredstringGiá trị seller access_token từ Get Access Token, khi user_type = 0. Làm theo hướng dẫn này để lấy seller access_token.

Query

PropertiesTypeDescription
app_key RequiredstringMỗi app sẽ có một key riêng. Vui lòng sử dụng key cụ thể được gán cho app của bạn.
sign RequiredstringChữ ký được tạo bởi thuật toán gen. Khi bạn gửi các API request tới TTS, bạn phải ký chúng để TTS có thể nhận diện người gửi.
timestamp RequiredintUnix timestamp GMT (UTC+00:00). Timestamp này được sử dụng trên tất cả các API request. Developers có thể sử dụng nó để chuyển đổi sang giờ địa phương.

Body

PropertiesTypeDescription
title RequiredstringTiêu đề sản phẩm. Độ dài tiêu đề:- DE, ES, FR, IE, IT, JP, UK, US: [1, 255] - MX:[1,300] - Các khu vực khác: [25, 255]
description RequiredstringMô tả sản phẩm ở định dạng HTML.Lưu ý:- Nội dung phải tuân theo cú pháp HTML. Tất cả các HTML tag đều được chấp nhận nhưng để tối ưu hiển thị trên trang chi tiết sản phẩm TikTok Shop, hệ thống sẽ tự động chuyển đổi một số tag thành các định dạng thay thế, chẳng hạn như render các tag thành hình ảnh.- Độ dài tối đa: 10,000 ký tự.- Hướng dẫn về hình ảnh: Bạn phải sử dụng URL hình ảnh TikTok Shop. Tối đa 30 tag, mỗi tag dưới 4000px với các thuộc tính src, width, và height.Khuyến nghị: - Nếu bạn đang đồng bộ một mô tả có sẵn từ nền tảng khác, hãy bao gồm toàn bộ HTML source description ở đây.- Cung cấp mô tả chi tiết, lý tưởng là trên 300 ký tự.- Bao gồm 3-5 điểm bán hàng chính, mỗi điểm dưới 250 ký tự, kèm hình ảnh minh họa.- Sử dụng kích thước 1600x1600 px cho hình ảnh.
category_id RequiredstringID của danh mục của sản phẩm này. - Nó phải là một leaf category tương ứng với loại cây danh mục được chỉ định trong thuộc tính category_version. - Nó phải là một main category (categories.permission_statuses=AVAILABLE trong Get Global Categories API).Lưu ý: Tham khảo TikTok Shop Academy để biết thông tin về các hạn chế danh mục sản phẩm.
brand_idstringID của brand của sản phẩm này. Lưu ý: Các brand chưa được ủy quyền sẽ không được hiển thị trên TikTok Shop.
main_images Required[]objectDanh sách hình ảnh để hiển thị trong thư viện hình ảnh sản phẩm.- Số lượng tối đa: 9- Sắp xếp các image URI của bạn theo thứ tự chúng nên xuất hiện trên TikTok Shop.- Kích thước hình ảnh: [300x300 px, 4000x4000 px] Khuyến nghị:- Sử dụng tối thiểu 5 hình ảnh.- Hình ảnh đầu tiên nên có nền trắng. Sử dụng Optimize Images API để đổi nền sang trắng.
skus Required[]objectDanh sách global Stock Keeping Units (SKUs) được dùng để xác định các variant riêng biệt của sản phẩm.Lưu ý:- SKU tối đa cho EU, JP, UK, US: 300- SKU tối đa cho các khu vực khác: 100Khuyến nghị: Đặt variant quan trọng nhất ở đầu mảng.
package_weight RequiredobjectTrọng lượng của package sản phẩm.Lưu ý:- Cung cấp trọng lượng đo sau khi đóng gói sản phẩm.- Giá trị này ảnh hưởng đến chi phí vận chuyển, do đó điều quan trọng là phải đảm bảo các phép đo chính xác. Bất kỳ sai lệch nào cũng có thể dẫn đến phí vận chuyển bổ sung.- Trọng lượng package sẽ được ưu tiên hơn kích thước package trong tính phí nếu phí dựa trên trọng lượng cao hơn.
certifications[]objectDanh sách các certifications cho sản phẩm của bạn.Số lượng tối đa: 10Theo hướng dẫn của TikTok Shop, certifications là bắt buộc đối với một số danh mục sản phẩm bị hạn chế. Lấy các yêu cầu certification cho sản phẩm của bạn từ Get Global Category Rules API. Tham khảo Chính sách Sản phẩm Bị hạn chế của TikTok Shop để biết thông tin về các hạn chế danh mục sản phẩm.
package_dimensionsobjectKích thước của package sản phẩm.Lưu ý:- Cung cấp kích thước đo sau khi đóng gói sản phẩm.- Các giá trị này ảnh hưởng đến chi phí vận chuyển, do đó điều quan trọng là phải đảm bảo kích thước chính xác. Bất kỳ sai lệch nào cũng có thể dẫn đến phí vận chuyển bổ sung.
product_attributes[]objectDanh sách các thuộc tính chung (ví dụ: nhà sản xuất, quốc gia xuất xứ, vật liệu sử dụng) mô tả sản phẩm như một tổng thể, bất kể variant.Quan trọng: Các thuộc tính có thể sử dụng được hệ thống xác định dựa trên danh mục được gán cho sản phẩm, một số là bắt buộc. Bạn phải cung cấp các product attributes được đánh dấu là is_required trong response của Get Global Attributes API.
size_chartobjectChi tiết số đo của sản phẩm để giúp người mua tìm đúng size.Lưu ý: - Đối với một số danh mục sản phẩm, size charts có thể là bắt buộc hoặc không được hỗ trợ. Sử dụng Get Global Category Rules API để kiểm tra các yêu cầu.- Nếu size charts không được hỗ trợ, ngay cả khi bạn cung cấp size chart ở đây, size chart sẽ không được lưu.- Cung cấp hoặc một ID template size chart của TikTok Shop hoặc một hình ảnh size chart; nếu cả hai đều được cung cấp, ID sẽ được ưu tiên.
videoobjectMột video giới thiệu hoặc quảng bá sản phẩm để hiển thị cho sản phẩm của bạn.Khuyến nghị:- Tỷ lệ khung hình: 1:1 - Độ phân giải: HD 720p hoặc cao hơn- Thời lượng: 20 - 60 giây
manufacturerobject(Deprecated: Trường này đã bị deprecated và sẽ bị loại bỏ trong một API version trong tương lai. Sử dụng manufacturer_ids thay thế.)Chi tiết của nhà sản xuất sản phẩm.Lưu ý: Bạn phải điền tất cả các thuộc tính lồng nhau để thông tin nhà sản xuất hợp lệ.
category_versionstringLọc các danh mục theo phiên bản cây danh mục.Các giá trị có thể có theo khu vực:- US, EU và SEA: v2, đại diện cho cây danh mục 7 cấp. Quan trọng: Đối với các shop US, EU và SEA, bạn phải truyền v2 khi sử dụng API này.- Các khu vực khác: v1, đại diện cho cây danh mục 3 cấp.Mặc định: v1
responsible_person_ids[]stringDanh sách các responsible person ID cách nhau bằng dấu phẩy. Lấy các ID từ Search Responsible Persons API.Lưu ý: Chỉ áp dụng cho thị trường EU trong một số danh mục nhất định. Sử dụng Get Global Category Rules API để kiểm tra các yêu cầu.
manufacturer_ids[]stringDanh sách các manufacturer ID cách nhau bằng dấu phẩy. Lấy các ID từ Search Manufacturers API.Lưu ý: Chỉ áp dụng cho thị trường EU trong một số danh mục nhất định. Sử dụng Get Global Category Rules API để kiểm tra các yêu cầu.
source_localestringCác mã locale BCP-47 để hiển thị thông tin danh mục.Mặc định: Locale mặc định của shop của bạn.Các giá trị có thể có:- cs-CZ- de-AT- de-BE- de-DE- el-GR- en-GB- en-IE- en-US- es-ES- es-MX- fr-FR- fr-BE- hu-HU- id-ID- it-IT- ja-JP- ms-MY- nl-NL- nl-BE- pl-PL- pt-BR- pt-PT- th-TH- vi-VN- zh-CN
external_global_product_idstringMột định danh bên ngoài được sử dụng trong một nền tảng thương mại điện tử bên ngoài. Nó được dùng để liên kết global product giữa TikTok Shop và nền tảng thương mại điện tử bên ngoài. Độ dài tối đa: 999 ký tự

Example

CurlGoNode.jsJavaEnable word wrap

Response Parameters

PropertiesTypeDescription
codeintMã trạng thái thành công hoặc thất bại được trả về trong API response.
messagestringCác thông báo thành công hoặc thất bại được trả về trong API response. Lý do thất bại sẽ được mô tả trong message.
request_idstringRequest log
dataobjectThông tin trả về cụ thể

Example

JSONEnable word wrap

Error Code

View common error codes

| Code | Message | | --- | --- | | 36009003 | Internal error. Please try again. If the issue persists after multiple attempts, please contact platform support. | | 12019006 | product description is invalid | | 12019011 | product package weight is invalid | | 12019013 | brand id is invalid | | 12019030 | property is invalid | | 12019064 | No matching categories. Provide the full name of your product, edit its product properties, and try again. | | 12019117 | Missing variations (sales attributes). When there are multiple SKUs in a product, each SKU must include variation (sales attribute) details that explain how it is different from other SKUs in the product. | | 12052012 | Incorrect price format | | 12052013 | The product description cannot exceed maximum characters | | 12052015 | The product description is required | | 12052016 | The parcel weight is required | | 12052023 | Category does not exist | | 12052024 | Category is not final category | | 12052026 | Brand does not exist | | 12052028 | Main product image is required | | 12052048 | You cannot edit the specified product(s) as it isn't listed in your account or shop. | | 12052050 | A single product cannot have more than 100 different SKUs | | 12052051 | The product name exceed max limit characters | | 12052054 | The seller SKU text length cannot exceed max limit characters | | 12052055 | The SKU inventory quantity for the warehouse must be within allowed limits. | | 12052056 | The num of image in description cannot exceed max limit | | 12052073 | The product price is invalid | | 12052084 | The provided currency is not available for this shop/region. | | 12052096 | Unable to update the price for SKUs with no warehouse. Assign a warehouse and try again. | | 12052104 | property is required | | 12052105 | required qualification miss | | 12052116 | product package size is invalid | | 12052128 | Size chart not found | | 12052142 | no permission of multi global warehouse | | 12052143 | sku warehouse must equal | | 12052200 | brand is expired | | 12052201 | You are not authorized to sell this brand in this category. To do so, apply through the Qualification Center in Seller Center. | | 12052208 | A brand authorization is required to publish this listing. | | 12052217 | All region shops must use V2 categories. Check the documentation for further details. | | 12052220 | This category is prohibited or unsupported on TikTok Shop. Select another category. | | 12052221 | Only whitelisted sellers are permitted to trade under current category | | 12052222 | category do not support cod | | 12052225 | You are not authorized to sell in this category because it does not fall under your shop's main category. Contact your account manager for help or select another category. | | 12052226 | This category is restricted. To sell in this category, apply through the Qualification Center in Seller Center. | | 12052227 | the category is unauthorized or unavailable | | 12052230 | Category version and categoryID are not matched. | | 12052240 | Do not support custom property. | | 12052241 | attribute name or attribute id is empty. | | 12052242 | The attribute name characters cannot exceed max_limit | | 12052243 | The product attribute or sale attribute name characters contain Chinese. | | 12052244 | The attribute name duplicate. | | 12052245 | The product attributes contained invalid characters. Please modify and re-submit. | | 12052246 | The {{property_type}} not support multi selected, attribute id is :{{property_id}}. | | 12052247 | Do not support custom product attribute. | | 12052248 | The {{property_type}} value name or attribute value id is empty. | | 12052249 | The {{property_type}} value name characters cannot exceed {{max_limit}}, attribute value name is :{{property_value_name}}. | | 12052250 | The {{property_type}} value name characters contain Chinese. | | 12052251 | Duplicated attribute values found for an attribute. Remove or modify the duplicated value. | | 12052254 | Duplicate attribute id | | 12052260 | The product ID does not exist | | 12052261 | product name is empty | | 12052262 | Chinese characters are not supported in product name | | 12052266 | The product name contains non-English characters. | | 12052282 | Product manufacturer is required. | | 12052285 | Manufacturer ID {{manufacturer_id}} is not associated with the seller | | 12052287 | Product responsible person is required | | 12052288 | The number of responsible person ids cannot exceed {{max_limit}}, and cannot less {{min_limit}}. | | 12052290 | Responsible person ID {{rp_id}} is not associated with the seller | | 12052293 | When identifier code is not filled in, extra identification code is not allowed to be filled in. | | 12052295 | Duplicate manufacturer IDs associated with the same product | | 12052296 | Duplicate responsible person IDs associated with the same product | | 12052300 | product main image uri illegal | | 12052301 | Width and length of main image must be at least {{min_limit}}, check uri {{uri}} | | 12052302 | The main images size exceed limit. | | 12052304 | Main product image format not support. | | 12052305 | The main images aspect ratio cannot exceed max limit. | | 12052306 | main product images count exceed limit | | 12052324 | Product description image file format is not supported | | 12052340 | product description image uri illegal | | 12052341 | The description images size cannot exceed limit. | | 12052342 | The description images space cannot exceed limit. | | 12052343 | Product description image format not support. | | 12052344 | The product description html syntax with error | | 12052345 | The product description html tag not support. | | 12052346 | The product description has Chinese characters | | 12052348 | The product description html tag required attribute is miss. | | 12052349 | The product description html tag not support nest. | | 12052350 | The product description html tag contain illegal attribute. | | 12052351 | The product description contains non-English characters. | | 12052352 | The product description nest exceeding limit | | 12052360 | The video id is not exist. | | 12052401 | package weight exceed limit. | | 12052520 | product sale property image uri illegal | | 12052521 | The sale property images size over limit. | | 12052522 | Product sale property image is required | | 12052523 | Product sale property image format not support. | | 12052524 | The sale property image aspect ratio invalid | | 12052525 | The attribute max num cannot exceed 3. | | 12052526 | The attribute value max num over limit. | | 12052527 | The sale attribute id not exist. | | 12052528 | You can add images to only 1 product variation, which will serve as the primary variation for display in the product options gallery. | | 12052529 | The property value id not exist. | | 12052530 | The warehouse ' {{warehouse ID}} ' does not belong to this shop/seller. | | 12052531 | The warehouse is disabled. | | 12052550 | SKU property must contain all properties | | 12052554 | sku name contain Chinese characters | | 12052570 | product price exceed limit | | 12052574 | unit price config is invalid | | 12052591 | Invalid number of digits of identifier code | | 12052592 | Identifier code already entered, cannot enter the same code twice | | 12052598 | Only the last digit supports input X | | 12052600 | The identifier code type must be selected | | 12052650 | product qualification image uri illegal | | 12052656 | qualification id duplicate | | 12052657 | qualification image and pdf file is out of limit. | | 12052670 | The size chart image URI is invalid. Note: API users must use the URI generated by the Upload Product Image API. | | 12052671 | The sizechart images size over limit. | | 12052673 | Product sizechart image is required | | 12052700 | The seller is inactive. | | 12052701 | do not support cross-boarder seller create local product directly | | 12052702 | seller does not support pre-order | | 12052703 | Invalid seller tax number | | 12052704 | seller id not exist | | 12052910 | Invalid input parameters. Refer to the API documentation for details. |

Nội dung này có hữu ích không?Hữu ích

Không hữu ích

PreviousNext