Create link-v1

POST

https://api.accesstrade.vn/v1/tiktokshop_product_feeds/create_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): 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

Response

  • Status: 200

  • Content-Type: application/json

Successful Response

json

  • 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

json

  • data (object):

    • aff_short_url (string): Shortened affiliate link.

    • aff_url (string): Full affiliate link.

  • status (boolean): Indicates the status of the request.

Tên Header

Giá trị

accept

application/json, text/plain, /

accept-language

en-US,en;q=0.6

authorization

Token xxx(Token lấy tại: https://pub2.accesstrade.vn/profile/api_key)

content-type

application/json

priority

u=1, i

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)

Example Response

json

Last updated

Was this helpful?