来自 TikTok Shop 官方资料快照 ·
- 当前资料结构化阅读页
- 固定快照已留存,可追溯
- 官方原文可核对
资料正文
§1 Path: /product/202509/global_products/{global_product_id}/partial_edit
#§2 Method: [PUT]
#§3 Function Description
Description of [POST]/product/:version/Partial_Edit_Global_Product
§4 Common Parameters
For common parameters, refer to How to call TikTok Shop APIs - Common Parameters
| Properties | Location | Type | Require | Sample | Properties description |
|---|---|---|---|---|---|
| content-type | header | string | Y | application/json | Allowed type: application/json |
§5 Request Path Parameters
| Properties | Type | Require | Sample | Properties description |
|---|---|---|---|---|
| global_product_id | string | Y | 1729592969712207008 | The global product ID generated by TikTok Shop. |
§6 Request Query Parameters
| Properties | Type | Require | Sample | Properties description |
|---|---|---|---|---|
| app_key | string | Y | 38abcd | Every single app will have a unique key. Please use the specific key assigned to your app. |
| sign | string | Y | 5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8c | Signature generated by gen algorithm. When you send API requests to TTS, you must sign them so that TTS can identify the senders. |
| timestamp | int | Y | 1623812664 | Unix 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 |
|---|---|---|---|---|
| title | string | N | Men's Fashion Sports Low Cut Cotton Breathable Ankle Short Boat Invisible Socks | The product title. |
| Title length: |
- DE, ES, FR, IE, IT, JP, UK, US: [1, 255]
- MX:[1,300]
- Other regions: [25, 255] | description |string |N | |The product description in HTML format.
Note:
- The content must conform to the HTML syntax. All HTML tags are accepted but to optimize display on the TikTok Shop product detail page, the system will automatically convert certain tags into alternative formats, such as rendering
<table>tags as images. - Max length: 10,000 characters.
- Image guidelines: You must use TikTok Shop image URLs. Max 30
<img>tags, each under 4000px withsrc,width, andheightattributes.
Recommendations:
- If you are syncing a pre-existing description from another platform, include the full HTML source description here.
- Provide a detailed description, ideally over 300 characters.
- Include 3-5 key selling points, each under 250 characters, with supporting images.
- Use 1600x1600 px for the image dimensions. | category_id |string |N |600001 |The ID of the category of this product.
- It must be a leaf category that corresponds to the category tree type specified in the
category_versionproperty. - It must be a main category (
categories.permission_statuses=AVAILABLEin Get Global Categories API). Note: Refer to TikTok Shop Academy for information on product category restrictions. | brand_id |string |N |7082427311584347905 |The ID of the brand of this product.
Note: Unauthorized brands won't be displayed on TikTok Shop. | main_images |[]object |N | |A list of images to display in the product image gallery.
- Max count: 9
- Arrange your image URIs in the sequence that they should appear on TikTok Shop.
- Image dimensions: [300x300 px, 4000x4000 px]
Recommendations:
- Use a minimum of 5 images.
- The first image should have a white background. Use the Optimize Images API to change the background to white. | ^uri |string |Y |tos-maliva-i-o3syd03w52-us/c668cdf70b7f483c94dbe |The URI of the image. Obtain this URI by uploading the images through the Upload Product Image API with
use_case=MAIN_IMAGE. You can use the returned URI directly, or process it through the Optimize Images API first and use the resulting URI. | skus |[]object |N | |A list of global Stock Keeping Units (SKUs) used to identify distinct variants of the product.
Note:
- Max SKUs for EU, JP, UK, US: 300
- Max SKUs for other regions: 100
Recommendations: Place the most important variant at the beginning of the array. | ^id |string |N |1782427311584347905 |The global SKU ID in TikTok Shop. One product can contain multiple SKU IDs. Note:
- To edit an existing SKU, include its SKU ID.
- Any existing SKU IDs not listed here will result in the deletion of those SKUs. For example, if this product contains 5 SKUs and you only provide 2 SKU IDs, the remaining 3 will be deleted.
- To create new SKUs, leave the SKU ID blank and complete the other fields. | ^global_quantity |int |N |999 |The total SKU inventory quantity across all shops globally.
The inventory for each local shop is automatically calculated when a product is first published. After publishing, this global quantity cannot be manually changed. You can only modify the inventory quantity in each local shop. | ^seller_sku |string |N |Color-Red-XM01 |An internal code/name for managing SKUs, not visible to buyers.
- Valid length: 1-50 characters
- Format: Text without spaces | ^price |object |N | |The SKU's global uniform pre-tax price that serves as the baseline for calculating the local prices across different markets.
Note:
- Upon publishing, this price will be automatically converted to the local pre-tax price and local display price based on market-specific exchange rates and applicable charges such as shipping costs, taxes, and other fees.
- The auto-conversion will exclude JP and US shops using China warehouses. For these shops, please use
sale_pricesinstead. | ^^amount |string |Y |1.32 |The price amount. Max: 99,999,999.99 | ^^currency |string |Y |USD |The currency. Possible values: USD: Applicable for global sellersEUR: Applicable for intra-EU sellers | ^sales_attributes |[]object |N | |A list of attributes (e.g. size, color, length) that define each variant of a product.
Note:
- You must retain at least 1 sales attribute, deleting all existing sales attributes is not allowed.
- You can only have up to 3 types of sales attributes per product.
- Each SKU must include the same number and type of sales attributes. For example, you cannot have one SKU that has only a Color attribute, while another SKU has both Color and Size attributes.
- Provide either a built-in ID or a custom name; if both are provided, the ID takes priority.
- The
id/nameandvalue_id/value_namepairs must be unique in each SKU. For example, you cannot repeat"name": "Color","value_name": "Red"in different SKUs. | ^^id |string |N |100089 |The ID of the sales attribute. This is either a built-in sales attribute ID from the Get Global Attributes API or a custom attribute ID returned after calling [Create Global Product API(https://partner.tiktokshop.com/docv2/page/6509de61bace3e02b7489cba). | ^^name |string |N |Specification |A self-defined custom sales attribute name if the built-in attributes do not satisfy your needs. The system will auto-generate an ID after listing.
Note:
- Do not include sensitive characters.
- Max length: 20 characters | ^^value_id |string |N |1729592969712207000 |The ID of the sales attribute value. This is either a built-in sales attribute value ID from the Get Global Attributes API or a custom sales attribute value ID returned after calling [Create Global Product API(https://partner.tiktokshop.com/docv2/page/6509de61bace3e02b7489cba). | ^^value_name |string |N |XL |A self-defined custom sales attribute value if the built-in values do not satisfy your needs. The system will auto-generate an ID after listing.
Note:
- No duplicates allowed under the same attribute.
- Max length: 50 characters.
- Supports only alphabets and numbers. | ^^sku_img |object |N | |An image to display for the SKU.
You can attach images to only 1 type of sales attribute, and you must attach an image for each value of the chosen attribute. For example, if a product has 2 colors and 3 sizes, you can choose to attach images for either the Color sales attribute or the Size sales attribute. If you choose to attach images for Color, you must attach 2 images, one for each color. |
^^^uri |string |Y |tos-maliva-i-o3syd03w52-us/c668cdf70b7f483c94dbe |The URI of the image.
Obtain this URI by uploading the images through the Upload Product Image API with use_case=ATTRIBUTE_IMAGE. |
^inventory |[]object |N | |SKU inventory information per warehouse.
If multi-warehouse is enabled in Seller Center, you must provide the inventory details for each warehouse.
Max count: 50
Note: global_quantity will not take effect if inventory details are provided for each warehouse. |
^^global_warehouse_id |string |Y |7068517275539719942 |The ID of the global warehouse where the SKU is stored.
Retrieve the list of global warehouses available for the seller from the Get Global Seller Warehouse API. |
^^quantity |int |Y |999 |The SKU quantity available in the warehouse.
Valid range: [1, 99,999] |
^identifier_code |object |N | |A regulated identifier code assigned to a product based on international standardized regulations (e.g. GTIN) to ensure the product is universally identifiable across various platforms and systems.
Note: Editable only if the product is in DRAFT state. Otherwise, changes are not allowed. |
^^code |string |N |10000000000000 |The identifier code.
Format:
- GTIN: 14 digits
- EAN: 8, 13, or 14 digits
- UPC: 12 digits
- ISBN: 13 digits, or 9 digits ending in capital
X - JAN: 8 or 13 digits
Note: The identifier code must be unique for each SKU, with no repetition allowed. | ^^type |string |N |GTIN |The type of identifier code. Possible values:
- GTIN
- EAN
- UPC
- ISBN
- JAN | ^sku_unit_count |string |N |1 |The total quantity/volume of the product represented by the SKU. For example, if the SKU represents 500ml of water, this value would be 500 if the unit type is defined as ml. Valid range: [0.01, 99,999.9999] Applicable only for the EU market.
Note:
- This is mainly used to calculate the unit price of the SKU, and is required only if you wish to display the unit price to facilitate easier price comparisons across different products and packaging sizes.
- Unit price = Selling price/(SKU unit count/base unit count). Therefore if you want to obtain the unit price, you would also need to define the "base unit count" and the "unit type" product attributes. Retrieve the relevant information for these product attributes by using the Get Global Attributes API. The unit price would then be returned in the Get Global Product API. | ^extra_identifier_codes |[]string |N |["12345678901234"] |If the SKU belongs to a virtual bundle (containing multiple individual SKUs), you can add up to 10 additional identifier codes here for the SKUs included in the bundle.
Format:
GTIN: 14 digits
EAN: 8, 13, or 14 digits
UPC: 12 digits
ISBN: 13 digits, or 9 digits ending in capital X
Note:
- Applicable only for the EU market.
- The identifier code must be unique for each SKU, with no repetition allowed. | ^external_global_sku_id |string |N |1234567890 |An external identifier used in an external ecommerce platform. This is used to associate the global SKU between TikTok Shop and the external ecommerce platform. Max length: 999 characters | ^sale_prices |[]object |N | |The SKU's local display price shown on the product page before any discounts.
Note:
- Required for 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. | ^^region |string |Y |US |The market where you want to sync the sale price. Possible values:
- DE: Germany
- ES: Spain
- FR: France
- GB: United Kingdom
- ID: Indonesia
- IE: Ireland
- IT: Italy
- JP: Japan
- MY: Malaysia
- PH: Philippines
- SG: Singapore
- TH: Thailand
- US: United States
- VN: Vietnam | ^^amount |string |Y |100 |The price amount. Refer to Product Pricing for the allowed price ranges in each market. | package_weight |object |N | |The weight of the product package.
Note:
- Provide the weight measured after packing the product.
- This value impacts the shipping cost, so it is important to ensure that the measurements are accurate. Any discrepancies may lead to additional shipping fees.
- The package weight will take precedence over package dimensions in fee calculation if the fee based on weight is higher. | ^value |string |Y |1.99 |The package weight, which must be a positive number with up to 3 decimal places. | ^unit |string |Y |KILOGRAM |The unit for the package weight. Only
KILOGRAMis supported. | certifications |[]object |N | |The list of certifications for your product. Max count: 10
As per TikTok Shop guidelines, certifications are required for certain restricted product categories. Retrieve the certification requirements for your product from the Get Global Category Rules API. Refer to TikTok Shop Restricted Products Policy for information on product category restrictions. |
^id |string |Y |7182427311584347905 |The ID to identify the type of certification required for the product category.
Retrieve this value from the Get Global Category Rules API. |
^images |[]object |N | |A list of certification related images. |
^^uri |string |Y |tos-maliva-i-o3syd03w52-us/c668cdf70b7f483c94dbe |The URI of the image.
Obtain this URI by uploading the images through the Upload Product Image API with use_case=CERTIFICATION_IMAGE. |
^files |[]object |N | |A list of certification related files. |
^^id |string |Y |v09ea0g40000cj91373c77u3mid3g1s0 |The ID of the certification file.
Use the Upload Product File API to upload the files first and obtain the corresponding file ID. |
^^name |string |Y |SNI.PDF |The name of the certification file, including the file extension. |
^^format |string |Y |PDF |The format of the certification file. Only PDF is supported. |
package_dimensions |object |N | |The dimensions of the product package.
Note:
- Provide the dimensions measured after packing the product.
- These values impact the shipping cost, so it is important to ensure that dimensions are accurate. Any discrepancies may lead to additional shipping fees. | ^length |string |Y |10 |The package length. A positive whole number. | ^width |string |Y |10 |The package width. A positive whole number. | ^height |string |Y |10 |The package height. A positive whole number. | ^unit |string |Y |CENTIMETER |The unit for the package dimensions. Only
CENTIMETERis supported. | product_attributes |[]object |N | |A list of general attributes (e.g. manufacturer, country of origin, materials used) that describe the product as a whole, regardless of variant.
Important: The attributes available for use are determined by the system based on the product's assigned category, with some being mandatory. You must provide the product attributes marked as is_required in the response of the Get Global Attributes API. |
^id |string |Y |100392 |The ID of the product attribute, retrieved from the Get Global Attributes API. |
^values |[]object |Y | |A list of selectable values for the product attribute.
Max count: 300 for US; 100 for other regions.
Note: Provide either a built-in ID or a custom name; if both are provided, the ID takes priority. |
^^id |string |N |1001533 |The ID of the product attribute value.
This is either a built-in product attribute value ID from the Get Global Attributes API or a custom product attribute value ID returned after calling [Create Global Product API(https://partner.tiktokshop.com/docv2/page/6509de61bace3e02b7489cba). |
^^name |string |N |Birthday |A self-defined custom product attribute value if the built-in values do not satisfy your needs. The system will auto-generate an ID after listing.
Note:
- No duplicates allowed under the same attribute.
- Max length: 2000 characters
- Supports only alphabets and numbers. | size_chart |object |N | |The measurement details of the product to help buyers find the right size.
Note:
- For certain product categories, size charts may be required or not supported. Use the Get Global Category Rules API to check the requirements.
- If size charts are not supported, even if you provide a size chart here, the size chart will not be saved.
- Provide either a TikTok Shop size chart template ID or a size chart image; if both are provided, the ID takes priority. | ^image |object |N | |An image of the size chart.
Recommendations:
- Resolution: Minimum 1024px on the shorter side
- Content: Include key measurement dimensions (e.g., bust, waist, hips, inseam), the more the better.
- Format: Use a table with distinct columns and row.
- Use only one table per product and image.
- Display each dimension in a separate row.
- Display units in column headers. | ^^uri |string |Y |tos-maliva-i-o3syd03w52-us/c668cdf70b7f483c94dbe |The URI of the size chart image. Obtain this URI by uploading the images through the Upload Product Image API with
use_case=SIZE_CHART_IMAGE. | ^template |object |N | |A TikTok Shop size chart template generated by the size chart tool in Seller Center > Manage Products > Bulk action > Batch manage size charts. | ^^id |string |Y |7267563252536723205 |The size chart template ID. | video |object |N | |A product introduction or promotion video to display for your product.
Recommendations:
- Aspect ratio: 1:1
- Resolution: HD 720p or higher
- Duration: 20 - 60 seconds | ^id |string |Y |v09e40f40000cfu0ovhc77ub7fl97k4w |The ID of the product video. Use the Upload Product File API to upload the video first and obtain the corresponding file ID. | manufacturer |object |N | |(Deprecated: This field is deprecated and will be removed in a future API version. Use
manufacturer_idsinstead.)
The product manufacturer's details. |
^name |string |N |Sample Manufacturer Name |The name of the manufacturer. |
^address |string |N |123W 106th St, New York, NY, USA, 10025 |The address of the manufacturer. |
^phone_number |string |N |+1-2124108036
|The phone number of the manufacturer, prefixed by a plus + symbol.
There must be a space or hyphen between the country code and the local phone number. |
^email |string |N |samplemanufacturer101@outlook.com |The email address of the manufacturer. |
manufacturer_ids |[]string |N |["67726293bf1eb1e92401a"] |A comma-delimited list of manufacturer IDs. Retrieve the IDs from the Search Manufacturers API.
Default: The IDs provided when the global product was created.
Note: Applicable only for the EU market in certain categories. Use the Get Global Category Rules API to check the requirements. |
responsible_person_ids |[]string |N |["67726293bf1eb1e92401a"] |A comma-delimited list of responsible person IDs. Retrieve the IDs from the Search Responsible Persons API.
Default: The IDs provided when the global product was created.
Note: Applicable only for the EU market in certain categories. Use the Get Global Category Rules API to check the requirements. |
category_version |string |N |v1 |The category tree version to assign this product to.
Possible values based on region:
- US:
v2, represents the 7-level category tree. Important: If the seller account contains an active US shop, you must passv2when using this API. - Other regions:
v1, represents the 3-level category tree. Default:v1| external_global_product_id |string |N |123456789 |An external identifier used in an external ecommerce platform. This is used to associate the global product between TikTok Shop and the external ecommerce platform. Max length: 999 characters |
§8 Request Sample
Query
https://open-api.tiktokglobalshop.com/product/202509/global_products/1729592969712207008/partial_edit?app_key=123abc&sign=5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8c×tamp=1625484268
Body
{"title":"Men's Fashion Sports Low Cut Cotton Breathable Ankle Short Boat Invisible Socks","description":" ","category_id":"600001","brand_id":"7082427311584347905","main_images":[{"uri":"tos-maliva-i-o3syd03w52-us/c668cdf70b7f483c94dbe"}],"skus":[{"id":"1782427311584347905","global_quantity":999,"seller_sku":"Color-Red-XM01","price":{"amount":"1.32","currency":"USD"},"sales_attributes":[{"id":"100089","name":"Specification","value_id":"1729592969712207000","value_name":"XL","sku_img":{"uri":"tos-maliva-i-o3syd03w52-us/c668cdf70b7f483c94dbe"}}],"inventory":[{"global_warehouse_id":"7068517275539719942","quantity":999}],"identifier_code":{"code":"10000000000000","type":"GTIN"},"sku_unit_count":"1","extra_identifier_codes":["12345678901234"],"external_global_sku_id":"1234567890","sale_prices":[{"region":"US","amount":"100"}]}],"package_weight":{"value":"1.99","unit":"KILOGRAM"},"certifications":[{"id":"7182427311584347905","images":[{"uri":"tos-maliva-i-o3syd03w52-us/c668cdf70b7f483c94dbe"}],"files":[{"id":"v09ea0g40000cj91373c77u3mid3g1s0","name":"SNI.PDF","format":"PDF"}]}],"package_dimensions":{"length":"10","width":"10","height":"10","unit":"CENTIMETER"},"product_attributes":[{"id":"100392","values":[{"id":"1001533","name":"Birthday"}]}],"size_chart":{"image":{"uri":"tos-maliva-i-o3syd03w52-us/c668cdf70b7f483c94dbe"},"template":{"id":"7267563252536723205"}},"video":{"id":"v09e40f40000cfu0ovhc77ub7fl97k4w"},"manufacturer":{"name":"Sample Manufacturer Name","address":"123W 106th St, New York, NY, USA, 10025","phone_number":"+1-2124108036\n","email":"samplemanufacturer101@outlook.com"},"manufacturer_ids":["67726293bf1eb1e92401a"],"responsible_person_ids":["67726293bf1eb1e92401a"],"category_version":"v1","external_global_product_id":"123456789"}
§9 Response Parameters
| Properties | Type | Sample | Properties description |
|---|---|---|---|
| code | int | 0 | The success or failure status code returned in API response. |
| message | string | Success | The success or failure messages returned in API response. Reasons of failure will be described in the message. |
| request_id | string | 202203070749000101890810281E8C70B7 | Request log |
| data | object | Specific return information | |
| ^global_skus | []object | A list of global Stock Keeping Units (SKUs) used to identify distinct variants of the product. | |
| ^^id | string | 1729592969712207012 | The global SKU ID generated by TikTok Shop. One product can contain multiple SKU IDs. |
| ^^seller_sku | string | Color-Red-XM01 | An internal code/name for managing SKUs, not visible to buyers. |
| ^^sales_attributes | []object | A list of attributes (e.g. size, color, length) that define each variant of a product. | |
| ^^^id | string | 100000 | The sales attribute ID. |
| If you included the custom sales attribute name in the request, this is a newly generated ID. | |||
| ^^^value_id | string | 1729592969712207123 | The sales attribute value ID. |
| If you included the custom sales attribute value name in the request, this is a newly generated ID. | |||
| ^^external_global_sku_id | string | 1234567890 | An external identifier used in an external ecommerce platform. This is used to associate the global SKU between TikTok Shop and the external ecommerce platform. |
| Max length: 999 characters | |||
| ^publish_results | []object | Results of syncing the changes in the edited product to markets where it is published. | |
| ^^region | string | MY | The market where the product is published |
| Possible values: |
- DE: Germany
- ES: Spain
- FR: France
- GB: United Kingdom
- ID: Indonesia
- IE: Ireland
- IT: Italy
- JP: Japan
- MX: Mexico
- MY: Malaysia
- PH: Philippines
- SG: Singapore
- TH: Thailand
- US: United States
- VN: Vietnam | ^^status |string |SUCCESS |The status of syncing the product to the market. Possible values:
- SUCCESS: The global product was successfully synchronized to the local shop, submitted for listing, and is now under review.
- FAILED: Synchronization of the global product to the local shop was unsuccessful. | ^^fail_reasons |[]object | |The list of errors that occurred. | ^^^message |string |The publish region is inactive. |The error message. |
§10 Response Sample
{"code":0,"data":{"global_skus":[{"id":"1729592969712207012","seller_sku":"Color-Red-XM01","sales_attributes":[{"id":"100000","value_id":"1729592969712207123"}],"external_global_sku_id":"1234567890"}],"publish_results":[{"region":"MY","status":"SUCCESS","fail_reasons":[{"message":"The publish region is inactive."}]}]},"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 |
|---|
