English
TikTok Shop Showcase Anchors
The Product Anchors feature allows you to attach shopping cart links directly to published TikTok videos. When viewers watch your video, an interactive product tag button appears in the bottom-left corner leading directly to your TikTok Shop product detail page.
1. Retrieve Showcase Products (POST /api/tiktok/showcase/products)
Before anchoring items, query your linked TikTok Shop showcase catalog to obtain active product IDs:
- Endpoint:
POST /api/tiktok/showcase/products - Credit Cost: 1 Credit per request.
Payload Parameters:
json
{
"count": 10,
"offset": 0,
"targetChannel": "US Fashion Channel"
}count(Number, Optional, Default: 10, Max: 50): Number of items per page.offset(Number, Optional, Default: 0): Pagination offset.targetChannel(String, Optional): Name or handle of the connected channel. If omitted, the request defaults to your workspace's Default Channel.
bash
curl -X POST https://api.stackvid.dev/api/tiktok/showcase/products \
-H "X-API-Key: tk_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"count": 10,
"offset": 0,
"targetChannel": "US Fashion Channel"
}'typescript
import axios from 'axios';
const res = await axios.post(
'https://api.stackvid.dev/api/tiktok/showcase/products',
{
count: 10,
offset: 0,
targetChannel: 'US Fashion Channel',
},
{
headers: { 'X-API-Key': 'tk_live_YOUR_API_KEY' },
}
);
console.log('Showcase catalog:', res.data.products);Sample Response:
json
{
"success": true,
"message": "Get Products In Showcase successfully",
"total": 45,
"products": [
{
"product_id": "1729482910392817",
"title": "Korean Silk Oversized Blouse",
"cover": "https://p16-oec-va.ibyteimg.com/tos-maliva-i-oec22/1729482910392817.jpeg",
"price": "$29.99"
}
]
}2. Attaching Product Anchors When Publishing
When calling POST /api/tiktok/upload, include the anchors array:
json
{
"videoUrl": "https://cdn.yourdomain.com/videos/summer-outfit.mp4",
"text": "Stunning new silk blouse now available! Tap the link below! #tiktokshop",
"targetChannel": "US Fashion Channel",
"anchors": [
{
"productId": "1729482910392817",
"displayName": "Silk Blouse"
}
]
}productId(Required): TikTok Shop product ID obtained from Step 1.displayName(Optional): Label displayed on the video anchor pill (max 30 characters). Defaults to original product title if omitted.
Strict Commercial Music Requirement
TikTok policies strictly enforce Commercial Music usage on shoppable posts:
- If a post includes product anchors, you must attach a commercial sound (
isCommerceMusic: true). - Using standard consumer audio on shoppable videos causes TikTok to automatically mute the audio.
- Always pass
"onlyCommerce": truewhen queryingPOST /api/tiktok/music/searchfor e-commerce posts.