Generate promotion links for multiple products in an online campaign. For OPS or seller-initiated campaigns, use the joined campaign ID created after the partner joins the campaign, not the original campaign ID.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The ID of the campaign
Query Parameters
Section titled “Query Parameters”The partner identifier used in API requests. Retrieve this value by using the Get Authorized Category Assets API.
Request Body
Section titled “Request Body”object
The list of product IDs. The max length is 50.
Examplegenerated
{ "product_ids": [ "example" ]}Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
The list of products for which the promotion links are generated successfully.
object
The ID of the product to promote.
This is the product promotion link that agencies can share with collaborated creators. Creators can copy/paste this link into the web browser. Creators will be re-directed to the add-product-link page in the Tikotk app. Creators can decide whether to add products to their showcases in the pop-up window.
The list of products for which the promotion links failed to be generated.
Examplegenerated
{ "code": 1, "message": "example", "request_id": "example", "data": { "product_promotion_links": [ { "product_id": "example", "link": "example" } ], "failed_product_ids": [ "example" ] }}