Перейти до основного вмісту
PATCH
Update source link

Авторизації

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

API token from the Zenedu dashboard

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

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

Bot ID

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

Offer ID

Source link ID

Тіло

application/json
name
string
обов'язково

Link name

Maximum string length: 255
code
string | null

New code of the link, returned in orders and webhooks as source_link.code. Latin letters, digits, - and _, up to 32 characters. Must be free among the codes of source links and the public link slugs (bot_slug, landing_slug) of offers, funnels and funnel links. Omit or pass null to keep the current code. The main link has no code

Maximum string length: 32
Pattern: ^[A-Za-z0-9_-]+$
utm_source
string | null

Traffic source, e.g. instagram. Lowercased, characters other than a-z, 0-9, - and _ are replaced with -

Maximum string length: 200
utm_medium
string | null

Traffic type, e.g. stories, ads, email. Lowercased, characters other than a-z, 0-9, - and _ are replaced with -

Maximum string length: 200
utm_campaign
string | null

Campaign name. Lowercased, characters other than a-z, 0-9, - and _ are replaced with -

Maximum string length: 200
utm_term
string | null

Ad keywords. Lowercased, characters other than a-z, 0-9, - and _ are replaced with -

Maximum string length: 200
utm_content
string | null

Distinguishes ads within a campaign. Lowercased, characters other than a-z, 0-9, - and _ are replaced with -

Maximum string length: 200

Відповідь

Source link updated

data
object