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

Update Price

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: /product/202309/products/{product_id}/prices/update

#

§2 Method: [POST]

#

§3 Function Description

Update the price of multiple SKUs belonging to a product in the ACTIVATE status and not included in any ongoing promotions. Note: The data response field is always empty as there is no additional response data.


#

§4 Common Parameters

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

Properties Location Type Require Sample Properties description
shop_cipherquerystringYGCP_XF90igAAAABh00qsWgtvOiGFNqyubMt3Use this property to pass shop information in requesting the API. Failure in passing the correct value when requesting the API for cross-border shops will return incorrect response.
Get by API Get Authorization Shop
content-typeheaderstringYapplication/jsonAllowed type: application/json
#

§5 Request Path Parameters

Properties Type Require Sample Properties description
product_idstringY1729592969712207008The product ID generated by TikTok Shop.
#

§6 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.
#

§7 Request Body Parameters

Properties Type Require Sample Properties description
skus[]objectYA list of Stock Keeping Units (SKUs) used to identify distinct variants of the product.
^idstringY1729592969712207013The SKU ID generated by TikTok Shop. One product can contain multiple SKU IDs.

Note:

  • The SKU ID must belong to a product with the ACTIVATE status.
  • If you are updating multiple SKUs, all the SKU IDs must belong to the same product. | ^price |object |Y | |SKU pricing information. | ^^amount |string |N |1.32 |Local sellers/Intra-EU sellers The SKU's local display price shown on the product page before any discounts. Refer to Product Pricing for the allowed price ranges in each market.

Global sellers The SKU's local pre-tax price. This excludes any applicable charges such as cross-border shipping costs, taxes, and other fees, and therefore does not appear on the product page. Refer to Product Pricing for the allowed price ranges in each market.

  • Note: Not applicable for JP and US shops using China warehouses, please use price.sale_price instead. | ^^currency |string |Y |USD |The currency. Possible values based on the region:
  • BRL: Brazil
  • CZK: Czech Republic
  • EUR: France, Germany, Ireland, Italy, Spain, Netherlands, Belgium, Austria, Greece, Portugal
  • GBP: United Kingdom
  • HUF: Hungary
  • IDR: Indonesia
  • JPY: Japan
  • MXN: Mexico
  • MYR: Malaysia
  • PHP: Philippines
  • PLN: Poland
  • SGD: Singapore
  • THB: Thailand
  • USD: United States
  • VND: Vietnam | ^^sale_price |string |N |1.32 |Global sellers The SKU's local display price shown on the product page before any discounts. Refer to Product Pricing for the allowed price ranges in each market.

Note:

  • Applicable only for global sellers.
  • Required for the JP and US shops using China warehouses, optional for others.
  • This is the definitive final price shown on the product page, all other prices will be ignored. | ^list_price |object |N | |The SKU's list price information. This is equivalent to the manufacturer's suggested retail price (MSRP), or the recommended retail price (RRP). Applicable only for the US market.

Note: This value may appear as the strikethrough price on the product page. However, whether the strikethrough price is shown and the amount shown are subject to the audit team's review and decision based on various pricing information. | ^^amount |string |Y |1 |The price amount. Valid range: [0.01, 7600] Note:

  • The value must be equal to or greater than skus.price.amount. Otherwise, it will be discarded.
  • If the value is verified to be legitimate by the audit team, it will be stored and returned in the Get Product API. | ^^currency |string |Y |USD |The currency. Possible values: USD | ^external_list_prices |[]object |N | |The SKU list price (e.g. MSRP, RRP) or original price information on external ecommerce platforms. Applicable only for selected sellers in the US market.

Note: This value may appear as the strikethrough price on the product page. However, whether the strikethrough price is shown and the amount shown are subject to the audit team's review and decision based on various pricing information. | ^^source |string |Y |SHOPIFY_COMPARE_AT_PRICE |The external ecommerce platform from which the price is sourced. Possible values:

  • SHOPIFY_COMPARE_AT_PRICE: The compare_at_price in Shopify. | ^^amount |string |Y |1 |The price amount. Valid range: [0.01, 7600] | ^^currency |string |Y |USD |The currency. Possible values: USD |
#

§8 Request Sample

Query

https://open-api.tiktokglobalshop.com/product/202309/products/1729592969712207008/prices/update?app_key=123abc&sign=5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8c&timestamp=1625484268&shop_cipher=ROW_RHkDDABBAAB8tKAVoAqsMTjsQZFLyNfY

Body

{"skus":[{"id":"1729592969712207013","price":{"amount":"1.32","currency":"USD","sale_price":"1.32"},"list_price":{"amount":"1","currency":"USD"},"external_list_prices":[{"source":"SHOPIFY_COMPARE_AT_PRICE","amount":"1","currency":"USD"}]}]}
#

§9 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
#

§10 Response Sample

{"code":0,"data":{},"message":"Success","request_id":"202203070749000101890810281E8C70B7"}
#

§11 Error Code

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

Code Message
12019022SKU must contain a valid warehouse.
12019045price is locked
12019059seller sku is invalid
12019113product status is invalid
12052012Incorrect price format
12052023Category does not exist
12052032The product does not exist
12052038Product price locked due to ongoing promotion.
12052048You cannot edit the specified product(s) as it isn't listed in your account or shop.
12052073The product price is invalid
12052084The provided currency is not available for this shop/region.
12052092product sale price is invalid
12052096Unable to update the price for SKUs with no warehouse. Assign a warehouse and try again.
12052097The warehouse does not exist
12052163The gift product are not allowed to be edited
12052260The product ID does not exist
12052308There's an ongoing appeal. If you wish to edit product details, please revoke the appeal first.
12052371Auction product is bidding when it is not supported to change product info
12052376list price not support
12052383product list price exceed limit
12052424Missing 'sale price' value
12052531The warehouse is disabled.
12052553Sku id duplicate
12052557The SKU ID does not belong to the product.
12052570product price exceed limit
12052572the sale price is invalid
12052700The seller is inactive.
12052703Invalid seller tax number
12052704seller id not exist
12052861The price of combined SKU cannot exceed the sum of the prices of the sub-SKUs.
12052881identity internal error
36009003Internal error. Please try again. If the issue persists after multiple attempts, please contact platform support.
12052901The product in its current status is not available for this operation. Change the product status and try again.
12052902The SKU list is empty. Either omit the list entirely, or provide all required details.
12052910Invalid input parameters. Refer to the API documentation for details.
#