快工助手跨境电商知识与商机助手

Creator Search Open Collaboration Product

TikTok Shop 官方资料 · TikTok Shop Partner Center 开发者文档 · 适合开发者

stable本次发布有变化全部展示

来自 TikTok Shop 官方资料快照 ·

打开官方原文 ↗
  1. 当前资料结构化阅读页
  2. 固定快照已留存,可追溯
  3. 官方原文可核对
查看技术与溯源信息
平台 / profile
TikTok Shop / profile.tiktok.docs_api
语言
en-US
发布版本
cn-20260909-2
标签
zhuge/sourceplatform/tiktok_shopaudience/developercategory/api_doctopic/compliancetopic/developer

资料正文

§1 Path: /affiliate_creator/202405/open_collaborations/products/search

#

§2 Method: [POST]

#

§3 Function Description

This API is used to search the information of products with open collaboration by category, commission rate, and keywords. It will return all products on the TikTok Shop Affiliate Product Marketplace that are in an open collaboration. Creators can only search for open collaboration within the regions they are registered in the affiliate.


#

§4 Common Parameters

For common parameters, refer to How to call TikTok Shop APIs - Common Parameters

Properties Location Type Require Sample Properties description
content-typeheaderstringYapplication/jsonAllowed type: application/json
#

§5 Request Query Parameters

Properties Type Require Sample Properties description
app_keystringY38abcdEvery single app will have a unique key. Please use the specific key assigned to your app.
signstringY5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8cSignature generated by gen algorithm. When you send API requests to TTS, you must sign them so that TTS can identify the senders.
timestampintY1623812664Unix timestamp GMT (UTC+00:00). This timestamp is used across all API requests. Developers can use this convert to local time.
page_tokenstringNb2Zmc2V0PTAKPagination offset determines where you begin to search for. It's empty when raise your first request.
page_sizeintY20The value of "page_size" must be greater than 0 and less than or equal to 20.
sort_fieldstringNcommission_rateThe returned results are sorted by the specified field.

Possible values:

  • commission_rate
  • product_sales_price
  • commission
  • units_sold

Specify the sort order using the sort_order parameter. | sort_order |string |N |DESC |The sort order for the objects in the response. Default: ASC Possible values:

  • ASC: Ascending order
  • DESC: Descending order |
#

§6 Request Body Parameters

Properties Type Require Sample Properties description
title_keywords[]stringN["Men", "Fashion"," Sports Short"]A list of product keywords for searching. Product titles, or names, are loosely matched. Keywords in the list form a query and the resulting set of matching product names is based on the conjunctive operator AND between each keyword. For example, the keyword list ["Men", "Fashion"] creates a query "Men" AND "Fashion" and the resulting set of matching product names contains the loosely matched conjuction of "Men" and "Fashion" such as "Male Fashionable". Maximum length of the list is 20 keywords. Maximum keyword string length is 255 characters.
sales_price_rangeobjectNRestricts the products in the search results to those with prices greater than or equal to the expressed minimum price and less than the expressed maximum price.
^amount_gestringN12.44The product price must be greater than this value in order to be included in the search results. The value must be greater than 0.
^amount_ltstringN100The product price must be greater than this value in order to be included in the search results. The value must be greater than 0. No upper bound is set if this property is not included.
categoryobjectNRestricts the products in the search results to those that are associated with the expressed product category.
^idstringN341234The category identifier. Note that only first-level categories are supported.
commission_rate_rangeobjectNThe commission rate of the searched product needs to be limited within this range.
^rate_geintN100The commission rate must be greater than this value in order to be included in the search results. The commission rate is expressed in hundredths of a percent. For example, 3587 is a commission rate of 35.87%. This value must a minimum of 1000.
^rate_ltintN8000The commission rate must be less than this value in order to be included in the search results. The commission rate is expressed in hundredths of a percent. For example, 3587 is a commission rate of 35.87%. This value must a minimum of 1000.
#

§7 Request Sample

Query

https://open-api.tiktokglobalshop.com/affiliate_creator/202405/open_collaborations/products/search?app_key=123abc&sign=5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8c&timestamp=1625484268&page_token=b2Zmc2V0PTAK&page_size=20&sort_field=commission_rate&sort_order=DESC

