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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Identifies the shop. Obtain it from the Get Authorized Shops API.
Request Bodyrequired
Section titled “Request Bodyrequired”object
The product IDs to activate. Max number of IDs: 20
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.
Example
{ "product_ids": [ "1729592969712207008", "1729592969712207021" ], "listing_platforms": [ "TIKTOK_SHOP" ]}Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
The errors for individual products that could not be activated. Check this list even when the top-level code is 0.
object
The main error code.
The main error message.
The details of the main error.
object
The ID of the product that could not be activated.
A list of further nested errors or issues related to the main error.
object
The secondary error code.
The secondary error message.
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"}