Skip to main content
POST
Create affiliate link

Авторизації

Authorization
string
header
обов'язково

API token from the Zenedu dashboard

Параметри шляху

bot
integer
обов'язково

Bot ID

Тіло

application/json
type
enum<string>
обов'язково

Link type

Доступні опції:
bot,
offer,
funnel
name
string
обов'язково
Maximum string length: 255
description
string | null
display_name
boolean
offer_id
integer | null

Required when type is offer

product_id
integer | null

Required when type is funnel

Відповідь

Affiliate link created

data
object