Skip to content

Update Target Collaboration

PUT
/affiliate_seller/202508/target_collaborations/{target_collaboration_id}

This API is used by sellers to update a STANDARD target collaboration. A successful response can still report creators or products that were not updated. Check data.update_failed and data.target_collaboration_conflicts before treating the update as complete.

target_collaboration_id
required
string

The unique id of specific target collaboration.

shop_cipher
required
string

Identifies the shop. Obtain it from the Get Authorized Shops API.

Media typeapplication/json
object
name
required

The name of the target collaboration.

string
end_time
required

The end time of the target collaboration, as a Unix timestamp in seconds.

string
products
required

The information about the products provided by the seller for target collaboration with creators in the target collaboration. The maximum number of products is 100. When a product is deleted from the product list, if the deleted product has been added to the showcase by the creator, it will take effect at 0:00 the next day, otherwise it will take effect immediately.

Array<object>
object
id
required

The product identifier.

string
commission_rate
required

The desired commission rate for the target collaboration. The value is measured in ten thousandths. For example, 3587 means the commission fee equals 35.87% of the original price. The range is [100, 8000]. Increasing product commissions will take effect immediately, while reducing product commissions will take effect at 00:00 the next day if the current product has been added to the showcase by a creator, otherwise it will take effect immediately.

integer format: int64
target_ad_commission_rate

The commission rate applies only to orders generated from ads. If a creator’s video is used as an ad without this rate being set, the resulting orders will instead earn either:

  • The Shop Ads commission you configured in open collaboration, or
  • The standard commission defined in this invitation. The commission rate is specified in increments of 1/10,000. For example, 1000 stands for 0.1 or 10%.
integer format: int64
creator_user_open_ids
required

The list of Creators’ TikTok User Open IDs invited in the target collaboration. The maximum number of creators is 50. More details

Array<string>
seller_contact_info
required

Contact information for the seller in the target collaboration.

object
email
required

Seller’s email contact information

string
phone_number

The phone number of the seller.

string
whatsapp

The phone number used by the seller to register for WhatsApp.

string
telegram

The seller’s Telegram username or phone number.

string
line

The phone number used by the seller to register for the Line app

string
free_sample_rule
required

The free sample rules set by the seller in the target collaboration.

object
has_free_sample
required

If set to true, free samples are provided to creators invited to the target collaboration group. If set to false, free samples are not provided.

boolean
is_sample_approval_exempt
required

If set to true, creators invited to the target collaboration are exempt from seller review and are automatically approved for a free product sample. Note that the has_free_sample property overrides the free sample behavior.

boolean
Example
{
"name": "openapi_test",
"end_time": "1715654330",
"products": [
{
"id": "789078671231312312",
"commission_rate": 1000,
"target_ad_commission_rate": 1000
}
],
"creator_user_open_ids": [
"123123213213"
],
"seller_contact_info": {
"email": "test@bytedance.com",
"phone_number": "1234567890",
"whatsapp": "1234567890",
"telegram": "1234567890",
"line": "1234567890"
},
"free_sample_rule": {
"has_free_sample": true,
"is_sample_approval_exempt": true
}
}

Success

Media typeapplication/json
object
code

Status code; 0 means success.

integer format: int64
message

Success or failure message.

string
request_id

Request log ID.

string
data
object
target_collaboration_conflicts

A list of creators and products with target collaboration conflicts that caused target collaboration update failure.

Array<object>
object
creator_user_open_id

Creator Open ID. More details

string
product_id

The product identifier.

string
update_failed

Describe which fields were not updated successfully.

object
remove_creator_open_ids

The list of creators’ TikTok User Open IDs that have not been successfully removed. More details:https://partner.tiktokshop.com/docv2/page/3obfokj6

Array<string>
remove_product_ids

The list of product ids that have not been successfully removed.

Array<string>
add_creator_open_ids

The list of creators’ TikTok User Open IDs that have not been successfully added. More details:https://partner.tiktokshop.com/docv2/page/3obfokj6

Array<string>
add_products

The list of products that have not been successfully added.

object
id

The product identifier.

string
commission_rate

The desired commission rate for the target collaboration. The desired commission rate is expressed in hundredths of a percent. For example, 3587 is a commission rate of 35.87%. This value must be a minimum of 1000.

integer format: int64
change_commissions

The list of commission information that has not been successfully changed.

object
product_id

The product identifier.

string
commission_rate

The desired commission rate for the target collaboration. The desired commission rate is expressed in hundredths of a percent. For example, 3587 is a commission rate of 35.87%. This value must be a minimum of 1000.

integer format: int64
end_time

The end time of the target collaboration, which has not been successfully updated.

integer format: int64
seller_contact_info

Contact information for the seller in the target collaboration which has not been successfully updated.

object
email

The seller’s email address.

string
phone_number

The phone number of the seller.

string
whatsapp

The phone number used by the seller to register for WhatsApp.

string
telegram

The seller’s Telegram username or phone number.

string
line

The phone number used by the seller to register for the Line app.

string
name

The name of the target collaboration.

string
invalid_product_id_list

The list of product id that caused the update to fail.

Array<string>
invalid_open_id_list

The list of open id that caused the update to fail.

Array<string>
Example
{
"code": 0,
"data": {
"target_collaboration_conflicts": [
{
"creator_user_open_id": "7494656937121841111",
"product_id": "789078671231"
}
],
"update_failed": {
"remove_creator_open_ids": [
"12345"
],
"remove_product_ids": [
"12345"
],
"add_creator_open_ids": [
"12345"
],
"add_products": {
"id": "789078671231312312",
"commission_rate": 1000
},
"change_commissions": {
"product_id": "789078671231312312",
"commission_rate": 1000
},
"end_time": 1715654330,
"seller_contact_info": {
"email": "test@bytedance.com",
"phone_number": "(+62) 1234567890\n",
"whatsapp": "(+62) 1234567890\n",
"telegram": "(+62) 1234567890\n",
"line": "(+62) 1234567890\n"
},
"name": "openapi_test",
"invalid_product_id_list": [
"1234"
],
"invalid_open_id_list": [
"xxxxxx"
]
}
},
"message": "Success",
"request_id": "202203070749000101890810281E8C70B7"
}