Skip to content

Create Target Collaboration

POST
/affiliate_seller/202508/target_collaborations

This API is used to create a target collaboration. A target collaboration is a collaboration between a seller selected set of products (including a commission payout) and a set of creators the seller has added (invited) to the collaboration. Target collaborations are private and not visible in the Creator Marketplace to all creators; they are only visible to those that have been added to the 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
message

The message sent to creators associated with the target collaboration.

string
end_time
required

The date at which the target collaboration ends, in Unix epoch time.

string
products
required

A list of metadata and data for the products provided by the seller for target collaboration. Maximum length of the list is 100 products.

Array<object>
object
id
required

The product identifier.

string
target_commission_rate
required

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 a minimum of 100.

integer format: int64
shop_ads_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

Maximum length of the list is 50 user open identifiers. Creator Open ID. More details

Array<string>
seller_contact_info
required

Metadata and data associated with the seller contact information.

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
free_sample_rule
required

A set of properties that control the free sample behavior for the product.

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
preferred_content_type

Preferred creator content type, “LIVE” or “VIDEO”

string
Example
{
"name": "openapi_test",
"message": "this is a message",
"end_time": "1715654330",
"products": [
{
"id": "789078671231312312",
"target_commission_rate": 1000,
"shop_ads_commission_rate": 1000
}
],
"creator_user_open_ids": [
"uACafQAAAABmUU2qon4R0vUYvUVS3QC6CICP2m5A2-wd77j8R9G0yg"
],
"seller_contact_info": {
"email": "test@tiktokshop.com",
"phone_number": "1234567890",
"whatsapp": "1234567890",
"telegram": "1234567890",
"line": "1234567890"
},
"free_sample_rule": {
"has_free_sample": true,
"is_sample_approval_exempt": true
},
"preferred_content_type": "LIVE"
}

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

The target collaboration.

object
id

The target collaboration identifier.

string
target_collaboration_conflicts

A list of user and product identifiers with target collaboration conflicts that caused target collaboration failure.

Array<object>
object
creator_user_open_id

Creator Open ID. More details

string
product_id

The product identifier.

string
invalid_open_id_list

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

Array<string>
invalid_product_id_list

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

Array<string>
create_time

The create time of the target collaboration.

integer format: int64
Example
{
"code": 0,
"data": {
"target_collaboration": {
"id": "7365861555575916210"
},
"target_collaboration_conflicts": [
{
"creator_user_open_id": "uACafQAAAABmUU2qon4R0vUYvUVS3QC6CICP2m5A2-wd77j8R9G0yg",
"product_id": "789078671231"
}
],
"invalid_open_id_list": [
"xxxx"
],
"invalid_product_id_list": [
"1234"
],
"create_time": 1715654330
},
"message": "Success",
"request_id": "202203070749000101890810281E8C70B7"
}