Create link-v2
POST
https://api.accesstrade.vn/v2/tiktokshop_product_feeds/create_link
Create TikTokShop Product Feed Link
This endpoint allows the creation of a TikTokShop product feed link.
Request Body
product_url (string): The URL of the product.
product_id (string)- optional: The ID of the product.
utm_source (string) - optional: tracking param
publisher put in
utm_medium (string) - optional: tracking param
publisher put in
utm_campaign (string) - optional: tracking param
publisher put in
utm_content (string) - optional: tracking param
publisher put in
sub_1 (string) - optional: tracking param publisher put in
sub_2 (string) - optional: tracking param publisher put in
sub_3 (string) - optional: tracking param publisher put in
sub_4 (string) - optional: tracking param publisher put in
[Example] create link
Response
Status: 200
Content-Type: application/json
Example Response
Successful Response
data(object):aff_short_url(string): Shortened affiliate link.aff_url(string): Full affiliate link.
status(boolean): Indicates the status of the request.
Unsuccessful Response
data(object):aff_short_url(string): Shortened affiliate link.aff_url(string): Full affiliate link.
status(boolean): Indicates the status of the request.
[Example] Link sản phẩm không có trong chương trình aff
curl
Example Response
Tên Header
Giá trị
accept
application/json, text/plain, /
accept-language
en-US,en;q=0.6
authorization
Token bg1F-zURtCYDWH8KB79fLS5abjlyOg0G
content-type
application/json
priority
u=1, i
referer
sec-ch-ua
"Chromium";v="136", "Brave";v="136", "Not.A/Brand";v="99"
sec-ch-ua-mobile
?0
sec-ch-ua-platform
"macOS"
sec-fetch-dest
empty
sec-fetch-mode
cors
sec-fetch-site
same-site
sec-gpc
1
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Body raw (json)
Last updated
Was this helpful?