Body

{"title_keywords":["Men","Fashion"," Sports Short"],"sales_price_range":{"amount_ge":"12.44","amount_lt":"100"},"category":{"id":"341234"},"commission_rate_range":{"rate_ge":100,"rate_lt":8000}}
#

§8 Response Parameters

Properties Type Sample Properties description
codeint0The success or failure status code returned in API response.
messagestringSuccessThe success or failure messages returned in API response. Reasons of failure will be described in the message.
request_idstring202203070749000101890810281E8C70B7Request log
dataobjectSpecific return information
^products[]objectA list of products.
^^shopobjectData and metadata associated with the Seller's TikTok Shop.
^^^namestringTest shopThe TikTok Shop name.
^^idstring1729432087292775344The product identifier.
^^has_inventoryboolfalseSet to true if there are more than zero units of the product in inventory. Set to false if there are zero units in inventory.
^^units_soldint12123Total number of units sold. Units are indexed to SKU. Note that if the creator has not given permission for precise data sharing, this property will not be present.
^^titlestringBlue t-shirtThe product name.
^^sale_regionstringIDThe region where the product is offered for sale.
^^main_image_urlstringhttps://p16-oec-va.ibyteimg.com/tos-maliva-i-o3syd03w52-us/fa0387fa5a204dcfa44d5be75877a163~tplv-o3syd03w52-origin-webp.webp?from=3478900499The product image URL.
^^detail_linkstringhttps://shop.tiktok.com/view/product/1729624807198591373?region=ID&local=enThe URL for the product's detail page.
^^original_priceobjectThe original price of the product.
^^^currencystringUSDThe currency code.
^^^minimum_amountstring12.21The lowest original price of all SKUs of the product.
^^^maximum_amountstring100.00The highest original price of all SKUs of the product.
^^category_chains[]objectA list of categories associated with the product. Maximum length of the list is 3 categories.
^^^idstring343554The category identifier.
^^^local_namestringCOMPUTERThe name of the product in the category.
^^^is_leafboolfalseSet to true if this category is a leaf node. Set to false if not.
^^^parent_idstring341182The category identifier of the parent category.
^^commissionobjectMetadata and data associated with the commission rates for the product.
^^^rateint3000The commission rate in hundredths of a percent. For example, 3587 is a commission rate of 35.87%. This value must a minimum of 1000. The range of this value is [100, 8000].
^^^currencystringUSDThe currency code.
^^^amountstring121.32The commission amount.
^^sales_priceobjectMetadata and data associated with the sale price of the product
^^^currencystringUSDThe currency code.
^^^minimum_amountstring34.3The lowest promotion price of all SKUs of this product.
^^^maximum_amountstring55.7The highest promotion price of all SKUs of this product.
^next_page_tokenstringb2Zmc2V0PTEwAn opaque token used to retrieve the next page of a paginated result set.
^total_countint10000Total count of products meeting the search criteria expressed in the request body.
#

§9 Response Sample

{"code":0,"data":{"products":[{"shop":{"name":"Test shop"},"id":"1729432087292775344","has_inventory":false,"units_sold":12123,"title":"Blue t-shirt","sale_region":"ID","main_image_url":"https://p16-oec-va.ibyteimg.com/tos-maliva-i-o3syd03w52-us/fa0387fa5a204dcfa44d5be75877a163~tplv-o3syd03w52-origin-webp.webp?from=3478900499","detail_link":"https://shop.tiktok.com/view/product/1729624807198591373?region=ID\u0026local=en","original_price":{"currency":"USD","minimum_amount":"12.21","maximum_amount":"100.00"},"category_chains":[{"id":"343554","local_name":"COMPUTER","is_leaf":false,"parent_id":"341182"}],"commission":{"rate":3000,"currency":"USD","amount":"121.32"},"sales_price":{"currency":"USD","minimum_amount":"34.3","maximum_amount":"55.7"}}],"next_page_token":"b2Zmc2V0PTEw","total_count":10000},"message":"Success","request_id":"202203070749000101890810281E8C70B7"}
#

§10 Error Code

For common error codes, refer to How to call TikTok Shop APIs - Common Error Code

Code Message
#