Skip to content

Activate Products

POST
/product/202309/products/activate

Activate hidden products that are in the Seller_deactivated or Platform_deactivated status and display them in the TikTok Shop catalog. After submitting the activation request, the products will be sent to TikTok Shop for auditing and their status will change to Pending. If a product passes the audit, its status will change back to Activate. You can use the Product status change webhook to monitor the audit status.

shop_cipher
required
string

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

Media typeapplication/json
object
product_ids
required

The product IDs to activate. Max number of IDs: 20

Array<string>
listing_platforms

The listing platforms where the product will be activated. Possible values:

  • TOKOPEDIA
  • TIKTOK_SHOP Default: TIKTOK_SHOP

Applicable only for sellers that migrated from Tokopedia.

Array<string>
Allowed values: TOKOPEDIA TIKTOK_SHOP
Example
{
"product_ids": [
"1729592969712207008",
"1729592969712207021"
],
"listing_platforms": [
"TIKTOK_SHOP"
]
}

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
errors

The errors for individual products that could not be activated. Check this list even when the top-level code is 0.

Array<object>
object
code

The main error code.

integer format: int64
message

The main error message.

string
detail

The details of the main error.

object
product_id

The ID of the product that could not be activated.

string
extra_errors

A list of further nested errors or issues related to the main error.

Array<object>
object
code

The secondary error code.

integer format: int64
message

The secondary error message.

string
Example
{
"code": 0,
"data": {
"errors": [
{
"code": 12052990,
"message": "Batch activate business error.",
"detail": {
"product_id": "1729382588639839583",
"extra_errors": [
{
"code": 12052048,
"message": "You can't edit other sellers' products"
}
]
}
}
]
},
"message": "Success",
"request_id": "202203070749000101890810281E8C70B7"
}